Beispiel #1
0
        public bool ScreensAddOrDel(string img)
        {
            if (Screens == null)
            {
                Screens = new List <string>();
            }

            if (Screens.Contains(img))
            {
                Screens.Remove(img);
                return(false);
            }
            else
            {
                Screens.Add(img);
                return(true);
            }
        }
Beispiel #2
0
 public bool HasScreen(GuiScreen screen)
 {
     return(Screens.Contains(screen));
 }
 public bool ContainsKey(IScreen key)
 {
     return(Screens.Contains(key));
 }