private void gridDun_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e) { FormDunningEdit formD = new FormDunningEdit(dunningList[e.Row]); formD.ShowDialog(); FillDunning(); }
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(); }
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); } }
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(); }
private void gridDun_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e) { FormDunningEdit formD=new FormDunningEdit(dunningList[e.Row]); formD.ShowDialog(); FillDunning(); }