C# Класс HWBalanceAnalyzer.View.MainForm

The main window of the application.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
MainForm ( Controller controller ) : System

Constructs and initialized a new main window for the application.

ResetStatusStrip ( ) : void

Resets the status bar of this window, clearing the progress bar and the status label.

SetProgress ( int progressPercentage ) : void

Sets the value of the progress bar in the status bar of this window to the specified value.

SetStatus ( string status ) : void

Sets the text of the status label in the status bar of this window.

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

Метод Описание
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Called whenever the user selects the About item in the File menu. Shows a box with information about this application.

dataGridViewLogs_SelectionChanged ( object sender, EventArgs e ) : void

Called whenever the user selects a new log in the log list. Shows information on that match in the match info window.

exportResultsToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Called whenever the user selects the Save item in the File menu. Raises a new SaveFileDialog and makes the user choose a file to write the analysis results to.

openToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Called whenever the user selects the Open item in the File menu. Raises a new FolderBrowserDialog and makes the user choose a folder to be recursively scanned for log files

quitToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Called whenever the user selects the Quit item in the File menu. Shuts down this application.

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

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

Constructs and initialized a new main window for the application.
public MainForm ( Controller controller ) : System
controller HWBalanceAnalyzer.Control.Controller /// the controller to be notified whenever the user interacts with /// the new window ///
Результат System

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

Resets the status bar of this window, clearing the progress bar and the status label.
public ResetStatusStrip ( ) : void
Результат void

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

Sets the value of the progress bar in the status bar of this window to the specified value.
public SetProgress ( int progressPercentage ) : void
progressPercentage int /// the new value between 0 and 100 for the progress bar ///
Результат void

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

Sets the text of the status label in the status bar of this window.
public SetStatus ( string status ) : void
status string /// the new text for the status label ///
Результат void