/// <summary> /// the constractur of the MainWindow /// </summary> public MainWindow() { InitializeComponent(); cwindow = null; lwindow = null; swindow = null; iwindow = null; vm = new MainViewModel(); DataContext = vm; }
/// <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(); } }