コード例 #1
0
        private void ShowDialogForm()
        {
            frmJadwalExpedisiLookup ifrmDialog = new frmJadwalExpedisiLookup(this.TglRQ, this.KdGdg);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
コード例 #2
0
        private void GetDialogResult(frmJadwalExpedisiLookup dialogForm)
        {
            _DateAwal  = dialogForm.tglAwal;
            _DateAkhir = dialogForm.tglAkhir;
            _rowID     = dialogForm.guidRowID;

            txtLookupName.Text = dialogForm.txtPeriode;
            TxtFromTo.Text     = dialogForm.stringDate;
            labelRowID.Text    = dialogForm.guidRowID.ToString();

            if (this.SelectData != null)
            {
                this.SelectData(this, new EventArgs());
            }
        }