示例#1
0
 private void SaveTBTN_Click(object sender, EventArgs e)
 {
     // Save a local copy of the Sensor List and Sensor Selections
     if (SensorList.SensorDS != null)
     {
         this.SensorListDGV.EndEdit();
         this.SensorListBS.EndEdit();
         SensorList.Save_ListDS();
     }
 }
示例#2
0
 private void RefreshTBTN_Click(object sender, EventArgs e)
 {
     SensorList.Refresh_ListDS();
     this.SensorListBS.DataSource  = SensorList.SensorDS.Tables[0].DefaultView;
     this.SensorListDGV.DataSource = this.SensorListBS;
 }
示例#3
0
 private void Load_SensorList()
 {
     SensorList.Load_ListDS();
     this.SensorListBS.DataSource  = SensorList.SensorDS.Tables[0].DefaultView;
     this.SensorListDGV.DataSource = this.SensorListBS;
 }