コード例 #1
0
        public formMicrocontrollerStatus(SerialPortSave settings)
        {
            InitializeComponent();

            this.settings = settings;

            string[] aCOMPortsArray = SerialPort.GetPortNames();

            for (int i = 0; i < aCOMPortsArray.Length; i++)
            {
                cbxSerialPort.Items.Add(aCOMPortsArray[i]);
            }
        }
コード例 #2
0
 public formGraphs(Data data, SerialPortSave settings)
 {
     _data         = data;
     this.settings = settings;
     InitializeComponent();
 }