Exemple #1
0
 public Form2(DxfCircle.Class13 interactor, Control hostControl)
     : base((DxfEntity.Interactor)interactor)
 {
     this.class13_0          = interactor;
     this.control_0          = hostControl;
     this.fieldEditControl_0 = FieldEditControl.Create(Class675.Radius);
     this.fieldEditControl_0.TextBox.KeyPress += new KeyPressEventHandler(this.method_0);
     interactor.Activated   += new EventHandler(this.method_1);
     interactor.Deactivated += new EventHandler(this.method_3);
     if (!interactor.IsActive)
     {
         return;
     }
     this.method_2();
 }
Exemple #2
0
 public Form11(
     DxfEntity.Interactor interactor,
     Control hostControl,
     IInteractorWinFormsDrawable baseDrawable)
     : base(interactor, baseDrawable)
 {
     this.control_0          = hostControl;
     this.fieldEditControl_0 = FieldEditControl.Create(Class675.Length);
     this.fieldEditControl_0.TextBox.KeyPress += new KeyPressEventHandler(this.method_0);
     interactor.Activated   += new EventHandler(this.method_2);
     interactor.Deactivated += new EventHandler(this.method_4);
     if (!interactor.IsActive)
     {
         return;
     }
     this.method_3();
 }