void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWin = ((PalindromeCheckClient.MainWindow)(target));
                return;

            case 2:
                this.FolderPathTbx = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 5:
                this.CheckPalindromeBtn = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWin = ((PalindromeCheckClient.MainWindow)(target));
                return;

            case 2:
                this.PaliFilesLBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 3:
                this.IsPaliLBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 21 "..\..\MainWindow.xaml"
                this.FolderPathTbx.SelectionChanged += new System.Windows.RoutedEventHandler(this.FolderPathTbx_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.URITbx = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 23 "..\..\MainWindow.xaml"
                this.FolderPathBtn.Click += new System.Windows.RoutedEventHandler(this.FolderPathBtn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.CheckPalindromeBtn = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.CheckPalindromeBtn.Click += new System.Windows.RoutedEventHandler(this.CheckPalindromeBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }