C# Class DND_Monster.AddAbilityForm

ファイルを表示 Open project: FallenWyvern/DnD-Monster-Generator Class Usage Examples

Public Properties

Property Type Description
AbilityDescription System.Windows.Forms.Label
AbilityName System.Windows.Forms.Label
AbilityNameTextBox System.Windows.Forms.TextBox
AddSpell System.Windows.Forms.Button
AtWillLabel System.Windows.Forms.Label
CantripLabel System.Windows.Forms.Label
CastingAbilityLabel System.Windows.Forms.Label
DescriptionTextBox System.Windows.Forms.RichTextBox
EighthLevelSpellSlotLabel System.Windows.Forms.Label
FifthLevelSpellSlotLabel System.Windows.Forms.Label
FirstLevelSpellSlotLabel System.Windows.Forms.Label
FourthLevelSpellSlotLabel System.Windows.Forms.Label
InnateCheckbox System.Windows.Forms.CheckBox
NewAbility Ability
NinethLevelSpellSlotLabel System.Windows.Forms.Label
SaveButton System.Windows.Forms.Button
SecondLevelSpellSlotLabel System.Windows.Forms.Label
SeventhLevelSpellSlotLabel System.Windows.Forms.Label
SixthLevelSpellSlotLabel System.Windows.Forms.Label
SpellCastingAbility System.Windows.Forms.ComboBox
SpellCastingTable System.Windows.Forms.TableLayoutPanel
SpellClass System.Windows.Forms.ComboBox
SpellClassLabel System.Windows.Forms.Label
SpellLevel System.Windows.Forms.NumericUpDown
SpellLevelLabel System.Windows.Forms.Label
SpellList System.Windows.Forms.ListBox
SpellNameLabel System.Windows.Forms.Label
SpellcastingLevel System.Windows.Forms.NumericUpDown
SpellcastingLevelLabel System.Windows.Forms.Label
SpellcastingSave System.Windows.Forms.Button
Spellslot1 System.Windows.Forms.NumericUpDown
Spellslot2 System.Windows.Forms.NumericUpDown
Spellslot3 System.Windows.Forms.NumericUpDown
Spellslot4 System.Windows.Forms.NumericUpDown
Spellslot5 System.Windows.Forms.NumericUpDown
Spellslot6 System.Windows.Forms.NumericUpDown
Spellslot7 System.Windows.Forms.NumericUpDown
Spellslot8 System.Windows.Forms.NumericUpDown
Spellslot9 System.Windows.Forms.NumericUpDown
ThirdLevelSpellSlotLabel System.Windows.Forms.Label
advancedCasterAbility System.Windows.Forms.ComboBox
advancedCasterLevel System.Windows.Forms.NumericUpDown
advancedSpellType System.Windows.Forms.ComboBox
label5 System.Windows.Forms.Label
label6 System.Windows.Forms.Label
label7 System.Windows.Forms.Label
tabControl1 System.Windows.Forms.TabControl
tabPage1 System.Windows.Forms.TabPage
tabPage2 System.Windows.Forms.TabPage
textBox1 System.Windows.Forms.TextBox

Public Methods

