コード例 #1
0
 public MainWindow()
 {
     InitializeComponent();
     Initialize();
     Debug.Initialize(new Progress <string>(AppendLogText));
     DataTool.Initialize(new Progress <int>(SetProgressBarPercent));
 }
コード例 #2
0
 private void button_GetPatchList_Click(object sender, EventArgs e)
 {
     if (DataTool.running)
     {
         this.button_GetPatchList.Text = "Start";
         DataTool.running = false;
         DataTool.EndSession();
     }
     else
     {
         this.button_GetPatchList.Text = "Stop";
         DataTool.running = true;
         DataTool.BeginSession();
     }
 }