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