コード例 #1
0
ファイル: Demo.g.cs プロジェクト: Reticulatas/AvalonDock
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\Demo.xaml"
     ((AvalonDockTest.Demo)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     
     #line 6 "..\..\Demo.xaml"
     ((AvalonDockTest.Demo)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ShowDockingManager = ((System.Windows.Controls.MenuItem)(target));
     
     #line 90 "..\..\Demo.xaml"
     this.ShowDockingManager.Click += new System.Windows.RoutedEventHandler(this.ShowDockingManager_Checked);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 91 "..\..\Demo.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 92 "..\..\Demo.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 93 "..\..\Demo.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 94 "..\..\Demo.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 95 "..\..\Demo.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 96 "..\..\Demo.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 97 "..\..\Demo.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 99 "..\..\Demo.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetColors_Clicked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.TestContainer = ((System.Windows.Controls.ContentControl)(target));
     return;
     case 12:
     this._dockingManager = ((AvalonDock.DockingManager)(target));
     return;
     case 13:
     this._propertiesWindow = ((AvalonDock.DockableContent)(target));
     return;
     case 14:
     this._documentsHost = ((AvalonDock.DocumentPane)(target));
     return;
     case 15:
     this.docHome = ((AvalonDock.DocumentContent)(target));
     
     #line 124 "..\..\Demo.xaml"
     this.docHome.Closing += new System.EventHandler<System.ComponentModel.CancelEventArgs>(this.doc_Closing);
     
     #line default
     #line hidden
     return;
     case 16:
     this.NewDocuments = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 194 "..\..\Demo.xaml"
     this.NewDocuments.Click += new System.Windows.RoutedEventHandler(this.NewDocuments_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.ShowProperties = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 196 "..\..\Demo.xaml"
     this.ShowProperties.Click += new System.Windows.RoutedEventHandler(this.ShowProperties_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.ShowProperties_AutoHide = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 197 "..\..\Demo.xaml"
     this.ShowProperties_AutoHide.Click += new System.Windows.RoutedEventHandler(this.ShowProperties_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.ShowProperties_FloatingWindow = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 198 "..\..\Demo.xaml"
     this.ShowProperties_FloatingWindow.Click += new System.Windows.RoutedEventHandler(this.ShowProperties_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.ShowExplorer = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 200 "..\..\Demo.xaml"
     this.ShowExplorer.Click += new System.Windows.RoutedEventHandler(this.ShowExplorer_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.ShowExplorer_AutoHide = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 201 "..\..\Demo.xaml"
     this.ShowExplorer_AutoHide.Click += new System.Windows.RoutedEventHandler(this.ShowExplorer_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.ShowExplorer_FloatingWindow = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 202 "..\..\Demo.xaml"
     this.ShowExplorer_FloatingWindow.Click += new System.Windows.RoutedEventHandler(this.ShowExplorer_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.ShowEventsLog = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 204 "..\..\Demo.xaml"
     this.ShowEventsLog.Click += new System.Windows.RoutedEventHandler(this.ShowEventsLog_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.ShowEventsLog_AutoHide = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 205 "..\..\Demo.xaml"
     this.ShowEventsLog_AutoHide.Click += new System.Windows.RoutedEventHandler(this.ShowEventsLog_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.ShowEventsLog_FloatingWindow = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 206 "..\..\Demo.xaml"
     this.ShowEventsLog_FloatingWindow.Click += new System.Windows.RoutedEventHandler(this.ShowEventsLog_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.ShowEventsLog_DockRight = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 207 "..\..\Demo.xaml"
     this.ShowEventsLog_DockRight.Click += new System.Windows.RoutedEventHandler(this.ShowEventsLog_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.ShowProperty = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 209 "..\..\Demo.xaml"
     this.ShowProperty.Click += new System.Windows.RoutedEventHandler(this.ShowProperty_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.ShowProperty_AutoHide = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 210 "..\..\Demo.xaml"
     this.ShowProperty_AutoHide.Click += new System.Windows.RoutedEventHandler(this.ShowProperty_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.ShowProperty_FloatingWindow = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 211 "..\..\Demo.xaml"
     this.ShowProperty_FloatingWindow.Click += new System.Windows.RoutedEventHandler(this.ShowProperty_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.ShowProperty_DockRight = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 212 "..\..\Demo.xaml"
     this.ShowProperty_DockRight.Click += new System.Windows.RoutedEventHandler(this.ShowProperty_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.SaveLayout = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 214 "..\..\Demo.xaml"
     this.SaveLayout.Click += new System.Windows.RoutedEventHandler(this.SaveLayout_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.RestoreLayout = ((System.Windows.Documents.Hyperlink)(target));
     
     #line 215 "..\..\Demo.xaml"
     this.RestoreLayout.Click += new System.Windows.RoutedEventHandler(this.RestoreLayout_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this._objectExplorerHost = ((AvalonDock.DockableContent)(target));
     return;
     case 34:
     this._errorList = ((AvalonDockTest.ErrorListContent)(target));
     return;
     case 35:
     this._eventsLogWindow = ((AvalonDock.DockableContent)(target));
     return;
     case 36:
     this._txtLog = ((System.Windows.Controls.TextBox)(target));
     return;
     case 37:
     this._explorerWindow = ((AvalonDock.DockableContent)(target));
     return;
     case 38:
     this.tabControl = ((System.Windows.Controls.TabControl)(target));
     return;
     case 39:
     this.ButtonDefault = ((System.Windows.Controls.Button)(target));
     
     #line 271 "..\..\Demo.xaml"
     this.ButtonDefault.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.ButtonDefault2 = ((System.Windows.Controls.Button)(target));
     
     #line 275 "..\..\Demo.xaml"
     this.ButtonDefault2.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.ButtonDefault3 = ((System.Windows.Controls.Button)(target));
     
     #line 276 "..\..\Demo.xaml"
     this.ButtonDefault3.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
ファイル: Demo.g.cs プロジェクト: sss-software/AvalonDock-1
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\Demo.xaml"
                ((AvalonDockTest.Demo)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\Demo.xaml"
                ((AvalonDockTest.Demo)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ShowDockingManager = ((System.Windows.Controls.MenuItem)(target));

            #line 90 "..\..\Demo.xaml"
                this.ShowDockingManager.Click += new System.Windows.RoutedEventHandler(this.ShowDockingManager_Checked);

            #line default
            #line hidden
                return;

            case 3:

            #line 91 "..\..\Demo.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);

            #line default
            #line hidden
                return;

            case 4:

            #line 92 "..\..\Demo.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);

            #line default
            #line hidden
                return;

            case 5:

            #line 93 "..\..\Demo.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);

            #line default
            #line hidden
                return;

            case 6:

            #line 94 "..\..\Demo.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);

            #line default
            #line hidden
                return;

            case 7:

            #line 95 "..\..\Demo.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);

            #line default
            #line hidden
                return;

            case 8:

            #line 96 "..\..\Demo.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);

            #line default
            #line hidden
                return;

            case 9:

            #line 97 "..\..\Demo.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeColor_Clicked);

            #line default
            #line hidden
                return;

            case 10:

            #line 99 "..\..\Demo.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetColors_Clicked);

            #line default
            #line hidden
                return;

            case 11:
                this.TestContainer = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 12:
                this._dockingManager = ((AvalonDock.DockingManager)(target));
                return;

            case 13:
                this._propertiesWindow = ((AvalonDock.DockableContent)(target));
                return;

            case 14:
                this._documentsHost = ((AvalonDock.DocumentPane)(target));
                return;

            case 15:
                this.docHome = ((AvalonDock.DocumentContent)(target));

            #line 124 "..\..\Demo.xaml"
                this.docHome.Closing += new System.EventHandler <System.ComponentModel.CancelEventArgs>(this.doc_Closing);

            #line default
            #line hidden
                return;

            case 16:
                this.NewDocuments = ((System.Windows.Documents.Hyperlink)(target));

            #line 194 "..\..\Demo.xaml"
                this.NewDocuments.Click += new System.Windows.RoutedEventHandler(this.NewDocuments_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.ShowProperties = ((System.Windows.Documents.Hyperlink)(target));

            #line 196 "..\..\Demo.xaml"
                this.ShowProperties.Click += new System.Windows.RoutedEventHandler(this.ShowProperties_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.ShowProperties_AutoHide = ((System.Windows.Documents.Hyperlink)(target));

            #line 197 "..\..\Demo.xaml"
                this.ShowProperties_AutoHide.Click += new System.Windows.RoutedEventHandler(this.ShowProperties_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.ShowProperties_FloatingWindow = ((System.Windows.Documents.Hyperlink)(target));

            #line 198 "..\..\Demo.xaml"
                this.ShowProperties_FloatingWindow.Click += new System.Windows.RoutedEventHandler(this.ShowProperties_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.ShowExplorer = ((System.Windows.Documents.Hyperlink)(target));

            #line 200 "..\..\Demo.xaml"
                this.ShowExplorer.Click += new System.Windows.RoutedEventHandler(this.ShowExplorer_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.ShowExplorer_AutoHide = ((System.Windows.Documents.Hyperlink)(target));

            #line 201 "..\..\Demo.xaml"
                this.ShowExplorer_AutoHide.Click += new System.Windows.RoutedEventHandler(this.ShowExplorer_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.ShowExplorer_FloatingWindow = ((System.Windows.Documents.Hyperlink)(target));

            #line 202 "..\..\Demo.xaml"
                this.ShowExplorer_FloatingWindow.Click += new System.Windows.RoutedEventHandler(this.ShowExplorer_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.ShowEventsLog = ((System.Windows.Documents.Hyperlink)(target));

            #line 204 "..\..\Demo.xaml"
                this.ShowEventsLog.Click += new System.Windows.RoutedEventHandler(this.ShowEventsLog_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.ShowEventsLog_AutoHide = ((System.Windows.Documents.Hyperlink)(target));

            #line 205 "..\..\Demo.xaml"
                this.ShowEventsLog_AutoHide.Click += new System.Windows.RoutedEventHandler(this.ShowEventsLog_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.ShowEventsLog_FloatingWindow = ((System.Windows.Documents.Hyperlink)(target));

            #line 206 "..\..\Demo.xaml"
                this.ShowEventsLog_FloatingWindow.Click += new System.Windows.RoutedEventHandler(this.ShowEventsLog_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.ShowEventsLog_DockRight = ((System.Windows.Documents.Hyperlink)(target));

            #line 207 "..\..\Demo.xaml"
                this.ShowEventsLog_DockRight.Click += new System.Windows.RoutedEventHandler(this.ShowEventsLog_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.ShowProperty = ((System.Windows.Documents.Hyperlink)(target));

            #line 209 "..\..\Demo.xaml"
                this.ShowProperty.Click += new System.Windows.RoutedEventHandler(this.ShowProperty_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.ShowProperty_AutoHide = ((System.Windows.Documents.Hyperlink)(target));

            #line 210 "..\..\Demo.xaml"
                this.ShowProperty_AutoHide.Click += new System.Windows.RoutedEventHandler(this.ShowProperty_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.ShowProperty_FloatingWindow = ((System.Windows.Documents.Hyperlink)(target));

            #line 211 "..\..\Demo.xaml"
                this.ShowProperty_FloatingWindow.Click += new System.Windows.RoutedEventHandler(this.ShowProperty_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.ShowProperty_DockRight = ((System.Windows.Documents.Hyperlink)(target));

            #line 212 "..\..\Demo.xaml"
                this.ShowProperty_DockRight.Click += new System.Windows.RoutedEventHandler(this.ShowProperty_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.SaveLayout = ((System.Windows.Documents.Hyperlink)(target));

            #line 214 "..\..\Demo.xaml"
                this.SaveLayout.Click += new System.Windows.RoutedEventHandler(this.SaveLayout_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.RestoreLayout = ((System.Windows.Documents.Hyperlink)(target));

            #line 215 "..\..\Demo.xaml"
                this.RestoreLayout.Click += new System.Windows.RoutedEventHandler(this.RestoreLayout_Click);

            #line default
            #line hidden
                return;

            case 33:
                this._objectExplorerHost = ((AvalonDock.DockableContent)(target));
                return;

            case 34:
                this._errorList = ((AvalonDockTest.ErrorListContent)(target));
                return;

            case 35:
                this._eventsLogWindow = ((AvalonDock.DockableContent)(target));
                return;

            case 36:
                this._txtLog = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this._explorerWindow = ((AvalonDock.DockableContent)(target));
                return;

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

            case 39:
                this.ButtonDefault = ((System.Windows.Controls.Button)(target));

            #line 271 "..\..\Demo.xaml"
                this.ButtonDefault.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.ButtonDefault2 = ((System.Windows.Controls.Button)(target));

            #line 275 "..\..\Demo.xaml"
                this.ButtonDefault2.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.ButtonDefault3 = ((System.Windows.Controls.Button)(target));

            #line 276 "..\..\Demo.xaml"
                this.ButtonDefault3.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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