protected void EditBy(Category customer) { EditorFormTitle = "EDIT"; Category = customer; CategoryEditorForm.Show(); }
protected void btnCreate_Click() { EditorFormTitle = "ADD"; Category = new Category(); CategoryEditorForm.Show(); }