Beispiel #1
0
        private void Cat_Button_Click(object sender, RoutedEventArgs e)
        {
            var dialog = new NewCategoryWindow
            {
                Owner = this //Make this window the owner of the popup, so that it will show in the center.
            };

            dialog.Show();
        }
Beispiel #2
0
 public AddCategoryTestCommand(TestListPresenter presenter, NewCategoryWindow newCategoryWindow)
 {
     this.presenter = presenter;
     window         = newCategoryWindow;
 }