private void grid_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e) { FormReconcileEdit FormR = new FormReconcileEdit(RList[e.Row]); FormR.ShowDialog(); if (FormR.DialogResult == DialogResult.Cancel) { return; } FillGrid(); }
///<summary></summary> private void butAdd_Click(object sender, System.EventArgs e) { Reconcile rec=new Reconcile(); rec.DateReconcile=DateTime.Today; rec.AccountNum=AccountNum; Reconciles.Insert(rec); FormReconcileEdit FormR=new FormReconcileEdit(rec); FormR.IsNew=true; FormR.ShowDialog(); if(FormR.DialogResult!=DialogResult.OK){ return; } FillGrid(); }
///<summary></summary> private void butAdd_Click(object sender, System.EventArgs e) { Reconcile rec = new Reconcile(); rec.DateReconcile = DateTimeOD.Today; rec.AccountNum = AccountNum; Reconciles.Insert(rec); FormReconcileEdit FormR = new FormReconcileEdit(rec); FormR.IsNew = true; FormR.ShowDialog(); if (FormR.DialogResult != DialogResult.OK) { return; } FillGrid(); }
private void grid_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e) { FormReconcileEdit FormR=new FormReconcileEdit(RList[e.Row]); FormR.ShowDialog(); if(FormR.DialogResult==DialogResult.Cancel){ return; } FillGrid(); }