示例#1
0
        private void ShowDialogForm(string searchArg, DataTable dt)
        {
            frmGudangLookup ifrmDialog = new frmGudangLookup(searchArg, dt);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
示例#2
0
        private void ShowDialogForm()
        {
            frmGudangLookup ifrmDialog = new frmGudangLookup();

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
示例#3
0
 private void GetDialogResult(frmGudangLookup dialogForm)
 {
     txtLookupName.Text = dialogForm.namaGudang;
     txtLookupCode.Text = dialogForm.gudangId;
     _kodeCabang        = dialogForm.kodeCabang;
     _initPerusahaan    = dialogForm.initPerusahaan;
     if (this.SelectData != null)
     {
         this.SelectData(this, new EventArgs());
     }
 }