Esempio n. 1
0
        /*
         * void MainApplication_Resize(object sender, EventArgs e)
         * {
         *  if (this.WindowState == FormWindowState.Minimized)
         *  {
         *      ScreenBase current = (ScreenBase)getScreen(getCurrentScreenID());
         *      if (current.canTranslateToMinize())
         *      {
         *          ScreenBase scr = (ScreenBase)getScreen(SCREEN_MINIMIZED);
         *          scr.mPreviousScreen = this.getCurrentScreenID();
         *          setScreen(SCREEN_MINIMIZED);
         *      }
         *  }
         * }
         */

        override public void createScreens()
        {
            mScreens = new xScreen[20];
            mScreens[SCREEN_HOME] = new ScreenRoot();
            //mScreens[SCREEN_HELP] = new ScreenHelp();
            //mScreens[SCREEN_SEARCH] = new ScreenHistoryChart();
            //mScreens[SCREEN_MINIMIZED] = new ScreenMinimized();
        }
Esempio n. 2
0
 public ScreenRoot()
     : base()
 {
     _instance = this;
 }