Start() public method

public Start ( ) : void
return void
Ejemplo n.º 1
0
 private void button_heart_test_start_Click(object sender, EventArgs e)
 {
     _hbc = new HeartbeatController();
     _hbc.Start();
 }
Ejemplo n.º 2
0
        private void CmdWindow_Load(object sender, EventArgs e)
        {
            ResetLog();
            
            VersionNumberToolStripMenuItem.Text = Version;
            VersionExtraToolStripMenuItem.Text = Release;

            // Remove all errorreports. 
            DirectoryInfo di = new DirectoryInfo("bugreports");

            foreach (FileInfo file in di.GetFiles())
            {
                file.Delete();
            }

            textBox_Ip.Text = Program.Sm.IpAddress;
            if (Program.Sm.IpAddress != "Nintendo 3DS IP")
            {
                Addlog("Loaded your last IP address!");
            }

            // Start Heartbeat
            _hbc = new HeartbeatController();
            _hbc.Start();

            // Start Octo
            Octo.Init();

            // Setting some values for combobox and so on.. 
            comboBox_mh4u_us_charm_rarity.SelectedIndex = 0;
            comboBox_mh4u_us_skill1.SelectedIndex = 0;
            comboBox_mh4u_us_skill2.SelectedIndex = 0;

            numericUpDown_mh4u_us_slots.Value = 0;
            numericUpDown_mh4u_us_skill1.Value = 0;
            numericUpDown_mh4u_us_skill2.Value = 0;
        }