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

            case 2:
                this.icComponents = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ApplicationWindow = ((ComputerSalonMVVM.MainWindow)(target));
                return;

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

            #line 15 "..\..\..\MainWindow.xaml"
                this.ContentFrame.Loaded += new System.Windows.RoutedEventHandler(this.FrameLoaded);

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