Exemplo n.º 1
0
 private void button_end_Click(object sender, RoutedEventArgs e)
 {
     counter = 0;
     PromptTextBox.AppendText("\n请按下【开始】按钮,准备打标\n" + time[0] + "ms--" + time[1] + "ms\n");
     button_start.IsEnabled = true;
     button_end.IsEnabled   = false;
 }
Exemplo n.º 2
0
        private void button_start_Click(object sender, RoutedEventArgs e)
        {
            button_start.IsEnabled = false;
            button_end.IsEnabled   = true;

            PromptTextBox.AppendText("\n已按下【开始】按钮,之后两次点击鼠标左键将会打标\n");
            Thread thread = new Thread(thread_Tick);

            thread.Start();
        }
Exemplo n.º 3
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     PromptTextBox.AppendText("请按下【开始】按钮,准备打标\n");
 }