コード例 #1
0
 public static bool SelectLibrary()
 {
     librarySelection = new LibrarySelection();
     librarySelection.ShowDialog();
     librarySelection.Dispose();
     librarySelection = null;
     return(GraphicsLibraryName != null);
 }
コード例 #2
0
 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;
 }