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

            case 2:
                this.replaceTextbox = ((JustTag.Controls.AutoCompleteTextbox)(target));
                return;

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

            #line 54 "..\..\..\Pages\FindReplaceTagsWindow.xaml"
                this.replaceButton.Click += new System.Windows.RoutedEventHandler(this.replaceButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.backButton_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.upButton = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                this.upButton.Click += new System.Windows.RoutedEventHandler(this.upButton_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                this.forwardButton.Click += new System.Windows.RoutedEventHandler(this.forwardButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.currentPathBox = ((System.Windows.Controls.TextBox)(target));

            #line 37 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                this.currentPathBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.textbox_KeyUp);

            #line default
            #line hidden

            #line 38 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                this.currentPathBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.currentPathBox_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.tagFilterTextbox = ((JustTag.Controls.AutoCompleteTextbox)(target));
                return;

            case 6:
                this.sortByBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.descendingBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.searchButton = ((System.Windows.Controls.Button)(target));

            #line 69 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                this.searchButton.Click += new System.Windows.RoutedEventHandler(this.searchButton_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 71 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 10:

            #line 72 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 11:

            #line 73 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 12:

            #line 74 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 75 "..\..\..\..\Controls\FileBrowser\FileBrowser.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 14:
                this.folderContentsBox = ((JustTag.Controls.FileBrowser.FileList)(target));
                return;
            }
            this._contentLoaded = true;
        }