예제 #1
0
        private void ShowDialogForm(string searchArg, DataTable dt)
        {
            frmBankLookup ifrmDialog = new frmBankLookup(searchArg, dt);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
예제 #2
0
        private void ShowDialogForm()
        {
            frmBankLookup ifrmDialog = new frmBankLookup();

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
예제 #3
0
        private void GetDialogResult(frmBankLookup dialogForm)
        {
            txtLookup.Text = dialogForm.NamaBank;
            lblLookup.Text = dialogForm.BankID;
            _rowID         = dialogForm.RowID;

            if (this.SelectData != null)
            {
                this.SelectData(this, new EventArgs());
            }
        }