프로젝트

일반

사용자정보

개정판 e8557bd7

IDe8557bd7e296f242d502b9ed1a186a96a817b4cb
상위 068113d5
하위 1cea0342

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

빌드 수정 x86추가

Change-Id: If4d98bee9f4306a3c5c82a07038017c916d03f8f

차이점 보기:

KCOM/Messenger/ConversationView.xaml.cs
183 183

  
184 184
        public event PropertyChangedEventHandler PropertyChanged;
185 185

  
186
        private void ConversationView_Loaded(object sender, RoutedEventArgs e)
186
        private async void ConversationView_Loaded(object sender, RoutedEventArgs e)
187 187
        {
188 188
            //측정
189 189
            //Stopwatch sw = new Stopwatch();
......
196 196
            {
197 197
                try
198 198
                {
199
                    var mainMenu = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu;
200

  
199 201
                    ClickAnchorCommand = new Telerik.Windows.Controls.DelegateCommand(SaveAuthorization);
200
                    if (string.IsNullOrEmpty(App.UserName) && Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.userData == null)
202
                    if (string.IsNullOrEmpty(App.UserName) && mainMenu.userData == null)
201 203
                    {
202
                        var member = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMember(App.ViewInfo.ProjectNO, App.ViewInfo.UserID);
204
                        var member = await mainMenu.BaseTaskClient.GetMemberAsync(App.ViewInfo.ProjectNO, App.ViewInfo.UserID);
203 205
                        if (member != null)
204 206
                            App.UserName = member.NAME;
205 207
                    }
206 208
                    if (Common.ViewerDataModel.Instance.k_talkMessageSet.Count() == 0)
207 209
                    {
208 210
                        Logger.sendReqLog("GetMessage: ", App.ViewInfo.ProjectNO + "," + App.ViewInfo.DocumentItemID, 1);
209
                        List<KCOMDataModel.DataModel.TALK> messagelist = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMessage(App.ViewInfo.ProjectNO, App.ViewInfo.DocumentItemID);
211
                        List<KCOMDataModel.DataModel.TALK> messagelist = await mainMenu.BaseTaskClient.GetMessageAsync(App.ViewInfo.ProjectNO, App.ViewInfo.DocumentItemID);
212

  
210 213
                        Logger.sendResLog("GetMessage", "messagelist.Count:" + messagelist.Count(), 1);
211 214

  
212 215
                        messagelist.ForEach(a =>
......
215 218
                        });
216 219
                        (lstMessage.Parent as ScrollViewer).ScrollToEnd();
217 220
                    }
221

  
218 222
                    tbContent.KeyDown += async (s, ea) => await OnKeyDownHandler(s, ea);
219 223
                }
220 224
                catch (Exception ex)

내보내기 Unified diff

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