Пример #1
0
 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);
 }
Пример #2
0
 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();
 }