Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.navbar = ((RTM.UserControls.NavigationBar)(target));
         return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Page = ((RTM.MainWindow)(target));

            #line 5 "..\..\..\MainWindow.xaml"
                this.Page.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\MainWindow.xaml"
                this.Page.KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));

            #line 15 "..\..\..\MainWindow.xaml"
                this.MainFrame.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.MainFrame_Navigated);

            #line default
            #line hidden
                return;

            case 3:
                this.NavBar = ((RTM.UserControls.NavigationBar)(target));
                return;

            case 4:
                this.DateTIme = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }