C# 클래스 SDownload.Program

Helper application that runs in the system tray and interacts with with a browser extension.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: brkastner/SDownload

공개 메소드들

메소드 설명
Program ( String args ) : System

Set up the helper service and check for extension installation and updates

보호된 메소드들

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

Disposes of the tray icon before disposing of itself

OnClosing ( System e ) : void

Closes any open forms before closing itself

OnLoad ( EventArgs e ) : void

This form should not be visible to the user, contains no data

비공개 메소드들

메소드 설명
CheckVersion ( bool force = false ) : void

Checks if the current version is the newest version

ConfirmExitApplication ( object sender, EventArgs eventArgs ) : void

Checks if confirmation is needed before exiting, then exits. (Unless cancelled by the user)

Exit ( ) : void

Fully exits the application

IsAlreadyRunning ( ) : bool

Check if SDownload is already running

Main ( String args ) : void
OpenUrlInBrowser ( String url ) : void

Opens a url in Chrome

ShowSettings ( object sender, EventArgs eventArgs ) : void

Show the settings form, creating one of it doesn't already exist

ValidateChromeInstallation ( ) : void

Check for a Google Chrome installation and make sure the helper extension is installed

메소드 상세

Dispose() 보호된 메소드

Disposes of the tray icon before disposing of itself
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

OnClosing() 보호된 메소드

Closes any open forms before closing itself
protected OnClosing ( System e ) : void
e System Not used
리턴 void

OnLoad() 보호된 메소드

This form should not be visible to the user, contains no data
protected OnLoad ( EventArgs e ) : void
e System.EventArgs Not used
리턴 void

Program() 공개 메소드

Set up the helper service and check for extension installation and updates
public Program ( String args ) : System
args String
리턴 System