개정판 e0204db0
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