Beispiel #1
0
 private void psvReplace_Click(object sender, EventArgs e)
 {
     using (SelectShapeForm form = new SelectShapeForm())
     {
         form.SetShapes(m_ReplaceShape);
         if (Autodesk.AutoCAD.ApplicationServices.Application.ShowModalDialog(null, form, false) == System.Windows.Forms.DialogResult.OK)
         {
             SetReplaceShape(form.Current);
         }
     }
 }
Beispiel #2
0
 private void posShapeView_Click(object sender, EventArgs e)
 {
     using (SelectShapeForm form = new SelectShapeForm())
     {
         form.SetShapes(m_Shape);
         if (Autodesk.AutoCAD.ApplicationServices.Application.ShowModalDialog(null, form, false) == System.Windows.Forms.DialogResult.OK)
         {
             m_Shape = form.Current;
             SetShape();
             UpdateLength();
         }
     }
 }
Beispiel #3
0
 private void psvReplace_Click(object sender, EventArgs e)
 {
     using (SelectShapeForm form = new SelectShapeForm())
     {
         form.SetShapes(m_ReplaceShape);
         if (Autodesk.AutoCAD.ApplicationServices.Application.ShowModalDialog(null, form, false) == System.Windows.Forms.DialogResult.OK)
         {
             SetReplaceShape(form.Current);
         }
     }
 }
Beispiel #4
0
 private void posShapeView_Click(object sender, EventArgs e)
 {
     using (SelectShapeForm form = new SelectShapeForm())
     {
         form.SetShapes(m_Shape);
         if (Autodesk.AutoCAD.ApplicationServices.Application.ShowModalDialog(null, form, false) == System.Windows.Forms.DialogResult.OK)
         {
             m_Shape = form.Current;
             SetShape();
             UpdateLength();
         }
     }
 }