Improved AsyncProgressBar documentation and fine tuned the progress bar's behavior

git-svn-id: file:///srv/devel/repo-conversion/nuwi@11 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2007-09-12 18:52:41 +00:00
parent 4261d9b449
commit 5c913cc48a
3 changed files with 26 additions and 2 deletions

View file

@ -16,6 +16,20 @@ namespace Nuclex.Windows.Forms {
/// Blocking progress dialog that prevents the user from accessing the application
/// window during all-blocking background processes.
/// </summary>
/// <example>
/// class Test : Nuclex.Support.Scheduling.ThreadOperation {
/// static void Main() {
/// Test myTest = new Test();
/// myTest.Begin();
/// Nuclex.Windows.Forms.ProgressReporterForm.Track(myTest);
/// myTest.End();
/// }
/// protected override void Execute() {
/// for(int i = 0; i &lt; 10000000; ++i)
/// OnAsyncProgressUpdated((float)i / 10000000.0f);
/// }
/// }
/// </example>
public partial class ProgressReporterForm : Form {
/// <summary>Initializes a new progress reporter</summary>