-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move thread runner code in generic file and make hash generation thre…
…aded
- Loading branch information
1 parent
07941fb
commit 499afc8
Showing
8 changed files
with
523 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace SharpBoot.Forms | ||
{ | ||
public sealed class GenericTask : WorkerFrm | ||
{ | ||
public GenericTask(string title) | ||
{ | ||
Text = title; | ||
} | ||
|
||
public Action WorkHandler { get; set; } | ||
|
||
public override void DoWork() | ||
{ | ||
WorkHandler?.Invoke(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.