Exemple #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);
 }
Exemple #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();
 }
Exemple #3
0
 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();
 }