C# Class DND_Monster.AddAbilityForm

Show file 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 property

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

AbilityName public property

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

AbilityNameTextBox public property

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

AddSpell public property

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

AtWillLabel public property

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

CantripLabel public property

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

CastingAbilityLabel public property

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

DescriptionTextBox public property

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

EighthLevelSpellSlotLabel public property

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

FifthLevelSpellSlotLabel public property

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

FirstLevelSpellSlotLabel public property

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

FourthLevelSpellSlotLabel public property

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

InnateCheckbox public property

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

NewAbility public property

public Ability,DND_Monster NewAbility
return Ability

NinethLevelSpellSlotLabel public property

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

SaveButton public property

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

SecondLevelSpellSlotLabel public property

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

SeventhLevelSpellSlotLabel public property

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

SixthLevelSpellSlotLabel public property

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

SpellCastingAbility public property

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

SpellCastingTable public property

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

SpellClass public property

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

SpellClassLabel public property

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

SpellLevel public property

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

SpellLevelLabel public property

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

SpellList public property

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

SpellNameLabel public property

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

SpellcastingLevel public property

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

SpellcastingLevelLabel public property

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

SpellcastingSave public property

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

Spellslot1 public property

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

Spellslot2 public property

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

Spellslot3 public property

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

Spellslot4 public property

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

Spellslot5 public property

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

Spellslot6 public property

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

Spellslot7 public property

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

Spellslot8 public property

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

Spellslot9 public property

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

ThirdLevelSpellSlotLabel public property

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

advancedCasterAbility public property

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

advancedCasterLevel public property

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

advancedSpellType public property

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

label5 public property

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

label6 public property

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

label7 public property

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

tabControl1 public property

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

tabPage1 public property

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

tabPage2 public property

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

textBox1 public property

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