예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\MainWindow.xaml"
                ((WpfTreeView.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered);

            #line default
            #line hidden
                return;

            case 2:
                this.FolderView = ((MultiSelectTreeView.MultiSelectTreeView)(target));
                return;

            case 3:
                this.Filter = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 78 "..\..\MainWindow.xaml"
                this.btnDialogOk.Click += new System.Windows.RoutedEventHandler(this.btnDialogOk_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.FolderView = ((MultiSelectTreeView.MultiSelectTreeView)(target));
         return;
     }
     this._contentLoaded = true;
 }