프로젝트

일반

사용자정보

개정판 cda7efcc

IDcda7efcc3b8450b228b6674c9b0155a52f9a8f10
상위 ce54afaf
하위 2a824927

김태성이(가) 5달 전에 추가함

issue #0000 signmanager 수정

Change-Id: Iad61145f680c94e856e0de228bef29a8d539d311

차이점 보기:

KCOM/Controls/SignManager.xaml.cs
252 252
                        points.Add(new StylusPoint(x, y));
253 253
                        Stroke stroke = new Stroke(points);
254 254
                        inkCanvas.Strokes.Add(stroke);
255

  
256
                        //System.Threading.Thread.SpinWait(10);
257 255
                    }
258 256

  
257
                    System.Threading.Thread.Sleep(10);
259 258
                    // Update progress value
260
                    progress.Dispatcher.Invoke(() => { 
259
                    progress.Dispatcher.InvokeAsync(() => { 
261 260
                        progress.Value = y * writeableBitmap.PixelWidth + x + 1;
262 261
                    });
263 262
                }
......
315 314
            // 파일 선택 대화 상자 표시
316 315
            if (openFileDialog.ShowDialog() == true)
317 316
            {
318
                panelProgress.Dispatcher.Invoke(() => panelProgress.Visibility = Visibility.Visible);
317
                panelProgress.Dispatcher.InvokeAsync(() => panelProgress.Visibility = Visibility.Visible);
319 318

  
320 319
                try
321 320
                {
......
339 338
                }
340 339
                finally
341 340
                {
342
                    panelProgress.Dispatcher.Invoke(() => panelProgress.Visibility = Visibility.Collapsed);
341
                    panelProgress.Dispatcher.InvokeAsync(() => panelProgress.Visibility = Visibility.Collapsed);
342
                    
343 343
                }
344 344
            }
345 345
        }
KCOM/MainWindow.xaml.cs
184 184
                            Header = "",
185 185
                            Content = signManager,
186 186
                            Owner = this,
187
                            IsTopmost = true,
187 188
                            //ResizeMode = System.Windows.ResizeMode.CanResizeWithGrip,
188
                            ResizeMode = System.Windows.ResizeMode.CanResize,
189
                            ResizeMode = System.Windows.ResizeMode.NoResize,
189 190
                            WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen,
190 191
                        };
191 192
                        StyleManager.SetTheme(signManagerPop, new Office2013Theme());

내보내기 Unified diff

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