Exemple #1
0
 private async void btnRipGame_Click(object sender, EventArgs e)
 {
     if (Settings.Default.CreateIRDWhileRipping)
     {
         // Call create Ird method
         await CreateIrd(IrdCreator.Create(theODD, true));
     }
     else
     {
         cancellation = new CancellationTokenSource();
         currentTask  = TaskEx.Run(async() => await theODD.DoRip(cancellation.Token));
         await currentTask;
     }
 }
Exemple #2
0
 private async void btnCreateIrdFromDrive_Click(object sender, EventArgs e)
 {
     await CreateIrd(IrdCreator.Create(theODD));
 }
Exemple #3
0
 private async void btnCreateIrdFile_Click(object sender, EventArgs e)
 {
     await CreateIrd(IrdCreator.Create());
 }