Example #1
0
        public void Setup()
        {
            SetupDialog dialog = new SetupDialog(this.m_setupNode, this.m_serialPort);

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                this.m_serialPort = dialog.SelectedPort;
                this.m_useRamps   = dialog.Ramps;
            }
        }
Example #2
0
 public void Setup()
 {
     SetupDialog dialog = new SetupDialog(this.m_setupNode, this.m_serialPort);
     if (dialog.ShowDialog() == DialogResult.OK)
     {
         this.m_serialPort = dialog.SelectedPort;
         this.m_useRamps = dialog.Ramps;
     }
 }