Ejemplo n.º 1
0
        public IS3MainWindow()
        {
            InitializeComponent();

            Closing += MainWindow_Closing;

            //UserPreferences userPrefs = new UserPreferences();
            //this.Height = userPrefs.WindowHeight;
            //this.Width = userPrefs.WindowWidth;
            //this.Top = userPrefs.WindowTop;
            //this.Left = userPrefs.WindowLeft;
            //this.WindowState = userPrefs.WindowState;

            this.Height = 750;
            this.Width  = 1200;
            this.WindowStartupLocation = WindowStartupLocation.CenterScreen;

            UserLoginPage userLoginPage = new UserLoginPage();

            pageTransitionControl.ShowPage(userLoginPage);

            //ProjectListPage projectListPage = new ProjectListPage();
            //pageTransitionControl.ShowPage(projectListPage);

            //SwitchToMainFrame("NJ_MetroL10.xml");
        }
Ejemplo n.º 2
0
        public IS3MainWindow()
        {
            InitializeComponent();

            Closing += MainWindow_Closing;

            UserPreferences userPrefs = new UserPreferences();

            this.Height      = userPrefs.WindowHeight;
            this.Width       = userPrefs.WindowWidth;
            this.Top         = userPrefs.WindowTop;
            this.Left        = userPrefs.WindowLeft;
            this.WindowState = userPrefs.WindowState;

            UserLoginPage userLoginPage = new UserLoginPage();

            pageTransitionControl.ShowPage(userLoginPage);
        }