C# 클래스 Sharpcraft.Launcher

Launcher form for Sharpcraft, handles user authentication and game start.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: SijmenSchoon/Sharpcraft 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CloseGame void
GameExit void
InitializeComponent void
LauncherFormClosed void
LoginButtonClick void
LoginEvent void
PassBoxEnter void
PassBoxLeave void
PassBoxTextChanged void
RegisterLinkLinkClicked void
RunGame void
SetState void
UpdateForm void
UserBoxEnter void
UserBoxLeave void
UserBoxTextChanged void
ValidLogin bool
VersionLabelClick void

공개 메소드들

메소드 설명
Launcher ( ) : System

Initializes a new instance of the Sharpcraft Launcher.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
CloseGame ( ) : void

Close the game and unload components.

GameExit ( object sender, EventArgs e ) : void

Event handler for Game.Exiting event.

InitializeComponent ( ) : void

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

LauncherFormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void

Fires when the launcher closes, sends close request to main program and exits application.

LoginButtonClick ( object sender, EventArgs e ) : void

Handler for when user presses the login button.

LoginEvent ( LoginEventArgs e ) : void

Login event handler.

PassBoxEnter ( object sender, EventArgs e ) : void

Handler for when the password box gains focus.

PassBoxLeave ( object sender, EventArgs e ) : void

Handler for when the password box loses focus.

PassBoxTextChanged ( object sender, EventArgs e ) : void

Handler for when the text in the password box changes.

RegisterLinkLinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void

Handler for when user clicks the "Register" link.

Opens the URL "http://www.minecraft.net/register" using Process.Start();

RunGame ( ) : void

Runs the game.

SetState ( bool enabled ) : void

Sets the state of the form.

UpdateForm ( ) : void

Updates the form controls.

UserBoxEnter ( object sender, EventArgs e ) : void

Handler for when the username box gets focus-

UserBoxLeave ( object sender, EventArgs e ) : void

Handler for when the username box loses focus.

UserBoxTextChanged ( object sender, EventArgs e ) : void

Handler for when the text in the username box changes.

ValidLogin ( ) : bool

Checks the username and password boxes to determine if they are valid.

VersionLabelClick ( object sender, EventArgs e ) : void

Opens the GitHub URL in browser to show info about the commit.

메소드 상세

Dispose() 보호된 메소드

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

Launcher() 공개 메소드

Initializes a new instance of the Sharpcraft Launcher.
public Launcher ( ) : System
리턴 System