Пример #1
0
        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();
        }
Пример #2
0
 ///<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();
 }
Пример #3
0
        ///<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();
        }
Пример #4
0
 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();
 }