Пример #1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {

            EntryPointPage page = new EntryPointPage();
            page.Content = rootGrid;

            CultureInfo culture = new CultureInfo("zh-CN");
            Thread.CurrentThread.CurrentUICulture = culture;
            Thread.CurrentThread.CurrentCulture = culture;
            // this.RootVisual = new MainPage();

            UserControl uc = new UserControl();

            this.RootVisual = page;
            //rootGrid.Style = (Style)this.Resources["loginbg"];
            InitTheme();
            // rootGrid.Children.Add(new MasterPageTest());
             rootGrid.Children.Add(new SMT.SaaS.LM.UI.AppMain.Login.Login());
        }
Пример #2
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            EntryPointPage page = new EntryPointPage();

            page.Content = rootGrid;

            CultureInfo culture = new CultureInfo("zh-CN");

            Thread.CurrentThread.CurrentUICulture = culture;
            Thread.CurrentThread.CurrentCulture   = culture;
            // this.RootVisual = new MainPage();

            UserControl uc = new UserControl();

            this.RootVisual = page;
            //rootGrid.Style = (Style)this.Resources["loginbg"];
            InitTheme();
            // rootGrid.Children.Add(new MasterPageTest());
            rootGrid.Children.Add(new SMT.SaaS.LM.UI.AppMain.Login.Login());
        }