private void _MovingGlass_Click(object sender, EventArgs e) { // Hide the moving glass on mouse click MovingGlass.Hide(); this.Invalidate(); }
private void MagnifyingGlass_Click(object sender, EventArgs e) { // Show the moving glass if (MovingGlass != null && IsEnabled && UseMovingGlass) { MovingGlass.Show(); } }