AnyPlace.MainPage.InitializeComponent C# (CSharp) Method

InitializeComponent() private method

private InitializeComponent ( ) : void
return void
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Windows.Application.LoadComponent(this, new System.Uri("/AnyPlace;component/MainPage.xaml", System.UriKind.Relative));
            this.canvas = ((System.Windows.Controls.Canvas)(this.FindName("canvas")));
            this.moveAnimation = ((System.Windows.Media.Animation.Storyboard)(this.FindName("moveAnimation")));
            this.CanvasMenu = ((System.Windows.Controls.Canvas)(this.FindName("CanvasMenu")));
            this.gd_result = ((System.Windows.Controls.Grid)(this.FindName("gd_result")));
            this.pb_result = ((System.Windows.Controls.ProgressBar)(this.FindName("pb_result")));
            this.txt_term = ((System.Windows.Controls.TextBlock)(this.FindName("txt_term")));
            this.txt_result = ((System.Windows.Controls.TextBlock)(this.FindName("txt_result")));
            this.ls_search = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("ls_search")));
            this.directions_grid = ((System.Windows.Controls.Grid)(this.FindName("directions_grid")));
            this.calcProgrBar = ((System.Windows.Controls.ProgressBar)(this.FindName("calcProgrBar")));
            this.calcroutestext = ((System.Windows.Controls.TextBlock)(this.FindName("calcroutestext")));
            this.time = ((System.Windows.Controls.TextBlock)(this.FindName("time")));
            this.distance = ((System.Windows.Controls.TextBlock)(this.FindName("distance")));
            this.dire = ((System.Windows.Controls.TextBlock)(this.FindName("dire")));
            this.RouteLLS = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("RouteLLS")));
            this.grdCommands = ((System.Windows.Controls.Grid)(this.FindName("grdCommands")));
            this.Mymap = ((Microsoft.Phone.Maps.Controls.Map)(this.FindName("Mymap")));
            this.floorpicker = ((System.Windows.Controls.Grid)(this.FindName("floorpicker")));
            this.autoCompleteBuilding = ((Microsoft.Phone.Controls.AutoCompleteBox)(this.FindName("autoCompleteBuilding")));
            this.txt_selectedfloor = ((System.Windows.Controls.TextBlock)(this.FindName("txt_selectedfloor")));
            this.Picker = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("Picker")));
            this.btn_builddown = ((System.Windows.Controls.Button)(this.FindName("btn_builddown")));
            this.btn_floordown = ((System.Windows.Controls.Button)(this.FindName("btn_floordown")));
            this.buildingsButton = ((System.Windows.Controls.Grid)(this.FindName("buildingsButton")));
            this.optionsbtn = ((System.Windows.Controls.Grid)(this.FindName("optionsbtn")));
            this.lpicker = ((System.Windows.Controls.Grid)(this.FindName("lpicker")));
            this.BPicker = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("BPicker")));
            this.downloading = ((System.Windows.Controls.Grid)(this.FindName("downloading")));
            this.txt_download = ((System.Windows.Controls.TextBlock)(this.FindName("txt_download")));
            this.trackmebtn = ((System.Windows.Controls.Grid)(this.FindName("trackmebtn")));
            this.floorButton = ((System.Windows.Controls.Grid)(this.FindName("floorButton")));
            this.stack = ((System.Windows.Controls.StackPanel)(this.FindName("stack")));
            this.loading = ((System.Windows.Controls.ProgressBar)(this.FindName("loading")));
            this.closeGrid = ((System.Windows.Controls.Grid)(this.FindName("closeGrid")));
            this.txt_msg = ((System.Windows.Controls.TextBlock)(this.FindName("txt_msg")));
            this.zoompanel = ((System.Windows.Controls.Grid)(this.FindName("zoompanel")));
            this.floorPanel = ((System.Windows.Controls.StackPanel)(this.FindName("floorPanel")));
            this.txt_cur = ((System.Windows.Controls.TextBlock)(this.FindName("txt_cur")));
            this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
            this.grid_search = ((System.Windows.Controls.Grid)(this.FindName("grid_search")));
            this.txt_msg1 = ((System.Windows.Controls.TextBlock)(this.FindName("txt_msg1")));
            this.all_builds = ((System.Windows.Controls.Button)(this.FindName("all_builds")));
            this.autoCompleteBox = ((Microsoft.Phone.Controls.AutoCompleteBox)(this.FindName("autoCompleteBox")));
            this.MapOptions = ((System.Windows.Controls.Grid)(this.FindName("MapOptions")));
            this.appBar = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("appBar")));
            this.sbutton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("sbutton")));
        }
    }
MainPage