private void ListBox_Of_Anlyzers_MouseUp(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { var item = this.ListBox_Of_Anlyzers.IndexFromPoint(e.Location); if (item >= 0 && ListBox_Of_Anlyzers.SelectedIndices.Contains(item) == false) { ListBox_Of_Anlyzers.ClearSelected(); ListBox_Of_Anlyzers.SelectedIndex = item; } } }
private void PRE_JOB_Control_VisibleChanged(object sender, EventArgs e) { ListBox_Of_Anlyzers.ClearSelected(); }
private void PRE_JOB_Control_Click(object sender, EventArgs e) { ListBox_Of_Anlyzers.ClearSelected(); }