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

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

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
Beispiel #3
0
 private void GetDialogResult(frmNotaJualLookUp dialogForm)
 {
     _rowID             = dialogForm.rowID;
     txtLookupName.Text = dialogForm.noNota;
     _notaRecID         = dialogForm.notaRecID;
     _noDO      = dialogForm.noDO;
     _namaSales = dialogForm.namaSales;
     if (this.SelectData != null)
     {
         this.SelectData(this, new EventArgs());
     }
 }