public ZoomLens()
        {
            InitializeComponent();
            ShowInTaskbar = false;

            this.FormBorderStyle = FormBorderStyle.None;
            drawingForm          = new DrawingForm();
            TopMost = true;

            Location = new Point(-200, -200);
        }
        public void ResetZoomLens()
        {
            // Stop timer, and hide drawing form and zoom form
            DrawTimer.Stop();
            drawingForm.ClearForm();
            drawingForm.Refresh();
            drawingForm.Close();
            drawingForm = new DrawingForm();

            Hide();
            Location = new Point(-200, -200);
        }
Exemple #3
0
 public void UpdateCrosshair()
 {
     pictureBoxCrosshairPreview.Image = DrawingForm.GetCrossHairImage((DrawingForm.CrossHair)trackBarCrosshair.Value);
 }