private void BUT_follow_me_Click(object sender, EventArgs e) { var si = new FollowMe(); ThemeManager.ApplyThemeTo(si); si.Show(); }
public FollowMe() { Instance = this; InitializeComponent(); CMB_serialport.DataSource = SerialPort.GetPortNames(); CMB_updaterate.SelectedItem = updaterate; if (threadrun) { BUT_connect.Text = Strings.Stop; CMB_baudrate.Text = comPort.BaudRate.ToString(); CMB_serialport.Text = comPort.PortName; CMB_updaterate.Text = updaterate.ToString(); } MissionPlanner.Utilities.Tracking.AddPage(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.ToString(), System.Reflection.MethodBase.GetCurrentMethod().Name); }
public FollowMe() { Instance = this; InitializeComponent(); CMB_serialport.DataSource = SerialPort.GetPortNames(); CMB_updaterate.SelectedItem = updaterate; if (threadrun) { BUT_connect.Text = "Stop"; CMB_baudrate.Text = comPort.BaudRate.ToString(); CMB_serialport.Text = comPort.PortName; CMB_updaterate.Text = updaterate.ToString(); } MissionPlanner.Utilities.Tracking.AddPage(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.ToString(), System.Reflection.MethodBase.GetCurrentMethod().Name); }
private void BUT_follow_me_Click(object sender, EventArgs e) { FollowMe si = new FollowMe(); ThemeManager.ApplyThemeTo((Form)si); si.Show(); }