public Gadget() { MagnifyingGlass.UseWin32Api = true; InitializeComponent(); Font = new Font("Microsoft Sans Serif", (float)8.25); MGlass.Hide(); AColor.Hide(); MGlass.MovingGlass.MagnifyingGlass.Click += new EventHandler(MagnifyingGlass_Click); SelectColor(MGlass.PixelColor); }
private void MagnifyingGlass_Click(object sender, EventArgs e) { SelectColor(MGlass.PixelColor); MGlass.Hide(); MGlass.UpdateTimer.Stop(); AColor.Hide(); SColor.Show(); lR.Show(); lG.Show(); lB.Show(); lH.Show(); bSelect.Show(); }
private void bSelect_Click(object sender, EventArgs e) { lR.Hide(); lG.Hide(); lB.Hide(); lH.Hide(); SColor.Hide(); bSelect.Hide(); MGlass.Show(); AColor.Show(); MGlass.UpdateTimer.Start(); MGlass.MovingGlass.Show(); }