예제 #1
0
 private void OpenChatItem_Click(object sender, RoutedEventArgs e)
 {
     Windows.ChatWindow chatWindow = ManageChatWindows.GetChatWindow(((MenuItem)sender).Tag.ToString());
     if (chatWindow != null)
     {
         chatWindow.Focus();
     }
 }
예제 #2
0
 public void OpenChatWindow(UserInfo userInfo)
 {
     Windows.ChatWindow chatWindow = ManageChatWindows.GetChatWindow(userInfo.id);
     if (chatWindow != null)
     {
         chatWindow.Focus();
     }
 }