Esempio n. 1
0
 /// <summary>
 /// Task按钮测试单击事件
 /// </summary>
 /// <param name="sender">按钮单击事件对象</param>
 /// <param name="e">按钮单击事件参数信息</param>
 private void btn_Task_Click(object sender, EventArgs e)
 {
     TaskTest.StartTest();
 }
Esempio n. 2
0
 public MainWindow()
 {
     InitializeComponent();
     par   = new ParallelTest();
     ttest = new TaskTest();
 }