Beispiel #1
0
 private void ShowNewCategoryDialog()
 {
     NewCategoryForm form = new NewCategoryForm();
     form.FormClosed += form_FormClosed;
     form.Show();
 }
Beispiel #2
0
 private void ShowEditCategoryDialog()
 {
     NewCategoryForm form = new NewCategoryForm(int.Parse(lstCategory.SelectedValue.ToString()));
     form.FormClosed += form_FormClosed;
     form.Show();
 }