示例#1
0
 private void RefreshData()
 {
     if (cbtnAll.Checked)
     {
         var probes = Probe.FindAll();
         gcProbe.DataSource = probes;
     }
     else
     {
         var probes = Probe.FindAllWithGasOrVentilation();
         gcProbe.DataSource = probes;
     }
 }