Esempio n. 1
0
        public int ProgressBarInfo(double dfComplete, char[] strMessage, IntPtr pData)
        {
            ImageClipForm form = (ImageClipForm)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);
        }
Esempio n. 2
0
        private void btn_clip_Click(object sender, EventArgs e)
        {
            ImageClipForm icf = new ImageClipForm();

            icf.ShowDialog();
        }
Esempio n. 3
0
 private void btn_clip_Click(object sender, EventArgs e)
 {
     ImageClipForm icf = new ImageClipForm();
     icf.ShowDialog();
 }