Beispiel #1
0
        private void ShowDialogForm(string searchArg, DataTable dt)
        {
            frmGudangPTLookup ifrmDialog = new frmGudangPTLookup(searchArg, dt);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
Beispiel #2
0
 private void GetDialogResult(frmGudangPTLookup dialogForm)
 {
     txtLookupName.Text = dialogForm.namaGudang;
     txtLookupCode.Text = dialogForm.gudangId;
     _kodeCabang        = dialogForm.kodeCabang;
     if (this.SelectData != null)
     {
         this.SelectData(this, new EventArgs());
     }
 }
Beispiel #3
0
        private void ShowDialogForm()
        {
            frmGudangPTLookup ifrmDialog = new frmGudangPTLookup();

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