Esempio n. 1
0
 /// <summary>
 /// Event delegate method fired when the <see cref="SelectAllToolStripMenuItem"/> context menu item is clicked.
 /// </summary>
 /// <param name="sender">Sender object.</param>
 /// <param name="e">Event arguments.</param>
 private void SelectAllToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PreviewDataGridView.SelectAll();
 }
Esempio n. 2
0
 /// <summary>
 /// Event delegate method fired when the <see cref="PreviewDataGridView"/> grid is done with its data binding operation.
 /// </summary>
 /// <param name="sender">Sender object.</param>
 /// <param name="e">Event arguments.</param>
 private void PreviewDataGridView_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
 {
     PreviewDataGridView.SelectAll();
 }