private void butEditTypes_Click(object sender, System.EventArgs e) { FormDefinitions FormD = new FormDefinitions(DefCat.BlockoutTypes); FormD.ShowDialog(); FillGrid(); }
private void butEditFeeSched_Click(object sender, System.EventArgs e) { //won't even be visible if no permission int selectedSched = 0; if (listFeeSched.SelectedIndex != -1) { selectedSched = DefB.Short[(int)DefCat.FeeSchedNames][listFeeSched.SelectedIndex].DefNum; } FormDefinitions FormD = new FormDefinitions(DefCat.FeeSchedNames); FormD.ShowDialog(); DataValid.SetInvalid(InvalidTypes.Defs | InvalidTypes.Fees); Fees.Refresh(); ProcedureCodes.Refresh(); changed = true; FillFeeSchedules(); for (int i = 0; i < DefB.Short[(int)DefCat.FeeSchedNames].Length; i++) { if (DefB.Short[(int)DefCat.FeeSchedNames][i].DefNum == selectedSched) { listFeeSched.SelectedIndex = i; } } FillGrid(); SecurityLogs.MakeLogEntry(Permissions.Setup, 0, "Definitions"); //FillGrid();//will be done automatically because of lines above }
private void butEditCategories_Click(object sender, EventArgs e) { //won't even be visible if no permission ArrayList selected = new ArrayList(); for (int i = 0; i < listCategories.SelectedIndices.Count; i++) { selected.Add(CatList[listCategories.SelectedIndices[i]].DefNum); } FormDefinitions FormD = new FormDefinitions(DefCat.ProcCodeCats); FormD.ShowDialog(); DataValid.SetInvalid(InvalidTypes.Defs); changed = true; FillCats(); for (int i = 0; i < CatList.Length; i++) { if (selected.Contains(CatList[i].DefNum)) { listCategories.SetSelected(i, true); } } //we need to move security log to within the definition window for more complete tracking SecurityLogs.MakeLogEntry(Permissions.Setup, 0, "Definitions"); FillGrid(); }
private void menuItemCategories_Click(object sender,EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions FormD=new FormDefinitions(DefCat.SupplyCats); FormD.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Definitions."); }
private void butEdit_Click(object sender, EventArgs e) { FormDefinitions FormD = new FormDefinitions(DefCat.ProcButtonCats); FormD.ShowDialog(); FillCategories(); FillButtons(); }
private void butEditCats_Click(object sender, System.EventArgs e) { if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions FormD = new FormDefinitions(DefCat.LetterMergeCats); FormD.ShowDialog(); FillCats(); }
private void menuItemCategories_Click(object sender, EventArgs e) { if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions FormD = new FormDefinitions(DefCat.SupplyCats); FormD.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup, 0, "Definitions."); }
private void butEdit_Click(object sender, EventArgs e) { if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions FormD = new FormDefinitions(DefCat.ProcButtonCats); FormD.ShowDialog(); FillCategories(); FillButtons(); }
private void menuItemImageCats_Click(object sender, EventArgs e) { if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions formD = new FormDefinitions(DefCat.ImageCats); formD.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup, 0, "Defs"); FillGrid(); }
private void gridWSNPAReasons_DoubleClick(object sender, EventArgs e) { if (!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions FormD = new FormDefinitions(DefCat.WebSchedNewPatApptTypes); FormD.ShowDialog(); FillGridWSNPAReasons(); FillGridWebSchedNewPatApptTimeSlotsThreaded(); }
private void menuItemDefinitions_Click(object sender, System.EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)){ return; } FormDefinitions FormD=new FormDefinitions(DefCat.AccountColors);//just the first cat. FormD.ShowDialog(); RefreshCurrentModule(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Definitions"); }
private void butEditCats_Click(object sender, System.EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)){ return; } FormDefinitions FormD=new FormDefinitions(DefCat.LetterMergeCats); FormD.ShowDialog(); FillCats(); }
private void butEditCategories_Click(object sender,EventArgs e) { //won't even be visible if no permission ArrayList selected=new ArrayList(); for(int i=0;i<listCategories.SelectedIndices.Count;i++) { selected.Add(CatList[listCategories.SelectedIndices[i]].DefNum); } FormDefinitions FormD=new FormDefinitions(DefCat.ProcCodeCats); FormD.ShowDialog(); DataValid.SetInvalid(InvalidType.Defs); changed=true; FillCats(); for(int i=0;i<CatList.Length;i++) { if(selected.Contains(CatList[i].DefNum)) { listCategories.SetSelected(i,true); } } //we need to move security log to within the definition window for more complete tracking SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Definitions"); FillGrid(); }
private void OnBlockTypes_Click() { if(!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions FormD=new FormDefinitions(DefCat.BlockoutTypes); FormD.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Definitions."); RefreshPeriod(); }
private void butEdit_Click(object sender,EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions FormD=new FormDefinitions(DefCat.ProcButtonCats); FormD.ShowDialog(); FillCategories(); FillButtons(); }
private void menuItemImageCats_Click(object sender,EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)) { return; } FormDefinitions formD=new FormDefinitions(DefCat.ImageCats); formD.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Defs"); FillGrid(); }