프로젝트

일반

사용자정보

개정판 24678e06

ID24678e060a23a17118c4a076d0535f6cfad75869
상위 de6499db
하위 f7898eb1, a97170ed

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

issue #000: Add Commons.cs file

Change-Id: I14ae2a26673890b4be08a1c989faf570629ad3d1

차이점 보기:

KCOM/Events/Event_KeyEvent.cs
29 29

  
30 30
        MarkupToPDF.Controls.Parsing.MarkupParser.MarkupReturn markupReturn = new MarkupToPDF.Controls.Parsing.MarkupParser.MarkupReturn();
31 31
                
32
        private List<CommentUserInfo> SelectedItems
32
        public List<CommentUserInfo> SelectedItems
33 33
        {
34 34
            get
35 35
            {
......
302 302
                                        data2 = parse.Split(delimiterChars2, StringSplitOptions.RemoveEmptyEntries);
303 303

  
304 304
                                        System.Windows.Controls.Control item =  MarkupParser.ParseEx(App.ViewInfo.ProjectNO, data2[0], ViewerDataModel.Instance.MarkupControls_USER, string.Empty, string.Empty);
305
                                        (item as MarkupToPDF.Common.CommentUserInfo).CommentID = Events.SaveCommand.shortGuid();
305
                                        (item as MarkupToPDF.Common.CommentUserInfo).CommentID = Commons.shortGuid();
306 306
                                        if(data2.Length >= 2)
307 307
                                        {
308 308
                                            (item as MarkupToPDF.Common.CommentUserInfo).SymbolID = data2[1];
......
357 357

  
358 358
                                    string temppath = System.IO.Path.GetTempPath();
359 359
                                    //string filename = KCOM.Events.Save.shortCommentKey();
360
                                    string filename = KCOM.Events.SaveCommand.shortFileKey();
360
                                    string filename = Commons.shortFileKey();
361 361

  
362 362
                                    System.Drawing.Image clipboardImage = System.Windows.Forms.Clipboard.GetImage();
363 363
                                    clipboardImage.Save(temppath + "\\" + filename);
......
442 442
                                    ViewerDataModel.Instance.UndoDataList.Add(UndoData);
443 443

  
444 444
                                    ViewerDataModel.Instance.MarkupControls_USER.Add(currentControl as MarkupToPDF.Common.CommentUserInfo);
445
                                    currentControl.CommentID = Events.SaveCommand.shortGuid();
445
                                    currentControl.CommentID = Commons.shortGuid();
446 446

  
447 447
                                    currentControl.ApplyTemplate();
448 448
                                    currentControl.SetImage();
......
484 484
                                    //    if (parse != "")
485 485
                                    //    {
486 486
                                    //        System.Windows.Controls.Control item = layer.markupParse_Paste(parse, ViewerDataModel.Instance.MarkupControls_USER);
487
                                    //        (item as MarkupToPDF.Common.CommentUserInfo).CommentID = Events.SaveCommand.shortGuid();
487
                                    //        (item as MarkupToPDF.Common.CommentUserInfo).CommentID = Commons.shortGuid();
488 488

  
489 489
                                    //        ViewerDataModel.Instance.MarkupControls.Remove(item as MarkupToPDF.Common.CommentUserInfo);
490 490
                                    //        ViewerDataModel.Instance.MarkupControls_USER.Remove(item as MarkupToPDF.Common.CommentUserInfo);

내보내기 Unified diff

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