C# Class DND_Monster.AddLegendaryForm

Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: FallenWyvern/DnD-Monster-Generator Class Usage Examples

Public Properties

Property Type Description
AbilityName System.Windows.Forms.TextBox
AbilityNameLabel System.Windows.Forms.Label
LegendaryAbility Legendary
LegendaryAbilityName System.Windows.Forms.TextBox
ListHelperLabel System.Windows.Forms.Label
LoadTrait System.Windows.Forms.Button
NameLabel System.Windows.Forms.Label
SaveTrait System.Windows.Forms.Button
TraitDescriptionBox System.Windows.Forms.RichTextBox
Traits System.Windows.Forms.ListBox
numberOfLegendaryActions System.Windows.Forms.NumericUpDown

Public Methods

Method Description
AddLegendaryForm ( ) : System
LoadLegendary ( Legendary target ) : void
SerializeTraits ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddLegendaryForm_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

LoadTrait_Click ( object sender, EventArgs e ) : void
MoveItem ( int direction, ListBox target ) : void
RemoveTrait ( object sender, MouseEventArgs e ) : void
SaveTrait_Click ( object sender, EventArgs e ) : void
TraitsList_KeyDown ( object sender, KeyEventArgs e ) : void
UpdateTitle ( object sender, EventArgs e ) : void

Method Details

AddLegendaryForm() public method

public AddLegendaryForm ( ) : 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

LoadLegendary() public method

public LoadLegendary ( Legendary target ) : void
target Legendary
return void

SerializeTraits() public method

public SerializeTraits ( ) : void
return void

Property Details

AbilityName public_oe property

public System.Windows.Forms.TextBox AbilityName
return System.Windows.Forms.TextBox

AbilityNameLabel public_oe property

public System.Windows.Forms.Label AbilityNameLabel
return System.Windows.Forms.Label

LegendaryAbility public_oe property

public Legendary,DND_Monster LegendaryAbility
return Legendary

LegendaryAbilityName public_oe property

public System.Windows.Forms.TextBox LegendaryAbilityName
return System.Windows.Forms.TextBox

ListHelperLabel public_oe property

public System.Windows.Forms.Label ListHelperLabel
return System.Windows.Forms.Label

LoadTrait public_oe property

public System.Windows.Forms.Button LoadTrait
return System.Windows.Forms.Button

NameLabel public_oe property

public System.Windows.Forms.Label NameLabel
return System.Windows.Forms.Label

SaveTrait public_oe property

public System.Windows.Forms.Button SaveTrait
return System.Windows.Forms.Button

TraitDescriptionBox public_oe property

public System.Windows.Forms.RichTextBox TraitDescriptionBox
return System.Windows.Forms.RichTextBox

Traits public_oe property

public System.Windows.Forms.ListBox Traits
return System.Windows.Forms.ListBox

numberOfLegendaryActions public_oe property

public System.Windows.Forms.NumericUpDown numberOfLegendaryActions
return System.Windows.Forms.NumericUpDown