Example #1
0
 private void trackBar2_Scroll(object sender, EventArgs e)
 {
     lightB = trackBar2.Value;
     ButtonMin.Invalidate();
     ButtonMax.Invalidate();
     ButtonClose.Invalidate();
     Invalidate();
 }
Example #2
0
 private void trackBar3_Scroll(object sender, EventArgs e)
 {
     grayC = trackBar3.Value;
     Invalidate();
     ButtonMin.Invalidate();
     ButtonMax.Invalidate();
     ButtonClose.Invalidate();
 }
Example #3
0
 private void trackBar1_Scroll(object sender, EventArgs e)
 {
     colorA = trackBar1.Value;
     ButtonMin.Invalidate();
     ButtonMax.Invalidate();
     ButtonClose.Invalidate();
     Invalidate();
 }
Example #4
0
 private void ButtonClose_MouseUp(object sender, MouseEventArgs e)
 {
     if (!ButtonClose.IsDisposed)
     {
         closeBmp = ResClass.GetResObj("btn_close_normal");
         ButtonClose.Invalidate();
     }
 }
Example #5
0
 private void ButtonClose_MouseEnter(object sender, EventArgs e)
 {
     closeBmp = ResClass.GetResObj("btn_close_highlight");
     toolTip1.SetToolTip(ButtonClose, "关闭");
     ButtonClose.Invalidate();
 }
Example #6
0
 private void ButtonClose_MouseLeave(object sender, EventArgs e)
 {
     closeBmp = ResClass.GetResObj("btn_close_normal");
     ButtonClose.Invalidate();
 }
Example #7
0
 private void ButtonClose_MouseDown(object sender, MouseEventArgs e)
 {
     closeBmp = ResClass.GetResObj("btn_close_down");
     ButtonClose.Invalidate();
 }