C# Class BF2Statistics.LoadingForm

Inheritance: System.Windows.Forms.Form
Show file Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Property Type Description
AllowDrag bool

Public Methods

Method Description
CloseForm ( ) : void

Method called to close the update form

ShowScreen ( Form Parent, bool AllowDrag = false, string WindowTitle = "Loading... Please Wait" ) : void

Main calling method. Opens a new instance of the form, and displays it

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &message ) : void

Prevents the form from being dragable

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadingForm ( ) : System

Method Details

CloseForm() public static method

Method called to close the update form
public static CloseForm ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ShowScreen() public static method

Main calling method. Opens a new instance of the form, and displays it
public static ShowScreen ( Form Parent, bool AllowDrag = false, string WindowTitle = "Loading... Please Wait" ) : void
Parent System.Windows.Forms.Form The parent form, that will be used to center this form over
AllowDrag bool Sets whether this window will be allowed to be moved by the user
WindowTitle string The text in the window title bar
return void

WndProc() protected method

Prevents the form from being dragable
protected WndProc ( Message &message ) : void
message System.Windows.Forms.Message
return void

Property Details

AllowDrag protected property

Gets or Sets whether the User is able to move the window
protected bool AllowDrag
return bool