private void AdjacentBtn_MouseDown(object sender, MouseEventArgs e) { RoundButton roundBtn = (RoundButton)sender; ShowRGB = roundBtn.RGB; CNCSNum.Text = Tool.AuxiliaryAPI.RGB2xyz(tempRGB); ShowPanel.Refresh(); }
private void AdjacentBtn_MouseLeave(object sender, EventArgs e) { tempRGB = ShowRGB; CNCSNum.Text = Tool.AuxiliaryAPI.RGB2xyz(tempRGB); ShowPanel.Refresh(); }