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

            case 2:
                this.lbMatchedProoducts = ((System.Windows.Controls.ListBox)(target));
                return;

            case 3:
                this.menuButtons = ((MagicMirror.Views.MainButtonMenuBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\MainWindow.xaml"
                ((MagicMirror.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 3:
                this.menuButtons = ((MagicMirror.Views.MainButtonMenuBar)(target));
                return;
            }
            this._contentLoaded = true;
        }