Пример #1
0
 private void GetDialogResult(frmDOLookUp dialogForm)
 {
     _rowID             = dialogForm.rowID;
     txtLookupName.Text = dialogForm.noDO;
     if (this.SelectData != null)
     {
         this.SelectData(this, new EventArgs());
     }
 }
Пример #2
0
        private void ShowDialogForm(string searchArg, DataTable dt)
        {
            frmDOLookUp ifrmDialog = new frmDOLookUp(searchArg, dt);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
Пример #3
0
        private void ShowDialogForm()
        {
            frmDOLookUp ifrmDialog = new frmDOLookUp();

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }