C# 클래스 Hourglass.AppEntry

Handles application start up, command-line arguments, and ensures that only one instance of the application is running at any time.
상속: WindowsFormsApplicationBase
파일 보기 프로젝트 열기: Dziemborowicz/Hourglass 1 사용 예제들

공개 메소드들

메소드 설명
AppEntry ( ) : System

Initializes a new instance of the AppEntry class.

보호된 메소드들

메소드 설명
OnStartup ( Microsoft.VisualBasic.ApplicationServices.StartupEventArgs e ) : bool

Invoked when the application starts.

OnStartupNextInstance ( Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs e ) : void

Invoked when a subsequent instance of this application starts.

비공개 메소드들

메소드 설명
AppExit ( object sender, System.Windows.ExitEventArgs e ) : void

Invoked just before the application shuts down, and cannot be canceled.

Main ( string args ) : void
SetGlobalSettingsFromArguments ( CommandLineArguments arguments ) : void

Sets global options from parsed command-line arguments.

ShowNewTimerWindow ( CommandLineArguments arguments ) : void

Shows a new timer window. The window will run the TimerStart specified in the , or it will display in input mode if there is no TimerStart.

ShowSavedTimerWindows ( CommandLineArguments arguments ) : void

Shows windows for all saved timers.

ShowTimerWindowsForArguments ( CommandLineArguments arguments ) : void

Shows a new timer window or windows for all saved timers, depending on whether the specify to open saved timers.

메소드 상세

AppEntry() 공개 메소드

Initializes a new instance of the AppEntry class.
public AppEntry ( ) : System
리턴 System

OnStartup() 보호된 메소드

Invoked when the application starts.
protected OnStartup ( Microsoft.VisualBasic.ApplicationServices.StartupEventArgs e ) : bool
e Microsoft.VisualBasic.ApplicationServices.StartupEventArgs Contains the command-line arguments of the application and indicates whether the /// application startup should be canceled.
리턴 bool

OnStartupNextInstance() 보호된 메소드

Invoked when a subsequent instance of this application starts.
protected OnStartupNextInstance ( Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs e ) : void
e Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs Contains the command-line arguments of the subsequent application instance and indicates /// whether the first application instance should be brought to the foreground.
리턴 void