Method Description
AddAbilityForm ( ) : System
LoadAbility ( ) : void
LoadAbility ( Ability values ) : void
LoadSpell ( Ability values ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddSpellToList ( object sender, EventArgs e ) : void
AdjustSlots ( object sender, EventArgs e ) : void
AdjustSpell ( object sender, EventArgs e ) : void
AdvancedSpellText ( ) : void
ChangeSpellLevelMax ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InnateCheckbox_CheckedChanged ( object sender, EventArgs e ) : void
Save ( object sender, EventArgs e ) : void
SpellListItemRemove ( object sender, EventArgs e ) : void
ToDescription_Innate ( ) : string
ToDescription_NotInnate ( ) : string
UpdatePopOutTitle ( object sender, EventArgs e ) : void

Method Details

AddAbilityForm() public method

public AddAbilityForm ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

LoadAbility() public method

public LoadAbility ( ) : void
return void

LoadAbility() public method

public LoadAbility ( Ability values ) : void
values Ability
return void

LoadSpell() public method

public LoadSpell ( Ability values ) : void
values Ability
return void

Property Details

AbilityDescription public_oe property

public System.Windows.Forms.Label AbilityDescription
return System.Windows.Forms.Label

AbilityName public_oe property

public System.Windows.Forms.Label AbilityName
return System.Windows.Forms.Label

AbilityNameTextBox public_oe property

public System.Windows.Forms.TextBox AbilityNameTextBox
return System.Windows.Forms.TextBox

AddSpell public_oe property

public System.Windows.Forms.Button AddSpell
return System.Windows.Forms.Button

AtWillLabel public_oe property

public System.Windows.Forms.Label AtWillLabel
return System.Windows.Forms.Label

CantripLabel public_oe property

public System.Windows.Forms.Label CantripLabel
return System.Windows.Forms.Label

CastingAbilityLabel public_oe property

public System.Windows.Forms.Label CastingAbilityLabel
return System.Windows.Forms.Label

DescriptionTextBox public_oe property

public System.Windows.Forms.RichTextBox DescriptionTextBox
return System.Windows.Forms.RichTextBox

EighthLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label EighthLevelSpellSlotLabel
return System.Windows.Forms.Label

FifthLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label FifthLevelSpellSlotLabel
return System.Windows.Forms.Label

FirstLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label FirstLevelSpellSlotLabel
return System.Windows.Forms.Label

FourthLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label FourthLevelSpellSlotLabel
return System.Windows.Forms.Label

InnateCheckbox public_oe property

public System.Windows.Forms.CheckBox InnateCheckbox
return System.Windows.Forms.CheckBox

NewAbility public_oe property

public Ability,DND_Monster NewAbility
return Ability

NinethLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label NinethLevelSpellSlotLabel
return System.Windows.Forms.Label

SaveButton public_oe property

public System.Windows.Forms.Button SaveButton
return System.Windows.Forms.Button

SecondLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label SecondLevelSpellSlotLabel
return System.Windows.Forms.Label

SeventhLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label SeventhLevelSpellSlotLabel
return System.Windows.Forms.Label

SixthLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label SixthLevelSpellSlotLabel
return System.Windows.Forms.Label

SpellCastingAbility public_oe property

public System.Windows.Forms.ComboBox SpellCastingAbility
return System.Windows.Forms.ComboBox

SpellCastingTable public_oe property

public System.Windows.Forms.TableLayoutPanel SpellCastingTable
return System.Windows.Forms.TableLayoutPanel

SpellClass public_oe property

public System.Windows.Forms.ComboBox SpellClass
return System.Windows.Forms.ComboBox

SpellClassLabel public_oe property

public System.Windows.Forms.Label SpellClassLabel
return System.Windows.Forms.Label

SpellLevel public_oe property

public System.Windows.Forms.NumericUpDown SpellLevel
return System.Windows.Forms.NumericUpDown

SpellLevelLabel public_oe property

public System.Windows.Forms.Label SpellLevelLabel
return System.Windows.Forms.Label

SpellList public_oe property

public System.Windows.Forms.ListBox SpellList
return System.Windows.Forms.ListBox

SpellNameLabel public_oe property

public System.Windows.Forms.Label SpellNameLabel
return System.Windows.Forms.Label

SpellcastingLevel public_oe property

public System.Windows.Forms.NumericUpDown SpellcastingLevel
return System.Windows.Forms.NumericUpDown

SpellcastingLevelLabel public_oe property

public System.Windows.Forms.Label SpellcastingLevelLabel
return System.Windows.Forms.Label

SpellcastingSave public_oe property

public System.Windows.Forms.Button SpellcastingSave
return System.Windows.Forms.Button

Spellslot1 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot1
return System.Windows.Forms.NumericUpDown

Spellslot2 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot2
return System.Windows.Forms.NumericUpDown

Spellslot3 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot3
return System.Windows.Forms.NumericUpDown

Spellslot4 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot4
return System.Windows.Forms.NumericUpDown

Spellslot5 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot5
return System.Windows.Forms.NumericUpDown

Spellslot6 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot6
return System.Windows.Forms.NumericUpDown

Spellslot7 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot7
return System.Windows.Forms.NumericUpDown

Spellslot8 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot8
return System.Windows.Forms.NumericUpDown

Spellslot9 public_oe property

public System.Windows.Forms.NumericUpDown Spellslot9
return System.Windows.Forms.NumericUpDown

ThirdLevelSpellSlotLabel public_oe property

public System.Windows.Forms.Label ThirdLevelSpellSlotLabel
return System.Windows.Forms.Label

advancedCasterAbility public_oe property

public System.Windows.Forms.ComboBox advancedCasterAbility
return System.Windows.Forms.ComboBox

advancedCasterLevel public_oe property

public System.Windows.Forms.NumericUpDown advancedCasterLevel
return System.Windows.Forms.NumericUpDown

advancedSpellType public_oe property

public System.Windows.Forms.ComboBox advancedSpellType
return System.Windows.Forms.ComboBox

label5 public_oe property

public System.Windows.Forms.Label label5
return System.Windows.Forms.Label

label6 public_oe property

public System.Windows.Forms.Label label6
return System.Windows.Forms.Label

label7 public_oe property

public System.Windows.Forms.Label label7
return System.Windows.Forms.Label

tabControl1 public_oe property

public System.Windows.Forms.TabControl tabControl1
return System.Windows.Forms.TabControl

tabPage1 public_oe property

public System.Windows.Forms.TabPage tabPage1
return System.Windows.Forms.TabPage

tabPage2 public_oe property

public System.Windows.Forms.TabPage tabPage2
return System.Windows.Forms.TabPage

textBox1 public_oe property

public System.Windows.Forms.TextBox textBox1
return System.Windows.Forms.TextBox