void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((AvalonDock.MVVMTestApp.MainWindow)(target));
                return;

            case 2:

            #line 52 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnDumpToConsole);

            #line default
            #line hidden
                return;

            case 3:
                this.dockManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((AvalonDock.MVVMTestApp.MainWindow)(target));
     return;
     case 2:
     this.dockManager = ((AvalonDock.DockingManager)(target));
     return;
     }
     this._contentLoaded = true;
 }