예제 #1
0
 public static bool SelectLibrary()
 {
     librarySelection = new LibrarySelection();
     librarySelection.ShowDialog();
     librarySelection.Dispose();
     librarySelection = null;
     return(GraphicsLibraryName != null);
 }
 public static bool SelectLibrary()
 {
     using (var librarySelection = new LibrarySelection())
     {
         librarySelection.ShowDialog();
     }
     return(GraphicsLibraryName != null);
 }
예제 #3
0
 public static bool SelectLibrary()
 {
     librarySelection = new LibrarySelection();
     librarySelection.ShowDialog();
     librarySelection.Dispose();
     librarySelection = null;
     return GraphicsLibraryName != null;
 }