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

Public Member Functions

 NumericInputForm ()
 
new DialogResult ShowDialog ()
 
DialogResult ShowDialog (string newTitle, string newLower)
 
DialogResult ShowDialog (string newTitle, string newLower, float val)
 

Public Attributes

string title = "Numeric Entry Box"
 
string lowerText = "Error; No arguments given"
 
global::BrawlLib.Internal.Windows.Controls.NumericInputBox numNewCount
 

Protected Member Functions

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

Properties

int NewValue [get]
 
float NewFloatValue [get]
 
bool Cancellable [get, set]
 

Constructor & Destructor Documentation

◆ NumericInputForm()

BrawlLib.Internal.Windows.Forms.NumericInputForm.NumericInputForm ( )
inline
12 {
13 InitializeComponent();
14 }

Member Function Documentation

◆ Dispose()

override void BrawlLib.Internal.Windows.Forms.NumericInputForm.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
18 {
19 if (disposing && (components != null))
20 {
21 components.Dispose();
22 }
23 base.Dispose(disposing);
24 }

◆ ShowDialog() [1/3]

new DialogResult BrawlLib.Internal.Windows.Forms.NumericInputForm.ShowDialog ( )
inline
21 {
22 Text = title;
23 label2.Text = lowerText;
24 return base.ShowDialog();
25 }
string title
Definition: NumericInputForm.cs:8
string lowerText
Definition: NumericInputForm.cs:9

◆ ShowDialog() [2/3]

DialogResult BrawlLib.Internal.Windows.Forms.NumericInputForm.ShowDialog ( string  newTitle,
string  newLower 
)
inline
28 {
29 Text = newTitle;
30 label2.Text = newLower;
31 return base.ShowDialog();
32 }

◆ ShowDialog() [3/3]

DialogResult BrawlLib.Internal.Windows.Forms.NumericInputForm.ShowDialog ( string  newTitle,
string  newLower,
float  val 
)
inline
35 {
36 Text = newTitle;
37 label2.Text = newLower;
38 numNewCount.Value = val;
39 return base.ShowDialog();
40 }

Member Data Documentation

◆ lowerText

string BrawlLib.Internal.Windows.Forms.NumericInputForm.lowerText = "Error; No arguments given"

◆ numNewCount

global.BrawlLib.Internal.Windows.Controls.NumericInputBox BrawlLib.Internal.Windows.Forms.NumericInputForm.numNewCount

◆ title

string BrawlLib.Internal.Windows.Forms.NumericInputForm.title = "Numeric Entry Box"

Property Documentation

◆ Cancellable

bool BrawlLib.Internal.Windows.Forms.NumericInputForm.Cancellable
getset
43 {
44 get => btnCancel.Enabled && btnCancel.Visible;
45 set
46 {
47 btnCancel.Enabled = value;
48 btnCancel.Visible = value;
49 }
50 }

◆ NewFloatValue

float BrawlLib.Internal.Windows.Forms.NumericInputForm.NewFloatValue
get

◆ NewValue

int BrawlLib.Internal.Windows.Forms.NumericInputForm.NewValue
get

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