Exemple #1
0
        /// <summary>
        /// CreateWindowState a window state for drawing this state to the specified window.
        /// </summary>
        /// <param name="window">The window the new window state is to draw on.</param>
        public override IFrameState CreateFrameState(FrameOverlayManager manager)
        {
            ImageBGWindow win = new ImageBGWindow(manager, mWindowBGs.ContainsKey(manager.Name) ?  mWindowBGs[manager.Name] : mDefaultBG);

            mWindows.Add(manager.Name, win);
            return(win);
        }
 /// <summary>
 /// CreateWindowState a window state for drawing this state to the specified window.
 /// </summary>
 /// <param name="window">The window the new window state is to draw on.</param>
 public override IFrameState CreateFrameState(FrameOverlayManager manager)
 {
     ImageBGWindow win = new ImageBGWindow(manager, mWindowBGs.ContainsKey(manager.Name) ?  mWindowBGs[manager.Name] : mDefaultBG);
     mWindows.Add(manager.Name, win);
     return win;
 }