Example #1
0
        private void gridMain_CellDoubleClick(object sender, UI.ODGridClickEventArgs e)
        {
            FormEhrProvKeyEditCust formK = new FormEhrProvKeyEditCust();

            formK.KeyCur = listKeys[e.Row];
            formK.ShowDialog();
            FillGrid();
        }
        private void butAdd_Click(object sender, EventArgs e)
        {
            FormEhrProvKeyEditCust formK = new FormEhrProvKeyEditCust();

            formK.KeyCur               = new EhrProvKey();
            formK.KeyCur.PatNum        = Guarantor;
            formK.KeyCur.FullTimeEquiv = 1;
            formK.KeyCur.IsNew         = true;
            formK.ShowDialog();
            SecurityLogs.MakeLogEntry(Permissions.EhrKeyAdd, Guarantor, "Added provider key.");
            FillGrid();
        }
Example #3
0
		private void butAdd_Click(object sender,EventArgs e) {
			if(!Security.IsAuthorized(Permissions.EhrKeyAdd)){
				return;
			}
			FormEhrProvKeyEditCust formK=new FormEhrProvKeyEditCust();
			formK.KeyCur=new EhrProvKey();
			formK.KeyCur.PatNum=Guarantor;
			formK.KeyCur.FullTimeEquiv=1;
			formK.KeyCur.IsNew=true;
			formK.ShowDialog();
			SecurityLogs.MakeLogEntry(Permissions.EhrKeyAdd,Guarantor,"Added provider key.");
			FillGrid();
		}
Example #4
0
		private void gridMain_CellDoubleClick(object sender,UI.ODGridClickEventArgs e) {
			FormEhrProvKeyEditCust formK=new FormEhrProvKeyEditCust();
			formK.KeyCur=listKeys[e.Row];
			formK.ShowDialog();
			FillGrid();
		}