private void Works_Click(object sender, RoutedEventArgs e) { if (!workForm.IsLoaded) { workForm = new WorkForm(); workForm.Show(); } }
public MainWindow() { InitializeComponent(); workForm = new WorkForm(); implementerForm = new ImplementerForm(); }