コード例 #1
0
ファイル: MainForm.cs プロジェクト: Tyaap/ASRT_SumoTTP
 private async void ButtonUnpackStart_ClickAsync(object sender, System.EventArgs e)
 {
     if (CheckFileExists(textBoxUnpackTocPath.Text) && CheckFolderExists(textBoxUnpackOutPath.Text))
     {
         buttonUnpackCancel.Enabled = true;
         buttonUnpackStart.Enabled  = false;
         buttonPackStart.Enabled    = false;
         await Task.Run(() =>
         {
             PackerTools.Unpack(textBoxUnpackTocPath.Text, textBoxUnpackOutPath.Text);
         });
     }
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: Tyaap/ASRT_SumoTTP
 public MainForm()
 {
     InitializeComponent();
     PackerTools.Init(toolStripProgressBar, toolStripStatusLabel, SynchronizationContext.Current);
 }