Exemple #1
0
 //Only allows user to select from one datagridview at a time
 private void SaturdayDGV_SelectionChanged(object sender, EventArgs e)
 {
     MondayDGV.ClearSelection();
     TuesdayDGV.ClearSelection();
     WednesdayDGV.ClearSelection();
     ThursdayDGV.ClearSelection();
     FridayDGV.ClearSelection();
 }
Exemple #2
0
 //Databindingcomplete events are used to clear up the auto selection of cells when data binding is complete
 //The following 6 event methods are run after PopulateClassTimes method is run
 private void MondayDGV_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
 {
     MondayDGV.ClearSelection();
 }