Message 1 of 4
Adding events to Buttons in Ribbon Panel
Not applicable
10-04-2012
02:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello , I am have created Push Button in Ribbon Panel. When this button is clicked it should display data to user which is stored in MS ACCESS / SQL Express. Can anyone please tell me, how will it be ?
pushButton = splitButton.AddPushButton(new PushButtonData(" Datapush", " Data", AddInPath, "Revit.SDK.Samples.Ribbon.CS.Command"));
pushButton.LargeImage = new BitmapImage(new Uri(Path.Combine(ButtonIconsFolder, "image.png"), UriKind.Absolute));
pushButton.Image = new BitmapImage(new Uri(Path.Combine(ButtonIconsFolder, "image.png"), UriKind.Absolute));