Exemplo n.º 1
0
 public override void Draw(
     PaintEventArgs e,
     GraphicsHelper graphicsHelper,
     InteractionContext context)
 {
     base.Draw(e, graphicsHelper, context);
     DxfCircle.Class13.Form2.smethod_0((DxfEntity.Interactor.WinFormsDrawable) this, e, graphicsHelper, context, false);
     DxfCircle.Class13 interactor = (DxfCircle.Class13) this.Interactor;
     for (int index = 0; index < interactor.ControlPointIndex; ++index)
     {
         graphicsHelper.DrawEditHandle(e.Graphics, graphicsHelper.DefaultPen, context.ProjectionTransform.TransformTo2D(interactor.ControlPoints.Get(index)));
     }
 }
Exemplo n.º 2
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();
 }