Example #1
0
        private void InitializeNewScreen(STScreensInfo objScreensInfo)
        {
            VinaERPScreen screen = VinaERPScreenFactory.GetScreen(this.CurrentModuleName, objScreensInfo.STScreenCode);

            if (screen == null)
            {
                return;
            }

            screen.Module     = this;
            screen.ScreenInfo = objScreensInfo;
            screen.ScreenID   = objScreensInfo.STScreenID;
            screen.Text       = objScreensInfo.STScreenDesc;

            screen.InitializeScreen(objScreensInfo);

            Screens.Add(screen);

            InitializeScreenControls(screen);
        }
Example #2
0
 private void InitializeScreenControls(VinaERPScreen screen)
 {
     screen.AddControlsToParentScreen();
 }