public void Show(Point mousePosition)
 {
     MagnifyingGlass.MakeScreenshot();
     Cursor.Position = mousePosition;
     base.Show();
     MagnifyingGlass.UpdateTimer.Start();
     Cursor.Hide();
 }
 private void magnifyingGlass1_DisplayUpdated(MagnifyingGlass sender)
 {
   // Update the current color preview panels background color
   panel1.BackColor = magnifyingGlass1.PixelColor;
 }
 private void MagnifyingGlass_DisplayUpdated(MagnifyingGlass sender)
 {
   // Refresh if the moving one has refreshed
   Invalidate();
   OnDisplayUpdated();
 }
 private void magnifyingGlass1_DisplayUpdated(MagnifyingGlass sender)
 {
     // Update the current color preview panels background color
     panel1.BackColor = magnifyingGlass1.PixelColor;
 }
 private void MagnifyingGlass_DisplayUpdated(MagnifyingGlass sender)
 {
     // Refresh if the moving one has refreshed
     Invalidate();
     OnDisplayUpdated();
 }