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.ExportAllFormatDialog Class Reference
Inheritance diagram for BrawlLib.Internal.Windows.Forms.ExportAllFormatDialog:

Public Member Functions

 ExportAllFormatDialog (string title, Type t, string filters)
 

Public Attributes

System.Windows.Forms.ComboBox comboBox1
 
System.Windows.Forms.Label label1
 

Protected Member Functions

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

Properties

string SelectedExtension [get]
 
bool Valid [get]
 
bool AutoSelect [get]
 

Constructor & Destructor Documentation

◆ ExportAllFormatDialog()

BrawlLib.Internal.Windows.Forms.ExportAllFormatDialog.ExportAllFormatDialog ( string  title,
Type  t,
string  filters 
)
inline
9 {
10 InitializeComponent();
11 Icon = Properties.Resources.Icon;
12 Text = title;
13 label1.Text = $"Output format for {t.Name}:";
14 string[] source = filters.Split('|');
15 for (int i = 0; i < source.Length; i += 2)
16 {
17 if (!source[i].StartsWith("All"))
18 {
19 comboBox1.Items.Add(new FormatForExportAllDialog(source[i], source[i + 1]));
20 }
21 }
22
23 if (comboBox1.Items.Count == 0)
24 {
25 return;
26 }
27
28 comboBox1.SelectedIndex = 0;
29 }
System.Windows.Forms.ComboBox comboBox1
Definition: ExportAllAskFormat.designer.cs:94

Member Function Documentation

◆ Dispose()

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

Clean up any resources being used.

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

Member Data Documentation

◆ comboBox1

System.Windows.Forms.ComboBox BrawlLib.Internal.Windows.Forms.ExportAllFormatDialog.comboBox1

◆ label1

System.Windows.Forms.Label BrawlLib.Internal.Windows.Forms.ExportAllFormatDialog.label1

Property Documentation

◆ AutoSelect

bool BrawlLib.Internal.Windows.Forms.ExportAllFormatDialog.AutoSelect
get

◆ SelectedExtension

string BrawlLib.Internal.Windows.Forms.ExportAllFormatDialog.SelectedExtension
get

◆ Valid

bool BrawlLib.Internal.Windows.Forms.ExportAllFormatDialog.Valid
get

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