Exemplo n.º 1
0
 protected virtual void OnMouseMoveProcessed(InteractorMouseEventArgs e)
 {
     if (this.eventHandler_1 == null)
     {
         return;
     }
     this.eventHandler_1((object)this, e);
 }
Exemplo n.º 2
0
 private void method_4(object sender, InteractorMouseEventArgs e)
 {
     if (!this.class13_0.EnteredRadius.HasValue)
     {
         this.bool_0 = true;
         try
         {
             this.fieldEditControl_0.TextBox.Text = ((DxfCircle)this.class13_0.Entity).Radius.ToString(e.InteractionContext.LengthFormatString);
             this.fieldEditControl_0.TextBox.SelectAll();
         }
         finally
         {
             this.bool_0 = false;
         }
     }
     this.fieldEditControl_0.TextBox.Focus();
 }
Exemplo n.º 3
0
 private void method_1(object sender, InteractorMouseEventArgs e)
 {
     if (!((DxfLine.ILineInteractor) this.Interactor).EnteredLength.HasValue)
     {
         this.bool_0 = true;
         try
         {
             DxfLine entity = (DxfLine)this.Interactor.Entity;
             this.fieldEditControl_0.TextBox.Text = (entity.point3D_1 - entity.point3D_0).GetLength().ToString(e.InteractionContext.LengthFormatString);
             this.fieldEditControl_0.TextBox.SelectAll();
         }
         finally
         {
             this.bool_0 = false;
         }
     }
     this.fieldEditControl_0.TextBox.Focus();
 }