Exemplo n.º 1
0
        public Form2()
        {
            InitializeComponent();
            OK_button.DialogResult     = DialogResult.OK;
            Cancel_button.DialogResult = DialogResult.Cancel;

//            string ComStr = Settings1.Equals();
            ComPort_listBox.SetSelected(0, true);
        }
Exemplo n.º 2
0
 public void ComPort_InitPortNbr(int portNbr)
 {
     comIndex = portNbr;
     ComPort_listBox.SetSelected(portNbr, true);
 }