コード例 #1
0
 /// <summary>
 /// the constractur of the  MainWindow
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     cwindow     = null;
     lwindow     = null;
     swindow     = null;
     iwindow     = null;
     vm          = new MainViewModel();
     DataContext = vm;
 }
コード例 #2
0
 /// <summary>
 ///load dll algo
 /// </summary>
 private void Load_Click(object sender, RoutedEventArgs e)
 {
     if (lwindow == null || !lwindow.IsVisible)
     {
         lwindow = new LoadDLLWindow();
         lwindow.Show();
     }
     else
     {
         lwindow.Focus();
     }
 }