/// <summary>
 /// 获取单例窗口
 /// </summary>
 /// <returns></returns>
 public static GroupChatDetial GetWindow()
 {
     if (GrouDetialWindow == null)
     {
         //GrouDetialWindow.Close();
         GrouDetialWindow = new GroupChatDetial();
     }
     return(GrouDetialWindow);
 }
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     GrouDetialWindow = null;
     ClearMemory();
 }