프로젝트

일반

사용자정보

개정판 43b2e236

ID43b2e2365f0c1d951345ce47cb0d5e81a408e3c9
상위 604465bd
하위 73cb17e3, 10beebc8

semi 이(가) 약 5년 전에 추가함

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

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