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