Exemplo n.º 1
0
        private void btStart_Click(object sender, EventArgs e)
        {
            service = new ServiceTest();

            service.TestStart(new string[0]);

            btStart.Enabled    = false;
            btStop.Enabled     = true;
            btPause.Enabled    = true;
            btContinue.Enabled = false;
        }
Exemplo n.º 2
0
        private void btStart_Click(object sender, EventArgs e)
        {
            service = new ServiceTest();

            service.TestStart(new string[0]);

            btStart.Enabled = false;
            btStop.Enabled = true;
            btPause.Enabled = true;
            btContinue.Enabled = false;
        }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     service.TestStart(null);
 }