public int ProgressBarInfo(double dfComplete, char[] strMessage, IntPtr pData) { VIStatictisBatchToGrid form = (VIStatictisBatchToGrid)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); }
private void btn_vstogrid_Click(object sender, EventArgs e) { VIStatictisBatchToGrid visf = new VIStatictisBatchToGrid(); visf.ShowDialog(); }
private void btn_vstogrid_Click(object sender, EventArgs e) { VIStatictisBatchToGrid visf = new VIStatictisBatchToGrid(); visf.ShowDialog(); }