개정판 e0204db0
issue #681 mainmenu loaded event modify
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