コード例 #1
0
ファイル: Converter.cs プロジェクト: nickmayer/mediabrowser
 /// <summary>Resets state when an asynchronous conversion completes.</summary>
 /// <param name="sender">Ignored.</param>
 /// <param name="e">Ignored.</param>
 private void ResetWhenConversionComplete(object sender, ConversionCompletedEventArgs e)
 {
     _asyncRunning = false;
 }
コード例 #2
0
 private void converter_ConversionComplete(object sender, ConversionCompletedEventArgs e)
 {
     // Close the form on completion, notifying the user of any errors in the process
     if (e.Error != null)
     {
         MessageBox.Show(this, e.Error.Message,
             Assembly.GetEntryAssembly().GetName().Name,
             MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     Close();
 }
コード例 #3
0
ファイル: Converter.cs プロジェクト: rickbassham/videobrowser
 /// <summary>Resets state when an asynchronous conversion completes.</summary>
 /// <param name="sender">Ignored.</param>
 /// <param name="e">Ignored.</param>
 private void ResetWhenConversionComplete(object sender, ConversionCompletedEventArgs e)
 {
     _asyncRunning = false;
 }