C# Класс SDownload.Program

Helper application that runs in the system tray and interacts with with a browser extension.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

Открытые методы

Метод Описание
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