Fixed static comports

This commit is contained in:
2015-09-06 18:53:50 +02:00
parent 50b7c80c61
commit 1605c00a64
@@ -47,9 +47,7 @@ namespace ErgometerSimulator
// ComPortBox // ComPortBox
// //
this.ComPortBox.FormattingEnabled = true; this.ComPortBox.FormattingEnabled = true;
this.ComPortBox.Items.AddRange(new object[] { this.ComPortBox.Items.AddRange(SerialPort.GetPortNames());
"COM5",
"COM4"});
this.ComPortBox.Location = new System.Drawing.Point(12, 12); this.ComPortBox.Location = new System.Drawing.Point(12, 12);
this.ComPortBox.Name = "ComPortBox"; this.ComPortBox.Name = "ComPortBox";
this.ComPortBox.Size = new System.Drawing.Size(121, 24); this.ComPortBox.Size = new System.Drawing.Size(121, 24);