void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FilterBox = ((TraceLab.UI.WPF.Controls.SearchTextBox)(target));
                return;

            case 2:
                this.FilterBinding = ((System.Windows.Data.Binding)(target));
                return;

            case 3:
                this.TagView = ((System.Windows.Controls.TreeView)(target));

            #line 43 "..\..\..\Views\ComponentLibraryOrganizer.xaml"
                this.TagView.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TreeView_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.ComponentList = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        static void OnSearchEventTimeDelayChanged(
            DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SearchTextBox stb = o as SearchTextBox;

            if (stb != null)
            {
                stb.searchEventDelayTimer.Interval = ((Duration)e.NewValue).TimeSpan;
                stb.searchEventDelayTimer.Stop();
            }
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ComponentLibraryRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.IconsToolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 5:

            #line 251 "..\..\..\Views\ComponentsLibraryWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenImportManager_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.FilterBox = ((TraceLab.UI.WPF.Controls.SearchTextBox)(target));
                return;

            case 7:
                this.FilterBinding = ((System.Windows.Data.Binding)(target));
                return;

            case 8:
                this.PlaceHolderWidth = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.ComponentLibrary = ((TraceLab.UI.WPF.Controls.TreeListView)(target));
                return;

            case 10:
                this.rescanCanvas = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.isRescanBinding = ((System.Windows.Data.Binding)(target));
                return;

            case 12:
                this.rescanImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ComponentLibraryRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.IconsToolBar = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 5:
     
     #line 251 "..\..\..\Views\ComponentsLibraryWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenImportManager_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.FilterBox = ((TraceLab.UI.WPF.Controls.SearchTextBox)(target));
     return;
     case 7:
     this.FilterBinding = ((System.Windows.Data.Binding)(target));
     return;
     case 8:
     this.PlaceHolderWidth = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.ComponentLibrary = ((TraceLab.UI.WPF.Controls.TreeListView)(target));
     return;
     case 10:
     this.rescanCanvas = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.isRescanBinding = ((System.Windows.Data.Binding)(target));
     return;
     case 12:
     this.rescanImage = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.FilterBox = ((TraceLab.UI.WPF.Controls.SearchTextBox)(target));
     return;
     case 2:
     this.FilterBinding = ((System.Windows.Data.Binding)(target));
     return;
     case 3:
     this.TagView = ((System.Windows.Controls.TreeView)(target));
     
     #line 43 "..\..\..\Views\ComponentLibraryOrganizer.xaml"
     this.TagView.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.TreeView_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ComponentList = ((System.Windows.Controls.ListView)(target));
     return;
     }
     this._contentLoaded = true;
 }