public int ProgressBarInfo(double dfComplete, char[] strMessage, IntPtr pData)
        {
            VIStatictisBatchForm form = (VIStatictisBatchForm)Control.FromHandle(pData);

            int iValue = (int)(100 * dfComplete + 0.5);

            form.progressBar.Value = iValue;
            string strMsg = new string(strMessage);

            //form.labelMessage.Text = strMsg;
            return(1);
        }
Пример #2
0
        private void btn_VIStatisticBatch_Click(object sender, EventArgs e)
        {
            VIStatictisBatchForm visf = new VIStatictisBatchForm();

            visf.ShowDialog();
        }
Пример #3
0
 private void btn_VIStatisticBatch_Click(object sender, EventArgs e)
 {
     VIStatictisBatchForm visf = new VIStatictisBatchForm();
     visf.ShowDialog();
 }