예제 #1
0
 private static void ReomveFromCache(WndAssist wndAssist)
 {
     if (AssistBag.Contains(wndAssist))
     {
         AssistBag = AssistBag.xRemove(wndAssist);
     }
 }
예제 #2
0
 private static void AddToCache(WndAssist wndAssist)
 {
     if (!AssistBag.Contains(wndAssist))
     {
         AssistBag = new ConcurrentBag <WndAssist>(AssistBag)
         {
             wndAssist
         };
     }
 }
예제 #3
0
        public static void CreateAndAttachToDesk(ChatDesk desk)
        {
            WndAssist wndAssist = new WndAssist(desk);

            wndAssist.AttachToDesk();
        }