/// <summary> /// Event delegate method fired when the <see cref="SelectNoneToolStripMenuItem"/> context menu item is clicked. /// </summary> /// <param name="sender">Sender object.</param> /// <param name="e">Event arguments.</param> private void SelectNoneToolStripMenuItem_Click(object sender, EventArgs e) { PreviewDataGridView.ClearSelection(); }
private void PreviewDataGridView_SelectionChanged(object sender, EventArgs e) { PreviewDataGridView.ClearSelection(); }