The Progress window in NOV is a top level window that can display the progress of a long-running operation:
The NOV Progress window consists of the following parts that are exposed as children of the NProgressWindow class:
The easiest way to create a Progress window is to use any of the static Create methods of the NProgressWindow class:
The following piece of code demonstrates how to create the progress window from the screenshot above:
Creating a Progress Window |
Copy Code
|
---|---|
NProgressWindow progressWindow = NProgressWindow.Create(OwnerWindow, "Header Text"); progressWindow.Content = new NLabel("This is the content of the progress window."); progressWindow.Footer = new NLabel("Footer Text"); progressWindow.ButtonStrip = new NButtonStrip(); progressWindow.ButtonStrip.AddCancelButton(); progressWindow.Open(); |