示例#1
0
 protected override void IntitalizeControls()
 {
     myNameText = new NumericTextComponent(new Point(Location.X, Location.Y + 10), new Size(245, 13), "Name", false);
     myNameText.GetTextBox().TextChanged += new EventHandler(this.NameTextBox_Changed);
     myNameText.BindToPanel(this);
     myNameText.Show();
 }
 public void AddTextChangeEvent(EventHandler aEvent)
 {
     myMinValue.GetTextBox().TextChanged += new EventHandler(aEvent);
     myMaxValue.GetTextBox().TextChanged += new EventHandler(aEvent);
 }
示例#3
0
 public void AddTextChangeEvent(EventHandler aEvent)
 {
     myXText.GetTextBox().TextChanged += new EventHandler(aEvent);
     myYText.GetTextBox().TextChanged += new EventHandler(aEvent);
     myZText.GetTextBox().TextChanged += new EventHandler(aEvent);
 }