private void VariantManager_Load(object sender, EventArgs e) { btnSeqDown = true; Btn_Seq.Invalidate(); Btn_Seq.PerformClick(); DGV_SM.DataSource = bs; }
private void Btn_ShortC_MouseDown(object sender, MouseEventArgs e) { if (btnSeqDown) { Btn_Seq.Invalidate(); } ResetButtons(); btnSCDown = true; (sender as Button).Invalidate(); }