Exemplo n.º 1
0
        public MainWindow()
        {
            this.m_ClientServicesUI = new ClientServicesUI();

            InitializeComponent();

            this.DataContext = this.m_ClientServicesUI;

            ApplicationNavigator.ApplicationContentFrame = this.MainFrame;

            this.MainFrame.NavigationUIVisibility       = NavigationUIVisibility.Hidden;
            this.MainFrame.NavigationService.Navigated += new NavigatedEventHandler(ApplicationContentFrame_Navigated);
            this.MainFrame.Navigating += new NavigatingCancelEventHandler(MainFrame_Navigating);

            this.Loaded  += new RoutedEventHandler(MainWindow_Loaded);
            this.Closing += new System.ComponentModel.CancelEventHandler(MainWindow_Closing);
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            this.m_ClientServicesUI = new ClientServicesUI();

            InitializeComponent();

            this.DataContext = this.m_ClientServicesUI;

            ApplicationNavigator.ApplicationContentFrame = this.MainFrame;

            this.MainFrame.NavigationUIVisibility = NavigationUIVisibility.Hidden;
            this.MainFrame.NavigationService.Navigated += new NavigatedEventHandler(ApplicationContentFrame_Navigated);
            this.MainFrame.Navigating += new NavigatingCancelEventHandler(MainFrame_Navigating);

            this.Loaded += new RoutedEventHandler(MainWindow_Loaded);
            this.Closing += new System.ComponentModel.CancelEventHandler(MainWindow_Closing);
        }