private void editAdminExecute() { try { AllAdmins allAdmin = new AllAdmins(); masterWindow.Close(); allAdmin.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
public Admin() { Id = GenerateId.GenerateAdminId(this); AllAdmins.Add(this); }