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