コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mySidebarControl = ((OutlookUI_HOL.MySidebarControl)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.mySidebarDockPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 83 "..\..\MySidebarControl.xaml"
                this.myNavigationPaneButton.Click += new System.Windows.RoutedEventHandler(this.myNavigationPaneButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((OutlookUI_HOL.Window1)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.myMainGridFirstColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.myMainGridFirstColumnSplitter = ((System.Windows.Controls.GridSplitter)(target));

            #line 35 "..\..\Window1.xaml"
                this.myMainGridFirstColumnSplitter.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.myMainGridFirstColumnSplitter_DragDelta);

            #line default
            #line hidden
                return;

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

            case 6:
                this.myFoldersExpandersControl = ((OutlookUI_HOL.MyFoldersExpandersControl)(target));
                return;

            case 7:
                this.dp1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 8:
                this.myMainGridToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 79 "..\..\Window1.xaml"
                this.myMainGridToggleButton.Checked += new System.Windows.RoutedEventHandler(this.myMainGridToggleButton_Checked);

            #line default
            #line hidden

            #line 79 "..\..\Window1.xaml"
                this.myMainGridToggleButton.Unchecked += new System.Windows.RoutedEventHandler(this.myMainGridToggleButton_Unchecked);

            #line default
            #line hidden
                return;

            case 9:
                this.mySidebarControl = ((OutlookUI_HOL.MySidebarControl)(target));
                return;

            case 10:
                this.dp2 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 11:
                this.dp3 = ((System.Windows.Controls.DockPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }