Ejemplo n.º 1
0
 public DieControl(RuleEditor parent, int count, int faces)
 {
     InitializeComponent();
     owner         = parent;
     DieCount.Text = count.ToString();
     DieFaces.Text = faces.ToString();
 }
Ejemplo n.º 2
0
 public Modifier(RuleEditor owner, int magnitude, string reason)
 {
     InitializeComponent();
     this.owner = owner;
     if (magnitude < 0)
     {
         PlusMinusLabel.Text = "-";
     }
     MagnitudeTextbox.Text = magnitude.ToString();
     ReasonTextbox.Text    = reason;
 }