개정판 35579648
issue #681 :
read only view null ref error 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 | 387 |
} |
388 | 388 |
timer = new Timer(timercallback, null, 0, InitInterval * 60000); |
389 | 389 |
} |
내보내기 Unified diff