//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1318
//
//     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;
using VisualPathFinder;


namespace VisualPathFinder {
    
    
    /// <summary>
    /// Window1
    /// </summary>
    public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
        
        internal VisualPathFinder.Map Map;
        
        internal System.Windows.Controls.StackPanel PathSettings;
        
        internal System.Windows.Controls.TextBox rows;
        
        internal System.Windows.Controls.TextBox columns;
        
        internal System.Windows.Controls.Button x_RunButton;
        
        internal System.Windows.Controls.TextBox moveDelay;
        
        internal System.Windows.Controls.RadioButton Breadth;
        
        internal System.Windows.Controls.RadioButton Best;
        
        internal System.Windows.Controls.CheckBox highligthPath;
        
        internal System.Windows.Controls.CheckBox allow_diagonals;
        
        internal System.Windows.Controls.CheckBox random_path;
        
        internal System.Windows.Controls.TextBlock Attempts;
        
        internal System.Windows.Controls.TextBlock distance;
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Uri resourceLocater = new System.Uri("/VisualPathFinder;component/window1.xaml", System.UriKind.Relative);
            System.Windows.Application.LoadComponent(this, resourceLocater);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
            return System.Delegate.CreateDelegate(delegateType, this, handler);
        }
        
        [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.Map = ((VisualPathFinder.Map)(target));
            return;
            case 2:
            this.PathSettings = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 3:
            
            #line 16 "..\..\Window1.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_Random);
            
            #line default
            #line hidden
            return;
            case 4:
            
            #line 17 "..\..\Window1.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_Clear);
            
            #line default
            #line hidden
            return;
            case 5:
            
            #line 18 "..\..\Window1.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_ClearAll);
            
            #line default
            #line hidden
            return;
            case 6:
            this.rows = ((System.Windows.Controls.TextBox)(target));
            
            #line 20 "..\..\Window1.xaml"
            this.rows.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.change_rows);
            
            #line default
            #line hidden
            return;
            case 7:
            this.columns = ((System.Windows.Controls.TextBox)(target));
            
            #line 22 "..\..\Window1.xaml"
            this.columns.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.change_columns);
            
            #line default
            #line hidden
            return;
            case 8:
            this.x_RunButton = ((System.Windows.Controls.Button)(target));
            
            #line 27 "..\..\Window1.xaml"
            this.x_RunButton.Click += new System.Windows.RoutedEventHandler(this.btn_Run);
            
            #line default
            #line hidden
            return;
            case 9:
            this.moveDelay = ((System.Windows.Controls.TextBox)(target));
            return;
            case 10:
            this.Breadth = ((System.Windows.Controls.RadioButton)(target));
            return;
            case 11:
            this.Best = ((System.Windows.Controls.RadioButton)(target));
            return;
            case 12:
            
            #line 32 "..\..\Window1.xaml"
            ((System.Windows.Controls.CheckBox)(target)).Click += new System.Windows.RoutedEventHandler(this.optimal_click);
            
            #line default
            #line hidden
            return;
            case 13:
            this.highligthPath = ((System.Windows.Controls.CheckBox)(target));
            
            #line 33 "..\..\Window1.xaml"
            this.highligthPath.Click += new System.Windows.RoutedEventHandler(this.highlight_click);
            
            #line default
            #line hidden
            return;
            case 14:
            this.allow_diagonals = ((System.Windows.Controls.CheckBox)(target));
            
            #line 34 "..\..\Window1.xaml"
            this.allow_diagonals.Click += new System.Windows.RoutedEventHandler(this.diagonals_click);
            
            #line default
            #line hidden
            return;
            case 15:
            this.random_path = ((System.Windows.Controls.CheckBox)(target));
            
            #line 35 "..\..\Window1.xaml"
            this.random_path.Click += new System.Windows.RoutedEventHandler(this.randomPath_Click);
            
            #line default
            #line hidden
            return;
            case 16:
            this.Attempts = ((System.Windows.Controls.TextBlock)(target));
            return;
            case 17:
            this.distance = ((System.Windows.Controls.TextBlock)(target));
            return;
            }
            this._contentLoaded = true;
        }
    }
}
