개정판 43b2e236
ConvertAddDialog DispatcherTimer 주석 후 완료
Change-Id: I18738739e0f43df7504da284fe6c8fdd6962ed1e
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/DataBaseItemsModel.cs | ||
---|---|---|
527 | 527 |
/// </summary> |
528 | 528 |
|
529 | 529 |
private DispatcherTimer dispatcherTimer; |
530 |
public override void Loaded() |
|
531 |
{ |
|
532 |
base.Loaded(); |
|
533 |
|
|
534 |
if (!App.IsDesignMode) |
|
535 |
{ |
|
536 |
dispatcherTimer = new DispatcherTimer(); |
|
537 |
dispatcherTimer.Tick += new EventHandler(Timer_Tick); |
|
538 |
dispatcherTimer.Interval = new TimeSpan(0, 0, 1); |
|
539 |
dispatcherTimer.Start(); |
|
540 |
} |
|
541 |
} |
|
530 |
//public override void Loaded()
|
|
531 |
//{
|
|
532 |
// base.Loaded();
|
|
533 |
|
|
534 |
// if (!App.IsDesignMode)
|
|
535 |
// {
|
|
536 |
// dispatcherTimer = new DispatcherTimer();
|
|
537 |
// dispatcherTimer.Tick += new EventHandler(Timer_Tick);
|
|
538 |
// dispatcherTimer.Interval = new TimeSpan(0, 0, 1);
|
|
539 |
// dispatcherTimer.Start();
|
|
540 |
// }
|
|
541 |
//}
|
|
542 | 542 |
|
543 | 543 |
private async void Timer_Tick(object sender, EventArgs e) |
544 | 544 |
{ |
... | ... | |
1263 | 1263 |
|
1264 | 1264 |
public void ConverAdd(object obj) |
1265 | 1265 |
{ |
1266 |
//줄 530줄 load부분 주석 처리하면 잘됨 |
|
1267 |
//dispatcherTimer.Stop(); |
|
1268 |
|
|
1269 |
Views.ConvertAddDialog convertAddDialog = new Views.ConvertAddDialog(); |
|
1270 |
convertAddDialog.ShowDialog(); |
|
1266 | 1271 |
|
1272 |
//dispatcherTimer.Start(); |
|
1267 | 1273 |
} |
1268 | 1274 |
|
1269 | 1275 |
#endregion |
내보내기 Unified diff