Example #1
0
        private void btnGeneral_Click(object sender, RoutedEventArgs e)
        {
            pageContent.NavigationService.RemoveBackEntry();
            PageGeneral pageGeneral = new PageGeneral();

            pageContent.Content = pageGeneral;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pageGeneral = ((MOSC.PageGeneral)(target));
                return;

            case 2:
                this.infoService = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.btnRunService = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\PageGeneral.xaml"
                this.btnRunService.Click += new System.Windows.RoutedEventHandler(this.btnRunService_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnOffService = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\PageGeneral.xaml"
                this.btnOffService.Click += new System.Windows.RoutedEventHandler(this.btnOffService_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.timeNow = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.typeSchedule = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }