Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainViewWrapper = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.ListPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.treeviewer = ((VirtualizingListView.View.MyTreeView)(target));
                return;

            case 4:
                this.fileexpr = ((VirtualizingListView.View.FileExplorer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((VirtualizingListView.View.FileExplorer)(target));
                return;

            case 2:
                this.Navigator = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 4:
                this.Next = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.Refresh = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.Closebtn = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.Search = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.collections = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }