示例#1
0
 private void GetDialogResult(frmPostAreaLookUp dialogForm)
 {
     _postName          = dialogForm.postName;
     txtLookupName.Text = dialogForm.postID;
     lblInfo.Text       = "=> " + _postName;
     if (this.SelectData != null)
     {
         this.SelectData(this, new EventArgs());
     }
 }
示例#2
0
        private void ShowDialogForm(DataTable dt)
        {
            frmPostAreaLookUp ifrmDialog = new frmPostAreaLookUp(dt);

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