示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.Toolbar = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 3:
     this.showTvBtn = ((SugzTools.Controls.SgzButton)(target));
     return;
     case 4:
     this.AddFileBtn = ((SugzTools.Controls.SgzButton)(target));
     return;
     case 5:
     this.AddFolderBtn = ((SugzTools.Controls.SgzButton)(target));
     return;
     case 6:
     this.TvsPanel = ((System.Windows.Controls.DockPanel)(target));
     
     #line 79 "..\..\MView.xaml"
     this.TvsPanel.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Treeview_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.filesBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     return;
     case 8:
     this.maxFoldersBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     return;
     case 9:
     
     #line 100 "..\..\MView.xaml"
     ((System.Windows.Controls.TreeView)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TreeView_MouseUp);
     
     #line default
     #line hidden
     return;
     case 10:
     this.foldersBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     return;
     case 11:
     
     #line 108 "..\..\MView.xaml"
     ((System.Windows.Controls.TreeView)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TreeView_MouseUp);
     
     #line default
     #line hidden
     return;
     case 12:
     this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Toolbar = ((SugzTools.Controls.SgzSlidingDockPanel)(target));
                return;

            case 3:
                this.AddFolderBtn = ((SugzTools.Controls.SgzButton)(target));
                return;
            }
            this._contentLoaded = true;
        }