프로젝트

일반

사용자정보

개정판 5e6ecf05

ID5e6ecf058b4c479f7ab4aab362867f735ad7b129
상위 f1232880
하위 1bd743fd, 56bc67e1

gaqhf 이(가) 5년 이상 전에 추가함

dev issue #000 : branch target 구하는 로직 추가(보안 필요)

Change-Id: Iac4e63f4c2cdbee58c5b7489b7d46e91c5cae942

차이점 보기:

DTI_PID/SPPIDConverter/ConverterForm.cs
67 67
        /// <param name="e">Arguments passed during event</param>
68 68
        private void commandControl_Activate(object sender, EventArgs e)
69 69
        {
70
            if (ShowDialog() == DialogResult.OK)
71
            {
72

  
73
            }
70
            Show();
71
            //if (ShowDialog() == DialogResult.OK)
72
            //{
74 73

  
75
            foreach (var item in commandControl.Application.RADApplication.ActiveSelectSet)
76
            {
77
                //MessageBox.Show(item.GetType());
78
                int count = ((Ingr.RAD2D.LineStringGeometry2d)((Ingr.RAD2D.DependencyObject)item).GetGeometry()).VertexCount;
79
                double[] iii = null;
80
                ((Ingr.RAD2D.LineStringGeometry2d)((Ingr.RAD2D.DependencyObject)item).GetGeometry()).GetVertices(ref count, ref iii);
81
                for (int i = 0; i < count; i++)
82
                {
83
                    double x = 0;
84
                    double y = 0;
85
                    ((Ingr.RAD2D.LineStringGeometry2d)((Ingr.RAD2D.DependencyObject)item).GetGeometry()).GetVertex(i + 1, ref x, ref y);
74
            //}
86 75

  
87
                }
88
                Ingr.RAD2D.Symbol2d symbol2D;
89
                //symbol2D.Move
90
            }
76
            //foreach (var item in commandControl.Application.RADApplication.ActiveSelectSet)
77
            //{
78
            //    //MessageBox.Show(item.GetType());
79
            //    int count = ((Ingr.RAD2D.LineStringGeometry2d)((Ingr.RAD2D.DependencyObject)item).GetGeometry()).VertexCount;
80
            //    double[] iii = null;
81
            //    ((Ingr.RAD2D.LineStringGeometry2d)((Ingr.RAD2D.DependencyObject)item).GetGeometry()).GetVertices(ref count, ref iii);
82
            //    for (int i = 0; i < count; i++)
83
            //    {
84
            //        double x = 0;
85
            //        double y = 0;
86
            //        ((Ingr.RAD2D.LineStringGeometry2d)((Ingr.RAD2D.DependencyObject)item).GetGeometry()).GetVertex(i + 1, ref x, ref y);
87

  
88
            //    }
89
            //    Ingr.RAD2D.Symbol2d symbol2D;
90
            //    //symbol2D.Move
91
            //}
91 92

  
92 93
            //commandControl.Application.RADApplication.Interactive = true;
93 94
            //Hide();
......
526 527

  
527 528
            if (document.SetSPPIDMapping() && document.Enable)
528 529
            {
529
                AutoModeling modeling = new AutoModeling(document);
530
                AutoModeling modeling = new AutoModeling(document, commandControl.Application.RADApplication);
530 531
                modeling.Run();
531 532
            }
532 533

  

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)