C# Class DND_Monster.AddActionForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: FallenWyvern/DnD-Monster-Generator Class Usage Examples

Méthodes publiques

Свойство Type Description
ActionName System.Windows.Forms.Label
AttackAbilityDescription System.Windows.Forms.Label
AttackAbilityDescriptionField System.Windows.Forms.RichTextBox
AttackAbilityNameField System.Windows.Forms.TextBox
AttackBonusUpDown System.Windows.Forms.NumericUpDown
AttackHitEffect System.Windows.Forms.Label
AttackName System.Windows.Forms.Label
AttackNameField System.Windows.Forms.TextBox
AttackRange System.Windows.Forms.Label
AttackTarget System.Windows.Forms.Label
AttackToHitBonus System.Windows.Forms.Label
AttackType System.Windows.Forms.Label
AttackTypeDropdown System.Windows.Forms.ComboBox
DescriptionLabel System.Windows.Forms.Label
HitDamageEffect System.Windows.Forms.TextBox
HitDamageType System.Windows.Forms.ComboBox
HitDiceBonusDamage System.Windows.Forms.NumericUpDown
HitDiceType System.Windows.Forms.ComboBox
HitNumberOfDice System.Windows.Forms.NumericUpDown
NewAbility Ability
NewAttack Ability
NewReaction Ability
RangeUpDownClose System.Windows.Forms.NumericUpDown
RangeUpDownFar System.Windows.Forms.NumericUpDown
Reach System.Windows.Forms.Label
ReachUpDown System.Windows.Forms.NumericUpDown
ReactionDescription System.Windows.Forms.RichTextBox
ReactionName System.Windows.Forms.TextBox
ReactionNameLabel System.Windows.Forms.Label
ReactionSave System.Windows.Forms.Button
label1 System.Windows.Forms.Label
label2 System.Windows.Forms.Label
label8 System.Windows.Forms.Label
multiAttackDescription System.Windows.Forms.RichTextBox
tabControl1 System.Windows.Forms.TabControl
tabPage1 System.Windows.Forms.TabPage
tabPage2 System.Windows.Forms.TabPage
tabPage3 System.Windows.Forms.TabPage

Méthodes publiques

