Ejemplo n.º 1
0
        private void BtnEdit_Click(object sender, RoutedEventArgs e)
        {
            var setupWin = new SetupWindow(_comSetup, _ecuSetup);

            setupWin.ShowDialog();
            _comSetup = setupWin.ComSetup;
            _ecuSetup = setupWin.EcuSetup;
            cbComPort.SelectedItem = _serialPort.Setup.PortName;
        }
Ejemplo n.º 2
0
 private void BtnEdit_Click(object sender, RoutedEventArgs e)
 {
     var setupWin = new SetupWindow(_comSetup, _ecuSetup);
     setupWin.ShowDialog();
     _comSetup = setupWin.ComSetup;
     _ecuSetup = setupWin.EcuSetup;
     cbComPort.SelectedItem = _serialPort.Setup.PortName;
 }