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