C# Класс InstallPad.InstallPad

Main InstallPad GUI.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

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

Метод Описание
InstallPad ( ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClick ( EventArgs e ) : void

Приватные методы

Метод Описание
BuildContextMenuEntries ( ) : void
BuildSearchBox ( ) : void
CreateApplicationListItem ( InstallPad.ApplicationItem item ) : ApplicationListItem

Creates a list item and listens to its events

DownloadNextOnList ( ) : void
HandleFinishedDownloading ( object sender, EventArgs e ) : void
HandleFinishedInstalling ( object sender, EventArgs e ) : void
HandleFinishedUnInstalling ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

InstallNext ( ) : void
InstallPad_FormClosing ( object sender, FormClosingEventArgs e ) : void
InstallPad_KeyUp ( object sender, KeyEventArgs e ) : void

If the "O" key is hit, open the dialog to choose an applist.

InstallPad_Load ( object sender, EventArgs e ) : void
LoadApplicationList ( string filename ) : void
LoadConfigFile ( ) : void

Load the application config file and restore form position

SaveApplist ( ) : void
SetControlsEnabled ( bool enabled ) : void

Needed when the interface has no items to use.

SetErrorPanelVisibility ( bool visible ) : void
ShowAppListOpenDialog ( ) : void

Show an open dialog that lets the user load a new application list. Loads the application list after a valid selection.

ShowErrorBox ( string errorCaption, string details ) : void

Show an error box in the center of the application list, detailing that we can't find an applist.xml

UpdateErrorBoxLocation ( ) : void

Moves the error box to the center of the application. Should be used whenever the error box is visible and the application gets resized

aboutLink_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
addNewItem_Click ( object sender, EventArgs e ) : void
buttonInstall_Click ( object sender, EventArgs e ) : void
controlList_ListItemClicked ( object sender, MouseEventArgs e ) : void

When they click on a list item, check it.

controlList_ListItemDoubleClicked ( object sender, MouseEventArgs e ) : void
controlList_Resize ( object sender, EventArgs e ) : void
editItem_Click ( object sender, EventArgs e ) : void
errorLink_Click ( object sender, EventArgs e ) : void
logoBox_Click ( object sender, EventArgs e ) : void
menu_Collapse ( object sender, EventArgs e ) : void
menu_Popup ( object sender, EventArgs e ) : void
openAppList_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
openLink_Click ( object sender, EventArgs e ) : void

This link can be clicked only when an application list has failed to load.

preferencesLink_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
removeItem_Click ( object sender, EventArgs e ) : void

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

InstallPad() публичный Метод

public InstallPad ( ) : System
Результат System

OnClick() защищенный Метод

protected OnClick ( EventArgs e ) : void
e System.EventArgs
Результат void