Click here to Skip to main content
15,881,882 members
Articles / Programming Languages / C#

XLINQ Introduction Part 3 Of 3

Rate me:
Please Sign up or sign in to vote.
4.91/5 (69 votes)
24 May 2007CPOL22 min read 226K   2.6K   196  
An introduction to LINQ
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.42
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;


namespace ImageTest {
    
    
    /// <summary>
    /// frmLoader
    /// </summary>
    public partial class frmLoader : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
        
        internal ImageTest.frmLoader Window;
        
        internal System.Windows.Controls.Grid MainGrid;
        
        internal System.Windows.Controls.StackPanel pnlHeader;
        
        internal System.Windows.Controls.StackPanel pnlSearching;
        
        internal System.Windows.Controls.ComboBox cmbSearchType;
        
        internal System.Windows.Controls.Button btnSearch;
        
        internal System.Windows.Controls.StackPanel pnlSearchWord;
        
        internal System.Windows.Controls.TextBox txtSearchWord;
        
        internal System.Windows.Controls.Grid ItemsGrid;
        
        internal System.Windows.Controls.StackPanel pnlContents;
        
        internal System.Windows.Controls.StackPanel pnlNextPrev;
        
        internal System.Windows.Controls.Button btnPrev;
        
        internal System.Windows.Controls.Button btnNext;
        
        internal System.Windows.Controls.Label lblPageIngex;
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Uri resourceLocater = new System.Uri("/ImageTest;component/frmloader.xaml", System.UriKind.Relative);
            System.Windows.Application.LoadComponent(this, resourceLocater);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            this.Window = ((ImageTest.frmLoader)(target));
            return;
            case 2:
            this.MainGrid = ((System.Windows.Controls.Grid)(target));
            return;
            case 4:
            this.pnlHeader = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 5:
            this.pnlSearching = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 6:
            this.cmbSearchType = ((System.Windows.Controls.ComboBox)(target));
            return;
            case 7:
            this.btnSearch = ((System.Windows.Controls.Button)(target));
            return;
            case 8:
            this.pnlSearchWord = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 9:
            this.txtSearchWord = ((System.Windows.Controls.TextBox)(target));
            return;
            case 10:
            this.ItemsGrid = ((System.Windows.Controls.Grid)(target));
            return;
            case 11:
            this.pnlContents = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 12:
            this.pnlNextPrev = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 13:
            this.btnPrev = ((System.Windows.Controls.Button)(target));
            return;
            case 14:
            this.btnNext = ((System.Windows.Controls.Button)(target));
            return;
            case 15:
            this.lblPageIngex = ((System.Windows.Controls.Label)(target));
            return;
            }
            this._contentLoaded = true;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
        void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 3:
            
            #line 31 "..\..\frmLoader.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ItemClicked);
            
            #line default
            #line hidden
            break;
            }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)

- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence

Both of these at Sussex University UK.

Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2016
  • Codeproject MVP 2016
  • Microsoft C# MVP 2015
  • Codeproject MVP 2015
  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog

Comments and Discussions