private void gridDun_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e)
        {
            FormDunningEdit formD = new FormDunningEdit(dunningList[e.Row]);

            formD.ShowDialog();
            FillDunning();
        }
Exemple #2
0
        private void gridDunning_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormDunningEdit formD = new FormDunningEdit((Dunning)gridDunning.ListGridRows[e.Row].Tag);

            if (formD.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            FillGrids(true);
        }
        private void butAdd_Click(object sender, System.EventArgs e)
        {
            Dunning         dun   = new Dunning();
            FormDunningEdit FormD = new FormDunningEdit(dun);

            FormD.IsNew = true;
            FormD.ShowDialog();
            if (FormD.DialogResult == DialogResult.Cancel)
            {
                return;
            }
            FillDunning();
        }
Exemple #4
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            Dunning dun       = new Dunning();
            long    clinicNum = GetSelectedClinicNum();

            if (clinicNum != -1)           //If 'All' is selected, then ClinicNums=0
            {
                dun.ClinicNum = clinicNum;
            }
            FormDunningEdit FormD = new FormDunningEdit(dun);

            FormD.IsNew = true;
            if (FormD.ShowDialog() == DialogResult.OK)
            {
                FillGrids(true);
            }
        }
Exemple #5
0
		private void butAdd_Click(object sender, System.EventArgs e) {
			Dunning dun=new Dunning();
			FormDunningEdit FormD=new FormDunningEdit(dun);
			FormD.IsNew=true;
			FormD.ShowDialog();
			if(FormD.DialogResult==DialogResult.Cancel){
				return;
			}
			FillDunning();
		}
Exemple #6
0
		private void gridDun_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e) {
			FormDunningEdit formD=new FormDunningEdit(dunningList[e.Row]);
			formD.ShowDialog();
			FillDunning();
		}