예제 #1
0
 private void buttonDisconnect_Click(object sender, EventArgs e)
 {
     HandleConnectionResult(null);
     _connection.Dispose();
     _connection = new UsbDaqConnection();
     HandleConnectionResult(_connection.IsConnected);
 }
예제 #2
0
파일: MainForm.cs 프로젝트: fparaggio/atmo
 private void buttonDisconnect_Click(object sender, EventArgs e)
 {
     HandleConnectionResult(null);
     _connection.Dispose();
     _connection = new UsbDaqConnection();
     HandleConnectionResult(_connection.IsConnected);
 }
예제 #3
0
        public MainForm()
        {
            InitializeComponent();

            _sensorViewPanelControler = new SensorViewPanelController(panelSensors);

            _connection = new UsbDaqConnection();
            timerProperties_Tick(this, null);
        }
예제 #4
0
파일: MainForm.cs 프로젝트: fparaggio/atmo
        public MainForm()
        {
            InitializeComponent();

            _sensorViewPanelControler = new SensorViewPanelController(panelSensors);

            _connection = new UsbDaqConnection();
            timerProperties_Tick(this, null);
        }
예제 #5
0
 public PatcherForm2(UsbDaqConnection device) : base(device)
 {
     InitializeComponent();
     AnemSelectionRadioItems.Properties.Items.Clear();
     AnemSelectionRadioItems.Properties.Items.AddRange(new [] {
         new RadioGroupItem(1, "A"),
         new RadioGroupItem(2, "B"),
         new RadioGroupItem(3, "C"),
         new RadioGroupItem(4, "D"),
         new RadioGroupItem(0, "Unassigned"),
         new RadioGroupItem(0xf, "Corrupted"),
     });
 }
예제 #6
0
 public PatcherForm2(UsbDaqConnection device)
     : base(device)
 {
     InitializeComponent();
     AnemSelectionRadioItems.Properties.Items.Clear();
     AnemSelectionRadioItems.Properties.Items.AddRange(new [] {
         new RadioGroupItem(1, "A"),
         new RadioGroupItem(2, "B"),
         new RadioGroupItem(3, "C"),
         new RadioGroupItem(4, "D"),
         new RadioGroupItem(0, "Unassigned"),
         new RadioGroupItem(0xf, "Corrupted"),
     });
 }
예제 #7
0
 public PatcherForm(UsbDaqConnection device)
 {
     _device = device;
     InitializeComponent();
 }
예제 #8
0
 public PatcherForm(UsbDaqConnection device)
 {
     _device = device;
     InitializeComponent();
 }