@@ -20,11 +20,11 @@ namespace FlashpointSecurePlayer {
2020 public class SingleInstance : Modifications {
2121 public SingleInstance ( EventHandler importStart , EventHandler importStop ) : base ( importStart , importStop ) { }
2222
23- private delegate Task [ ] MessageBoxClosableTasksDelegate ( CancellationToken token ) ;
23+ private delegate Task [ ] ClosableTasksDelegate ( CancellationToken token ) ;
2424
2525 // function to create a MessageBox which
2626 // automatically closes upon completion of multiple tasks
27- private DialogResult ? MessageBoxShowClosable ( Form owner , string text , string caption , MessageBoxButtons buttons , MessageBoxIcon icon , MessageBoxClosableTasksDelegate tasksDelegate ) {
27+ private DialogResult ? MessageBoxShowClosable ( Form owner , string text , string caption , MessageBoxButtons buttons , MessageBoxIcon icon , ClosableTasksDelegate tasksDelegate ) {
2828 if ( owner == null ) {
2929 throw new ArgumentNullException ( "The owner is null." ) ;
3030 }
@@ -76,10 +76,10 @@ public SingleInstance(EventHandler importStart, EventHandler importStop) : base(
7676 }
7777 }
7878
79- private delegate Task MessageBoxClosableTaskDelegate ( CancellationToken token ) ;
79+ private delegate Task ClosableTaskDelegate ( CancellationToken token ) ;
8080
8181 // overload for a single task
82- private DialogResult ? MessageBoxShowClosable ( Form owner , string text , string caption , MessageBoxButtons buttons , MessageBoxIcon icon , MessageBoxClosableTaskDelegate taskDelegate ) {
82+ private DialogResult ? MessageBoxShowClosable ( Form owner , string text , string caption , MessageBoxButtons buttons , MessageBoxIcon icon , ClosableTaskDelegate taskDelegate ) {
8383 return MessageBoxShowClosable (
8484 owner ,
8585 text ,
0 commit comments