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 ButtonMin_MouseLeave(object sender, EventArgs e) { minBmp = ResClass.GetResObj("btn_mini_normal"); ButtonMin.Invalidate(); }
private void ButtonMin_MouseUp(object sender, MouseEventArgs e) { minBmp = ResClass.GetResObj("btn_close_normal"); ButtonMin.Invalidate(); }
private void ButtonMin_MouseDown(object sender, MouseEventArgs e) { minBmp = ResClass.GetResObj("btn_mini_down"); ButtonMin.Invalidate(); }
private void ButtonMin_MouseEnter(object sender, EventArgs e) { minBmp = ResClass.GetResObj("btn_mini_highlight"); toolTip1.SetToolTip(ButtonMin, "最小化"); ButtonMin.Invalidate(); }