Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     hideCtrls();
     telaSpikes = new SpikesForm();
     this.Hide();
     telaSpikes.Show();
 }
Ejemplo n.º 2
0
        // Constructor to pass the previous form as a parameter to use its thread for serial communication
        public TestProtocol(SpikesForm _telaSpikes)
        {
            InitializeComponent();
            telaSpikes = _telaSpikes;

            // Generate the 15 texture sequence
            generateSequence();

            testStep = test_step.STOPPED;
            Console.WriteLine(telaSpikes.th.IsAlive.ToString());
            telaSpikes.testProtocolOn = true;
        }
Ejemplo n.º 3
0
        public TestProtocol(SpikesForm _telaSpikes)
        {
            InitializeComponent();
            telaSpikes = _telaSpikes;

            generateSequence();

            testStep = test_step.STOPPED;
            Console.WriteLine(telaSpikes.th.IsAlive.ToString());
            telaSpikes.testProtocolOn = true;
            initThreadProgBar();
            increment_progBar.Start();
            increment_progBar.Suspend();
        }