BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Properties | List of all members
BrawlLib.BrawlManagerLib.ProgressDialog Class Reference
Inheritance diagram for BrawlLib.BrawlManagerLib.ProgressDialog:

Public Member Functions

 ProgressDialog ()
 
void AppendLogLine (string value)
 
void ClearLog ()
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

string ProgressTitle [get, set]
 
string InProgressLabel [get, set]
 
int ProgressCompletionAt [get, set]
 
int Progress [get, set]
 

Constructor & Destructor Documentation

◆ ProgressDialog()

BrawlLib.BrawlManagerLib.ProgressDialog.ProgressDialog ( )
inline
9 {
10 InitializeComponent();
11 }

Member Function Documentation

◆ AppendLogLine()

void BrawlLib.BrawlManagerLib.ProgressDialog.AppendLogLine ( string  value)
inline
46 {
47 if (logTextBox.Text.Length == 0)
48 {
49 logTextBox.Text = value;
50 }
51 else
52 {
53 logTextBox.AppendText("\n" + value);
54 }
55 }

◆ ClearLog()

void BrawlLib.BrawlManagerLib.ProgressDialog.ClearLog ( )
inline
58 {
59 logTextBox.Clear();
60 }

◆ Dispose()

override void BrawlLib.BrawlManagerLib.ProgressDialog.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
12 {
13 if (disposing && (components != null)) {
14 components.Dispose();
15 }
16 base.Dispose(disposing);
17 }

Property Documentation

◆ InProgressLabel

string BrawlLib.BrawlManagerLib.ProgressDialog.InProgressLabel
getset
20 {
21 get => ProgressLabel.Text;
22 set => ProgressLabel.Text = value;
23 }

◆ Progress

int BrawlLib.BrawlManagerLib.ProgressDialog.Progress
getset
36 {
37 get => ProgressBar.Value;
38 set
39 {
40 ProgressBar.Value = value;
41 CheckOkButtonEnabled();
42 }
43 }

◆ ProgressCompletionAt

int BrawlLib.BrawlManagerLib.ProgressDialog.ProgressCompletionAt
getset
26 {
27 get => ProgressBar.Maximum;
28 set
29 {
30 ProgressBar.Maximum = value;
31 CheckOkButtonEnabled();
32 }
33 }

◆ ProgressTitle

string BrawlLib.BrawlManagerLib.ProgressDialog.ProgressTitle
getset
14 {
15 get => Text;
16 set => Text = value;
17 }

The documentation for this class was generated from the following files: