Exemple #1
0
 private void btOperEdit_Click(object sender, EventArgs e)
 {
     _fmOperationViewer = new fmOperationViewer(_countPerProduct, this);
     _fmOperationViewer.Show();
 }
Exemple #2
0
 private void btAddOperation_Click(object sender, EventArgs e)
 {
     _fmOperationViewer = new fmOperationViewer(this);
     _fmOperationViewer.Show();
 }
Exemple #3
0
 private void btAddOperation_Click(object sender, EventArgs e)
 {
     _fmOperationViewer = new fmOperationViewer(this);
     _fmOperationViewer.Show();
 }
        public void ClearForm()
        {
            _parentForm.TempdtOperApply = _dtOperApply;
            _parentForm.TempDepRegion = vtbDepRegion.ValueTxt;

            _parentForm.TempDocNum = (cbDocNum.SelectedItem != null) ? cbDocNum.SelectedItem.ToString() : cbDocNum.Text;

            this.Close();
            fmOperationViewer newOpertion = new fmOperationViewer(_parentForm);
            newOpertion._dtOperApply = _parentForm.TempdtOperApply;
            newOpertion.dgOperApply.DataSource = _dtOperApply;
            newOpertion.vtbDepRegion.ValueTxt = _parentForm.TempDepRegion;

            newOpertion.cbDocNum.SelectedIndex = _autoComSourceForDocNum.IndexOf(_parentForm.TempDocNum);
            cbKindPay.SelectedIndex = 0;
            newOpertion.Show();
        }
Exemple #5
0
 private void btOperEdit_Click(object sender, EventArgs e)
 {
     _fmOperationViewer = new fmOperationViewer(_countPerProduct, this);
     _fmOperationViewer.Show();
 }