프로젝트

일반

사용자정보

개정판 e0204db0

IDe0204db0c9625b1d2b1fc581d9d1163233a59156
상위 35579648
하위 f9d42594

김동진이(가) 약 6년 전에 추가함

issue #681 mainmenu loaded event modify

차이점 보기:

KCOM/MainWindow.xaml.cs
118 118
                    list.ForEach(item => item.Visibility = Visibility.Collapsed);
119 119
                    this.dzTopMenu.ribbontab_ReadOnly.Visibility = Visibility.Visible;
120 120
                    this.dzTopMenu.radRibbonView.SelectedItem = this.dzTopMenu.ribbontab_ReadOnly;
121
                    this.dzMainMenu.SymbolPane.Visibility = Visibility.Collapsed;
122
                    this.dzMainMenu.FavoritePane.Visibility = Visibility.Collapsed;
123
                    this.dzMainMenu.drawingRotateCanvas.IsHitTestVisible = false;
121
                    //this.dzMainMenu.SymbolPane.Visibility = Visibility.Collapsed;
122
                    //this.dzMainMenu.FavoritePane.Visibility = Visibility.Collapsed;
123
                    //this.dzMainMenu.drawingRotateCanvas.IsHitTestVisible = false;
124 124
                }
125 125
                this.dzMainMenu.SetView(App.ViewInfo);
126 126
                this.dzMainMenu.HubSet();              
KCOM/Views/MainMenu.xaml.cs
228 228
                
229 229
        public MainMenu()
230 230
        {
231
            InitializeComponent();    
231
            //InitializeComponent();    
232 232
            this.Loaded += MainMenu_Loaded;
233 233
        }
234 234

  
......
370 370
            ////측정
371 371
            //Stopwatch sw = new Stopwatch();
372 372
            //sw.Start();
373
                //InitializeComponent();
373
                InitializeComponent();
374 374
            //System.Diagnostics.Debug.WriteLine("MainMenu() : " + sw.ElapsedMilliseconds.ToString() + "ms");
375 375
            
376 376
            if (App.ParameterMode)
......
383 383
                da.To = 0;
384 384
                da.Duration = new Duration(TimeSpan.FromSeconds(1));
385 385
                da.AutoReverse = true;
386
                da.RepeatBehavior = System.Windows.Media.Animation.RepeatBehavior.Forever;                
386
                da.RepeatBehavior = System.Windows.Media.Animation.RepeatBehavior.Forever;
387

  
388
                if (!App.ViewInfo.CreateFinalPDFPermission && !App.ViewInfo.NewCommentPermission)
389
                {                    
390
                    this.SymbolPane.Visibility = Visibility.Collapsed;
391
                    this.FavoritePane.Visibility = Visibility.Collapsed;
392
                    this.drawingRotateCanvas.IsHitTestVisible = false;
393
                }
387 394
            }
388 395
            timer = new Timer(timercallback, null, 0, InitInterval * 60000); 
389 396
        }

내보내기 Unified diff

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