예제 #1
0
        public static void Initial()
        {
            Hi5AppServiceProvider serviceProvide = new Hi5AppServiceProvider();


            serviceProvide.Configure();
        }
예제 #2
0
        public MainWindow()
        {
            InitializeComponent();

            ViewModel   = Hi5AppServiceProvider.GetService <IMainWindowViewModel>();
            DataContext = ViewModel; // new MainWindowViewModel();

            MainFrame.NavigationUIVisibility = NavigationUIVisibility.Hidden;
            MainFrame.Navigate(new MainPage());
        }