private void butSelect_Click(object sender, EventArgs e) { FormApptTypes FormAT = new FormApptTypes(); FormAT.IsSelectionMode = true; FormAT.SelectedAptType = _apptTypeCur; if (FormAT.ShowDialog() != DialogResult.OK) { return; } _apptTypeCur = FormAT.SelectedAptType; FillTextValue(); }
private void menuItemApptTypes_Click(object sender,EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)) { return; } FormApptTypes FormA=new FormApptTypes(); FormA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Appointment Types"); }