コード例 #1
0
 private void ShowDialogForm()
 {
     Controls.frmStockLookUp ifrmDialog = new Controls.frmStockLookUp();
     ifrmDialog.ShowDialog();
     if (ifrmDialog.DialogResult == DialogResult.OK)
     {
         GetDialogResult(ifrmDialog);
     }
 }
コード例 #2
0
 private void ShowDialogForm(string searchArg, DataTable dt)
 {
     Controls.frmStockLookUp ifrmDialog = new Controls.frmStockLookUp(searchArg, dt);
     ifrmDialog.ShowDialog();
     if (ifrmDialog.DialogResult == DialogResult.OK)
     {
         GetDialogResult(ifrmDialog);
     }
 }
コード例 #3
0
 private void GetDialogResult(Controls.frmStockLookUp dialogForm)
 {
     txtStok.Text = dialogForm.NamaStock;
     _barangID    = dialogForm.BarangId;
 }