Table of Contents

Class AsyncWaitDialog

Namespace
AlphaFramework.Editor
Assembly
AlphaFramework.Editor.dll

Displays a "Loading..." dialog box in a separate GUI thread for cases where the main message pump is blocked.

public sealed class AsyncWaitDialog : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance
AsyncWaitDialog
Implements
Inherited Members
Extension Methods

Constructors

AsyncWaitDialog(string, Icon?)

Creates a new asynchrnous waiting dialog.

public AsyncWaitDialog(string title, Icon? icon = null)

Parameters

title string

The title of th dialog to display.

icon Icon

The icon for the dialog to display in the task bar; can be null.

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed; otherwise, false.

Start()

Starts a new message pump with this dialog in a new thread.

public void Start()

Stop()

Closes the dialog and stops the separate message pump.

public void Stop()