示例#1
0
        private void picContract_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            PictureBox pic = (PictureBox)sender;
            frmZoom    frm = new frmZoom();

            frm.SetImageFilePath(pic.ImageLocation);
            frm.SetZoomImage(pic);
            frm.ShowDialog();
        }
示例#2
0
        private void picScanType_DoubleClick(object sender, EventArgs e)
        {
            if (File.Exists(m_FName))
            {
                PictureBox pic = new PictureBox();
                LoadImage(pic, m_FName);

                frmZoom frm = new frmZoom();
                frm.SetImageFilePath(m_FName);
                frm.SetZoomImage(pic);
                frm.ShowDialog();
            }
        }