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(); } }
private void RefreshTBTN_Click(object sender, EventArgs e) { SensorList.Refresh_ListDS(); this.SensorListBS.DataSource = SensorList.SensorDS.Tables[0].DefaultView; this.SensorListDGV.DataSource = this.SensorListBS; }
private void Load_SensorList() { SensorList.Load_ListDS(); this.SensorListBS.DataSource = SensorList.SensorDS.Tables[0].DefaultView; this.SensorListDGV.DataSource = this.SensorListBS; }