개정판 fd4e6a36
issue #000 send 시 event 가 중복되서 타는 현상으로 인한 롤백
KCOM/Messenger/ConversationView.xaml.cs | ||
---|---|---|
27 | 27 |
|
28 | 28 |
public ConversationView() |
29 | 29 |
{ |
30 |
//InitializeComponent();
|
|
30 |
InitializeComponent(); |
|
31 | 31 |
|
32 | 32 |
this.DataContext = this; |
33 | 33 |
this.Loaded += ConversationView_Loaded; |
34 |
|
|
34 |
btnMark.MouseLeftButtonDown += BtnMark_Click; |
|
35 |
btnMail.MouseLeftButtonDown += BtnMail_Click; |
|
36 |
btnFile.MouseLeftButtonDown += BtnFile_Click; |
|
37 |
//강인구 추가 |
|
38 |
btnSend.PreviewMouseLeftButtonDown += BtnSend_Click; |
|
35 | 39 |
} |
36 | 40 |
|
37 | 41 |
private void BtnMark_Click(object sender, RoutedEventArgs e) |
... | ... | |
136 | 140 |
//측정 |
137 | 141 |
//Stopwatch sw = new Stopwatch(); |
138 | 142 |
//sw.Start(); |
139 |
InitializeComponent(); |
|
143 |
//InitializeComponent();
|
|
140 | 144 |
//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 |
|
|
145 |
|
|
148 | 146 |
main = this.ParentOfType<MainWindow>(); |
149 | 147 |
if (App.ParameterMode) |
150 | 148 |
{ |
내보내기 Unified diff