void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.connect = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:

            #line 44 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Connect_ButtonClick);

            #line default
            #line hidden
                return;

            case 5:
                this.chkin = ((System.Windows.Controls.TabItem)(target));
                return;

            case 6:
                this.NavChkIn = ((WpfApp1.CheckInControl)(target));
                return;

            case 7:
                this.chkout = ((System.Windows.Controls.TabItem)(target));
                return;

            case 8:
                this.NavChkOut = ((WpfApp1.CheckOutControl)(target));
                return;

            case 9:
                this.browse = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this.NavBrowse = ((WpfApp1.BrowseControl)(target));
                return;

            case 11:
                this.txtStatusBar = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.NavLocal = ((WpfApp1.LocalNavControl)(target));
                return;

            case 3:
                this.NavRemote = ((WpfApp1.RemoteNavControl)(target));
                return;

            case 4:
                this.ConnectTest = ((WpfApp1.ConnectTestControl)(target));
                return;

            case 5:
                this.BrowseTest = ((WpfApp1.BrowseControl)(target));
                return;

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