프로젝트

일반

사용자정보

개정판 f816dd63

IDf816dd6357f0fb301a464a292ede54cf45105b5e
상위 d0b39faa
하위 4169a7ba, f86d9939

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

issue #923: add RedoCommand class

Change-Id: I4030ff812a02655439edccaa65cdaaa035e1549a

차이점 보기:

KCOM/Controls/AdornerFinal.xaml.cs
1195 1195

  
1196 1196
            var comments = (from drawing in this.MemberSet
1197 1197
                            select drawing.DrawingData as CommentUserInfo).ToList();
1198
            UndoCommand.Instance.Execute(comments, this.AngleValue);
1198
            UndoCommand.Instance.Push(comments, this.AngleValue);
1199 1199
        }
1200 1200

  
1201 1201
        /// <summary>
......
1231 1231

  
1232 1232
            var comments = (from drawing in this.MemberSet
1233 1233
                            select drawing.DrawingData as CommentUserInfo).ToList();
1234
            UndoCommand.Instance.Execute(comments, this.AngleValue);
1234
            UndoCommand.Instance.Push(comments, this.AngleValue);
1235 1235
        }
1236 1236

  
1237 1237
        private void rotate_MouseMove(object sender, MouseEventArgs e)
......
1969 1969

  
1970 1970
            var comments = (from drawing in this.MemberSet
1971 1971
                            select drawing.DrawingData as CommentUserInfo).ToList();
1972
            UndoCommand.Instance.Execute(comments, this.AngleValue);
1972
            UndoCommand.Instance.Push(comments, this.AngleValue);
1973 1973
        }
1974 1974
        
1975 1975
        private void rotate_DragCompleted(object sender, DragCompletedEventArgs e)
......
1978 1978

  
1979 1979
            var comments = (from drawing in this.MemberSet
1980 1980
                            select drawing.DrawingData as CommentUserInfo).ToList();
1981
            UndoCommand.Instance.Execute(comments, this.AngleValue);
1981
            UndoCommand.Instance.Push(comments, this.AngleValue);
1982 1982
        }
1983 1983

  
1984 1984
        private void drag_DragStarted(object sender, DragStartedEventArgs e)
......
2004 2004

  
2005 2005
            var comments = (from drawing in this.MemberSet
2006 2006
                            select drawing.DrawingData as CommentUserInfo).ToList();
2007
            UndoCommand.Instance.Execute(comments, this.AngleValue);
2007
            UndoCommand.Instance.Push(comments, this.AngleValue);
2008 2008
        }
2009 2009

  
2010 2010
        private void drag_DragCompleted(object sender, DragCompletedEventArgs e)
......
2013 2013

  
2014 2014
            var comments = (from drawing in this.MemberSet
2015 2015
                            select drawing.DrawingData as CommentUserInfo).ToList();
2016
            UndoCommand.Instance.Execute(comments, this.AngleValue);
2016
            UndoCommand.Instance.Push(comments, this.AngleValue);
2017 2017
        }
2018 2018

  
2019 2019
        public void ControlPointMouseLeftButtonDown(object sender, MouseButtonEventArgs e)

내보내기 Unified diff

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