개정판 0c997b99
issue #681 markus client 로딩 속도 개선
KCOM/Controls/FavoritePanel.xaml.cs | ||
---|---|---|
16 | 16 |
using System.Net; |
17 | 17 |
using KCOM.Common; |
18 | 18 |
using KCOMDataModel.DataModel; |
19 |
using System.Diagnostics; |
|
19 | 20 |
|
20 | 21 |
namespace KCOM.Controls |
21 | 22 |
{ |
... | ... | |
27 | 28 |
new bool IsLoaded = false; |
28 | 29 |
public FavoritePanel() |
29 | 30 |
{ |
30 |
InitializeComponent(); |
|
31 |
//InitializeComponent();
|
|
31 | 32 |
this.Loaded += FavoritePanel_Loaded; |
32 | 33 |
|
33 | 34 |
} |
34 | 35 |
|
35 | 36 |
private void FavoritePanel_Loaded(object sender, RoutedEventArgs e) |
36 |
{ |
|
37 |
{ |
|
38 |
//측정 |
|
39 |
//Stopwatch sw = new Stopwatch(); |
|
40 |
//sw.Start(); |
|
41 |
InitializeComponent(); |
|
42 |
//System.Diagnostics.Debug.WriteLine("FavoritePanel() : " + sw.ElapsedMilliseconds.ToString() + "ms"); |
|
37 | 43 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetFavoriteVPCompleted += BaseClient_GetFavoriteVPCompleted; |
38 | 44 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.EditFavoriteVPCompleted += BaseClient_EditFavoriteVPCompleted; |
39 | 45 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.DeleteMarkupCompleted += BaseClient_DeleteMarkupCompleted; |
... | ... | |
52 | 58 |
|
53 | 59 |
IsLoaded = true; |
54 | 60 |
} |
55 |
|
|
61 |
|
|
56 | 62 |
} |
57 | 63 |
|
58 | 64 |
private void BaseClient_DeleteMarkupCompleted(object sender, ServiceDeepView.DeleteMarkupCompletedEventArgs e) |
내보내기 Unified diff