Beispiel #1
0
        private void cmdInc_Click(object sender, EventArgs e)
        {
            txtProgress.Text = "Đang xử lý ...";
            odlgHisFile.ShowDialog();
            string sFile = odlgHisFile.FileName;

            ADOMDLib.IncProcess(cboStock.Text, sFile);
            txtProgress.Text = "Xử lý xong!";
        }
Beispiel #2
0
 private void btnUpdateOne_Click(object sender, EventArgs e)
 {
     txtProgress.Text = "Đang xử lý ...";
     if (odlgHisFile.ShowDialog() == DialogResult.OK)
     {
         string sFile = odlgHisFile.FileName;
         ADOMDLib.IncProcess(cboStock.Text, sFile, chkContinue.Checked);
         txtProgress.Text = "Xử lý xong!";
     }
     else
     {
         txtProgress.Text = "Thoát!";
     }
     //ADOLib.ProcessResult();
 }