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

            case 2:
                this.expFolderPicker = ((FileExplorer.WPF.UserControls.Explorer)(target));
                return;

            case 3:
                this.GotoBookmarkDirectory = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.RemoveBookmark = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }