private void menuItemProviders_Click(object sender, System.EventArgs e) { if(!Security.IsAuthorized(Permissions.Providers)) {//formerly used Setup permission return; } FormProviderSelect FormPS=new FormProviderSelect(); FormPS.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Providers"); }
private void providersToolStripMenuItem_Click(object sender,EventArgs e) { FormProviderSelect FormPS = new FormProviderSelect(); FormPS.ShowDialog(); RefreshProvComboBoxes(); FillControls(CurPatNum,AnestheticRecords.GetRecordNumByDate(listAnesthetics.SelectedItem.ToString())); }