개정판 0c997b99
issue #681 markus client 로딩 속도 개선
KCOM/Messenger/ConversationView.xaml.cs | ||
---|---|---|
2 | 2 |
using System; |
3 | 3 |
using System.Collections.Generic; |
4 | 4 |
using System.ComponentModel; |
5 |
using System.Diagnostics; |
|
5 | 6 |
using System.Linq; |
6 | 7 |
using System.Text; |
7 | 8 |
using System.Windows; |
... | ... | |
26 | 27 |
|
27 | 28 |
public ConversationView() |
28 | 29 |
{ |
29 |
InitializeComponent(); |
|
30 |
//InitializeComponent(); |
|
31 |
|
|
30 | 32 |
this.DataContext = this; |
31 | 33 |
this.Loaded += ConversationView_Loaded; |
32 |
btnMark.MouseLeftButtonDown += BtnMark_Click; |
|
33 |
btnMail.MouseLeftButtonDown += BtnMail_Click; |
|
34 |
btnFile.MouseLeftButtonDown += BtnFile_Click; |
|
35 |
//강인구 추가 |
|
36 |
btnSend.PreviewMouseLeftButtonDown += BtnSend_Click; |
|
34 |
|
|
37 | 35 |
} |
38 | 36 |
|
39 | 37 |
private void BtnMark_Click(object sender, RoutedEventArgs e) |
... | ... | |
135 | 133 |
|
136 | 134 |
private void ConversationView_Loaded(object sender, RoutedEventArgs e) |
137 | 135 |
{ |
136 |
//측정 |
|
137 |
//Stopwatch sw = new Stopwatch(); |
|
138 |
//sw.Start(); |
|
139 |
InitializeComponent(); |
|
140 |
//System.Diagnostics.Debug.WriteLine("ConversationView() : " + sw.ElapsedMilliseconds.ToString() + "ms"); |
|
141 |
|
|
142 |
btnMark.MouseLeftButtonDown += BtnMark_Click; |
|
143 |
btnMail.MouseLeftButtonDown += BtnMail_Click; |
|
144 |
btnFile.MouseLeftButtonDown += BtnFile_Click; |
|
145 |
//강인구 추가 |
|
146 |
btnSend.PreviewMouseLeftButtonDown += BtnSend_Click; |
|
147 |
|
|
138 | 148 |
main = this.ParentOfType<MainWindow>(); |
139 | 149 |
if (App.ParameterMode) |
140 | 150 |
{ |
내보내기 Unified diff