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

Public Member Functions

 CopyDialog (string pacNew, string pacExisting)
 

Protected Member Functions

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

Constructor & Destructor Documentation

◆ CopyDialog()

BrawlLib.BrawlManagerLib.CopyDialog.CopyDialog ( string  pacNew,
string  pacExisting 
)
inline
10 {
11 InitializeComponent();
12
13 CopyDialog dialog = this;
14 dialog.lblPacNewName.Text = Path.GetFileName(pacNew);
15 dialog.lblPacNewMD5.Text = ByteUtilities.MD5Sum(pacNew);
16 dialog.lblPacExistingName.Text = Path.GetFileName(pacExisting);
17 dialog.lblPacExistingMD5.Text = ByteUtilities.MD5Sum(pacExisting);
18
19 if (dialog.lblPacNewMD5.Text == dialog.lblPacExistingMD5.Text)
20 {
21 dialog.lblPacExistingMD5.ForeColor = dialog.lblPacNewMD5.ForeColor = Color.Green;
22 }
23 }
CopyDialog(string pacNew, string pacExisting)
Definition: CopyDialog.cs:9

Member Function Documentation

◆ Dispose()

override void BrawlLib.BrawlManagerLib.CopyDialog.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 }

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