Méthode Description
AddActionForm ( string currentCR = "" ) : System
LoadAction ( Ability values ) : void
LoadAttack ( Ability values ) : void
LoadReaction ( Ability values ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AddActionForm_Load ( object sender, EventArgs e ) : void
AverageDamage ( int numOfDie, string sizeOfDie, int bonus ) : int
ConfigureRange ( object sender, EventArgs e ) : void
DexterityAttackButton_Click ( object sender, EventArgs e ) : void
FillActionOnTabChange ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

Save ( object sender, EventArgs e ) : void
StrengthAttackButton_Click ( object sender, EventArgs e ) : void
diceSize ( string sizeOfDie ) : int

Method Details

AddActionForm() public méthode

public AddActionForm ( string currentCR = "" ) : System
currentCR string
Résultat System

Dispose() protected méthode

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

LoadAction() public méthode

public LoadAction ( Ability values ) : void
values Ability
Résultat void

LoadAttack() public méthode

public LoadAttack ( Ability values ) : void
values Ability
Résultat void

LoadReaction() public méthode

public LoadReaction ( Ability values ) : void
values Ability
Résultat void

Property Details

ActionName public_oe property

public System.Windows.Forms.Label ActionName
Résultat System.Windows.Forms.Label

AttackAbilityDescription public_oe property

public System.Windows.Forms.Label AttackAbilityDescription
Résultat System.Windows.Forms.Label

AttackAbilityDescriptionField public_oe property

public System.Windows.Forms.RichTextBox AttackAbilityDescriptionField
Résultat System.Windows.Forms.RichTextBox

AttackAbilityNameField public_oe property

public System.Windows.Forms.TextBox AttackAbilityNameField
Résultat System.Windows.Forms.TextBox

AttackBonusUpDown public_oe property

public System.Windows.Forms.NumericUpDown AttackBonusUpDown
Résultat System.Windows.Forms.NumericUpDown

AttackHitEffect public_oe property

public System.Windows.Forms.Label AttackHitEffect
Résultat System.Windows.Forms.Label

AttackName public_oe property

public System.Windows.Forms.Label AttackName
Résultat System.Windows.Forms.Label

AttackNameField public_oe property

public System.Windows.Forms.TextBox AttackNameField
Résultat System.Windows.Forms.TextBox

AttackRange public_oe property

public System.Windows.Forms.Label AttackRange
Résultat System.Windows.Forms.Label

AttackTarget public_oe property

public System.Windows.Forms.Label AttackTarget
Résultat System.Windows.Forms.Label

AttackToHitBonus public_oe property

public System.Windows.Forms.Label AttackToHitBonus
Résultat System.Windows.Forms.Label

AttackType public_oe property

public System.Windows.Forms.Label AttackType
Résultat System.Windows.Forms.Label

AttackTypeDropdown public_oe property

public System.Windows.Forms.ComboBox AttackTypeDropdown
Résultat System.Windows.Forms.ComboBox

DescriptionLabel public_oe property

public System.Windows.Forms.Label DescriptionLabel
Résultat System.Windows.Forms.Label

HitDamageEffect public_oe property

public System.Windows.Forms.TextBox HitDamageEffect
Résultat System.Windows.Forms.TextBox

HitDamageType public_oe property

public System.Windows.Forms.ComboBox HitDamageType
Résultat System.Windows.Forms.ComboBox

HitDiceBonusDamage public_oe property

public System.Windows.Forms.NumericUpDown HitDiceBonusDamage
Résultat System.Windows.Forms.NumericUpDown

HitDiceType public_oe property

public System.Windows.Forms.ComboBox HitDiceType
Résultat System.Windows.Forms.ComboBox

HitNumberOfDice public_oe property

public System.Windows.Forms.NumericUpDown HitNumberOfDice
Résultat System.Windows.Forms.NumericUpDown

NewAbility public_oe property

public Ability,DND_Monster NewAbility
Résultat Ability

NewAttack public_oe property

public Ability,DND_Monster NewAttack
Résultat Ability

NewReaction public_oe property

public Ability,DND_Monster NewReaction
Résultat Ability

RangeUpDownClose public_oe property

public System.Windows.Forms.NumericUpDown RangeUpDownClose
Résultat System.Windows.Forms.NumericUpDown

RangeUpDownFar public_oe property

public System.Windows.Forms.NumericUpDown RangeUpDownFar
Résultat System.Windows.Forms.NumericUpDown

Reach public_oe property

public System.Windows.Forms.Label Reach
Résultat System.Windows.Forms.Label

ReachUpDown public_oe property

public System.Windows.Forms.NumericUpDown ReachUpDown
Résultat System.Windows.Forms.NumericUpDown

ReactionDescription public_oe property

public System.Windows.Forms.RichTextBox ReactionDescription
Résultat System.Windows.Forms.RichTextBox

ReactionName public_oe property

public System.Windows.Forms.TextBox ReactionName
Résultat System.Windows.Forms.TextBox

ReactionNameLabel public_oe property

public System.Windows.Forms.Label ReactionNameLabel
Résultat System.Windows.Forms.Label

ReactionSave public_oe property

public System.Windows.Forms.Button ReactionSave
Résultat System.Windows.Forms.Button

label1 public_oe property

public System.Windows.Forms.Label label1
Résultat System.Windows.Forms.Label

label2 public_oe property

public System.Windows.Forms.Label label2
Résultat System.Windows.Forms.Label

label8 public_oe property

public System.Windows.Forms.Label label8
Résultat System.Windows.Forms.Label

multiAttackDescription public_oe property

public System.Windows.Forms.RichTextBox multiAttackDescription
Résultat System.Windows.Forms.RichTextBox

tabControl1 public_oe property

public System.Windows.Forms.TabControl tabControl1
Résultat System.Windows.Forms.TabControl

tabPage1 public_oe property

public System.Windows.Forms.TabPage tabPage1
Résultat System.Windows.Forms.TabPage

tabPage2 public_oe property

public System.Windows.Forms.TabPage tabPage2
Résultat System.Windows.Forms.TabPage

tabPage3 public_oe property

public System.Windows.Forms.TabPage tabPage3
Résultat System.Windows.Forms.TabPage