프로젝트

일반

사용자정보

개정판 16a422d1

ID16a422d1f5c6d66a5842aaa7d994d56b7a6f5916
상위 35a96e24
하위 b9ce7aee

백흠경이(가) 5년 이상 전에 추가함

issue #000: add ConsolidateCommand

Change-Id: Ib75611bb9f4bf3205e7cd2dadac902c382e2492b

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
2321 2321
                                    control.PointSet.RemoveAt(control.PointSet.Count - 1);
2322 2322
                                    control.PointSet.Add(currentCanvasDrawingMouseMovePoint);
2323 2323
                                    control.Paint = ViewerDataModel.Instance.paintSet;
2324
                                    ///control.SetPolyPath();
2324
                                    control.ApplyTemplate();
2325 2325
                                    //강인구 추가
2326 2326
                                    control.DashSize = ViewerDataModel.Instance.DashSize;
2327 2327
                                    control.Paint = ViewerDataModel.Instance.paintSet;
......
4857 4857
                                    currentControl = new PolygonControl
4858 4858
                                    {
4859 4859
                                        PointSet = new List<Point>(),
4860
                                        //PointC = new StylusPointSet()
4861 4860
                                    };
4862 4861

  
4863
                                    //if (IsDrawingEnable(canvasZoomPanningMouseDownPoint))
4864
                                    //{
4865
                                        var polygonControl = (currentControl as PolygonControl);
4866
                                        currentControl.CommentID = Commons.shortGuid();
4867
                                        currentControl.IsNew = true;
4868
                                        currentControl.MarkupInfoID = App.Custom_ViewInfoId;
4869
                                        ViewerDataModel.Instance.MarkupControls_USER.Add(currentControl);
4870
                                        //currentControl.OnApplyTemplate();
4871
                                        polygonControl.PointSet.Add(canvasDrawingMouseDownPoint);
4872
                                        polygonControl.PointSet.Add(canvasDrawingMouseDownPoint);
4873
                                    //}
4862
                                    var polygonControl = (currentControl as PolygonControl);
4863
                                    currentControl.CommentID = Commons.shortGuid();
4864
                                    currentControl.IsNew = true;
4865
                                    currentControl.MarkupInfoID = App.Custom_ViewInfoId;
4866
                                    ViewerDataModel.Instance.MarkupControls_USER.Add(currentControl);
4867
                                    //currentControl.OnApplyTemplate();
4868
                                    polygonControl.PointSet.Add(canvasDrawingMouseDownPoint);
4869
                                    polygonControl.PointSet.Add(canvasDrawingMouseDownPoint);
4870
                                    polygonControl.ApplyTemplate();
4871
                                    polygonControl.Visibility = Visibility.Visible;
4874 4872
                                }
4875 4873
                            }
4876 4874
                        }

내보내기 Unified diff

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