public static void ShowGallery() { GalleryWindow gw = new GalleryWindow(); Application.ShowModalWindow(gw); }
private void TextBlock_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { GalleryWindow gw = new GalleryWindow(); Autodesk.AutoCAD.ApplicationServices.Application.ShowModalWindow(gw); }