Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\showData.xaml"
                this.lstBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\Views\MapTimed.xaml"
                ((CIDER.Views.MapTimed)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.onUnload);

            #line default
            #line hidden
                return;

            case 2:
                this.slValue = ((System.Windows.Controls.Slider)(target));

            #line 19 "..\..\..\Views\MapTimed.xaml"
                this.slValue.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slValueChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:
                this.gdDialogHost = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 5:
                this.ListViewProducts = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 4
0
 public MapModel(Microsoft.Maps.MapControl.WPF.Map map)
 {
     StrokeThickness = 2;
     Polygons        = new Collection <MapPolygon>();
     Marks           = new GeoCoordinateCollection();
     _map            = map;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 2:

            #line 13 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnLoadFromFileClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 14 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSaveToFileClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GoogleMapsUC1 = ((PL.GoogleMapsUC)(target));
                return;

            case 2:
                this.MainMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

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

            #line 12 "..\..\GoogleMapsUC.xaml"
                this.MapModeButten.Click += new System.Windows.RoutedEventHandler(this.MapModeButten_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.StatlliteModeButten = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\GoogleMapsUC.xaml"
                this.StatlliteModeButten.Click += new System.Windows.RoutedEventHandler(this.StatlliteModeButten_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addressListBox = ((System.Windows.Controls.ListBox)(target));

            #line 305 "..\..\..\View\NewIncidentView.xaml"
                this.addressListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.addressListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.incidentMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

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

            case 4:
                this.stackPanelCallCollectionResources = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));

            #line 12 "..\..\..\EventForms\MapUserControl.xaml"
                this.Map.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OnMapDoubleClick);

            #line default
            #line hidden

            #line 13 "..\..\..\EventForms\MapUserControl.xaml"
                this.Map.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.OnMouseWheelMove);

            #line default
            #line hidden

            #line 14 "..\..\..\EventForms\MapUserControl.xaml"
                this.Map.MouseEnter += new System.Windows.Input.MouseEventHandler(this.OnMouseEnter);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

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

            case 3:
                this.Timer = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Round = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TimeZoneBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 3:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));

            #line 25 "..\..\LocationDisplay.xaml"
                this.Map.Loaded += new System.Windows.RoutedEventHandler(this.MapLoaded);

            #line default
            #line hidden
                return;

            case 4:
                this.Pin = ((Microsoft.Maps.MapControl.WPF.Pushpin)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fileName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 15 "..\..\FlightPlanBuilder.xaml"
                this.createfile.Click += new System.Windows.RoutedEventHandler(this.saveMapFile);

            #line default
            #line hidden
                return;

            case 3:
                this.MainMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 4:
                this.markerListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 5:
                this.altChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ByCityRB = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 3:
                this.ByCityCoordsRB = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));

            #line 58 "..\..\..\..\View\AddCityUC.xaml"
                this.Map.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Map_MouseRightButtonDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mapWindow = ((Milestone_2.MapWindow)(target));
                return;

            case 2:
                this.mapGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 4:
                this.switchModesButton = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\MapWindow.xaml"
                this.switchModesButton.Click += new System.Windows.RoutedEventHandler(this.switchModesButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ControllerWindowName = ((PlaneController.ControllerWindow)(target));
                return;

            case 2:
                this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 3:
                this.Joystick = ((PlaneController.Resources.Joystick)(target));
                return;

            case 4:
                this.Aileron_TextBox = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.AileronSlider = ((System.Windows.Controls.Slider)(target));

            #line 51 "..\..\ControllerWindow.xaml"
                this.AileronSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.AileronSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.Throttle_TextBox = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.ThrottleSlider = ((System.Windows.Controls.Slider)(target));

            #line 60 "..\..\ControllerWindow.xaml"
                this.ThrottleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ThrottleSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.ErrorsLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.ErrorsComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 101 "..\..\ControllerWindow.xaml"
                this.ErrorsComboBox.DropDownOpened += new System.EventHandler(this.ErrorsBox_Opened);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.KathMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.KathMap.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.KathMap_MouseDoubleClick);

            #line default
            #line hidden

            #line 17 "..\..\MainWindow.xaml"
                this.KathMap.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.KathMap_MouseDown);

            #line default
            #line hidden

            #line 17 "..\..\MainWindow.xaml"
                this.KathMap.ViewChangeStart += new System.EventHandler <Microsoft.Maps.MapControl.WPF.MapEventArgs>(this.KathMap_ViewChangeStart);

            #line default
            #line hidden
                return;

            case 3:
                this.lblDateTime = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lblSummary = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lblTemperature = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.lblHumidity = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lblPressure = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.lblWindspeed = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.CurrentPosition = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 2:
                this.theEstimatePin = ((Microsoft.Maps.MapControl.WPF.Pushpin)(target));
                return;

            case 3:
                this.realFallPin = ((Microsoft.Maps.MapControl.WPF.Pushpin)(target));
                return;

            case 4:
                this.MapPolyline = ((Microsoft.Maps.MapControl.WPF.MapPolyline)(target));
                return;

            case 5:

            #line 49 "..\..\..\View\MapsUC.xaml"
                ((System.Windows.Controls.DatePicker)(target)).SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\View\MapsUC.xaml"
                this.FallsComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FallsComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.NoReprtTxt = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 52 "..\..\..\View\MapsUC.xaml"
                this.buttonHow.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.page = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 17
0
 internal MapManager(MainViewModel appViewModel, Microsoft.Maps.MapControl.WPF.Map map)
 {
     _pushpins     = new Dictionary <TerminalViewModel, Pushpin>();
     _appViewModel = appViewModel;
     _map          = map;
     _appViewModel.TerminalViewModels.CollectionChanged += TerminalsOnCollectionChanged;
     _appViewModel.PropertyChanged += _appViewModel_PropertyChanged;
 }
Esempio n. 18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((KinectBing.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\MainWindow.xaml"
                ((KinectBing.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 3:
                this.camera = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.infoCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Body_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mapView = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 2:
                this.pushpin = ((Microsoft.Maps.MapControl.WPF.Pushpin)(target));
                return;

            case 3:
                this.background = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.TimeTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.TimeTextBox = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.Coordinate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.LatitudeTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.LongitudeTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.waterlevel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.WaterLevelTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.WaterLevelSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 12:
                this.listbox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 13:
                this.Save_Button = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:
                this.e = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.s = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.f = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btnDialogOK = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 7:
                this.txtSearch = ((System.Windows.Controls.TextBox)(target));

            #line 90 "..\..\..\UserControls\Search.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.ComboboxSort = ((System.Windows.Controls.ComboBox)(target));

            #line 93 "..\..\..\UserControls\Search.xaml"
                this.ComboboxSort.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboboxSort_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.dialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 10:
                this.ListViewIceCreams = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.SkeletonBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 5 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.SkeletonBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.layoutGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

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

            case 5:
                this.checkBoxSeatedMode = ((System.Windows.Controls.CheckBox)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.checkBoxSeatedMode.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxSeatedModeChanged);

            #line default
            #line hidden

            #line 70 "..\..\MainWindow.xaml"
                this.checkBoxSeatedMode.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxSeatedModeChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 7:
                this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Txb_GrdStatusOn = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.Txb_GrdStatusOff = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.Txb_GrdStatusMaintenance = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Img_Settings = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.ImgGridStatus = ((System.Windows.Controls.Image)(target));
                return;

            case 6:

            #line 66 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BrdAddGrid_MouseUp);

            #line default
            #line hidden
                return;

            case 7:

            #line 69 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BrdAddGridLine_MouseUp);

            #line default
            #line hidden
                return;

            case 8:

            #line 72 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BrdRemove_MouseUp);

            #line default
            #line hidden
                return;

            case 9:
                this.MainMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 24
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.newMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
         return;
     }
     this._contentLoaded = true;
 }
Esempio n. 25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\..\Data\ViewModels\Map.xaml"
                ((HeavyClient.Data.ViewModels.Map)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MyMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 3:
                this.detailsItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.DepartAdress = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.ArriveAdress = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.Distance = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.Duration = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.directions = ((System.Windows.Controls.ListBox)(target));
                return;

            case 9:
                this.mostVDeparture = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.mostVArrival = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.chart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 2:
                this.EnergySource = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.SolarPanel = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.WindTurbine = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.EnergyConsumer = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.DERBlue = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 8:
                this.DERRed = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.LineBlue = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.LineGreen = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.LineRed = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.GISTextBlock = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 27
0
 private void InitMap()
 {
     if (!RefreshMeta())
     {
         return;
     }
     _map = ((m.Map)_layoutObjects["canvasMap"]);
     _map.SetView(new m.LocationRect(new m.Location((double)_meta["minLat"], (double)_meta["minLng"]),
                                     new m.Location((double)_meta["maxLat"], (double)_meta["maxLng"])));
     RefreshDrawingData();
 }
Esempio n. 28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridTest = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.stackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.date = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 4:
                this.text = ((System.Windows.Controls.AutoCompleteBox)(target));
                return;

            case 5:
                this.button = ((System.Windows.Controls.Button)(target));
                return;

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

            case 7:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.BingMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 9:
                this.packIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 10:
                this.border = ((System.Windows.Controls.Border)(target));
                return;

            case 11:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.Chart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 29
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.reporterViewModel = ((BL.ViewModels.ReporterViewModel)(target));
                return;

            case 2:
                this.GridTest = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.stackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 7:
                this.SuccessLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.FailedLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.checkBox1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.checkBox2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.BingMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 12:
                this.LocationPin = ((Microsoft.Maps.MapControl.WPF.Pushpin)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 18 "..\..\..\View\PointOfInterestView.xaml"
                ((ArgeoSync.View.PointOfInterestView)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.ChildWindow_DataContextChanged);

            #line default
            #line hidden

            #line 20 "..\..\..\View\PointOfInterestView.xaml"
                ((ArgeoSync.View.PointOfInterestView)(target)).Closing += new System.EventHandler <System.ComponentModel.CancelEventArgs>(this.ChildWindow_Closing);

            #line default
            #line hidden

            #line 21 "..\..\..\View\PointOfInterestView.xaml"
                ((ArgeoSync.View.PointOfInterestView)(target)).IsOpenChanged += new System.Windows.RoutedEventHandler(this.ChildWindow_IsOpenChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.LongitudeTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));

            #line 132 "..\..\..\View\PointOfInterestView.xaml"
                this.myMap.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.myMap_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 6:
                this.AcceptButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));

            #line 63 "..\..\..\View\MainWindow.xaml"
                this.myMap.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.myMap_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 2:

            #line 85 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.DataGrid)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Row_DoubleClick);

            #line default
            #line hidden
                return;

            case 3:
                this.AddButton = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 4:
                this.EditButton = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.PullButton = ((System.Windows.Controls.Button)(target));
                return;

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

            case 7:
                this.ImportButton = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 8:
                this.ExportButton = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 9:
                this.RemoveButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 32
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     
     #line 11 "..\..\MainWindow.xaml"
     this.myMap.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.myMap_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 33
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DiscussionTrendMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 2:
     this.LoadingLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\MainWindow.xaml"
     ((LogisticsMapWindow.mapWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 35
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 2:
     this.activeUserLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.infoBox = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.eventCategoryLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.eventNameLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.eventSubtitleLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.timeRemainingLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.eventDescriptionTb = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.closeBtn = ((System.Windows.Controls.Label)(target));
     
     #line 25 "..\..\FindEvent.xaml"
     this.closeBtn.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.closeBtn_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 10:
     this.rsvpBtn = ((System.Windows.Controls.Label)(target));
     
     #line 26 "..\..\FindEvent.xaml"
     this.rsvpBtn.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.rsvpBtn_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.reportBtn = ((System.Windows.Controls.Label)(target));
     
     #line 27 "..\..\FindEvent.xaml"
     this.reportBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.reportBtn_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 12:
     this.header = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.groupComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 29 "..\..\FindEvent.xaml"
     this.groupComboBox.DropDownClosed += new System.EventHandler(this.groupComboBox_DropDownClosed);
     
     #line default
     #line hidden
     return;
     case 14:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.feHomeBtn = ((System.Windows.Controls.Label)(target));
     
     #line 38 "..\..\FindEvent.xaml"
     this.feHomeBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.feHomeBtn_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 16:
     this.nextEventBtn = ((System.Windows.Controls.Label)(target));
     
     #line 39 "..\..\FindEvent.xaml"
     this.nextEventBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.nextEventBtn_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 36
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.TextBoxLatitude = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.TextBoxLongitude = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.ButtonSetMapPosition = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.TextBlockZoomLevel = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.MapObject = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 7:
     this.TextBlockLatitude = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.TextBlockLongitude = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.TextBlockX = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.TextBlockY = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.TextBlockTileX = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.TextBlockTileY = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 37
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RE_AreaView = ((RealEstate.Views.AdminViews.AreaView)(target));
     
     #line 14 "..\..\..\..\Views\AdminViews\AreaView.xaml"
     this.RE_AreaView.Loaded += new System.Windows.RoutedEventHandler(this.RE_AreaView_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.DG_Areas = ((System.Windows.Controls.DataGrid)(target));
     
     #line 26 "..\..\..\..\Views\AdminViews\AreaView.xaml"
     this.DG_Areas.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DG_Areas_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.M_Areas = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 4:
     this.BT_AddArea = ((Elysium.Controls.CommandButton)(target));
     
     #line 37 "..\..\..\..\Views\AdminViews\AreaView.xaml"
     this.BT_AddArea.Click += new System.Windows.RoutedEventHandler(this.BT_AddArea_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.BT_EditArea = ((Elysium.Controls.CommandButton)(target));
     
     #line 38 "..\..\..\..\Views\AdminViews\AreaView.xaml"
     this.BT_EditArea.Click += new System.Windows.RoutedEventHandler(this.BT_EditArea_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.BT_DeleteArea = ((Elysium.Controls.CommandButton)(target));
     
     #line 39 "..\..\..\..\Views\AdminViews\AreaView.xaml"
     this.BT_DeleteArea.Click += new System.Windows.RoutedEventHandler(this.BT_DeleteArea_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.BT_Refresh = ((Elysium.Controls.CommandButton)(target));
     
     #line 40 "..\..\..\..\Views\AdminViews\AreaView.xaml"
     this.BT_Refresh.Click += new System.Windows.RoutedEventHandler(this.BT_Refresh_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.TB_SelectedArea = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainWin = ((Project422_2.MainWindow)(target));
     return;
     case 2:
     this.topbar = ((System.Windows.Controls.Menu)(target));
     return;
     case 3:
     
     #line 31 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 32 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 35 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Load_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 36 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 37 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SetDefaultView_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 38 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshSettings_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 10:
     this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.leftPaneDeviceTree = ((System.Windows.Controls.TreeView)(target));
     
     #line 57 "..\..\..\MainWindow.xaml"
     this.leftPaneDeviceTree.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.leftPaneDeviceTree_MouseDown);
     
     #line default
     #line hidden
     return;
     case 12:
     this.leftPaneContextMenu = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 13:
     
     #line 60 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddPeerDevice_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.addSlaveMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 61 "..\..\..\MainWindow.xaml"
     this.addSlaveMenuItem.Click += new System.Windows.RoutedEventHandler(this.AddSlaveDevice_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.editDeviceMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 62 "..\..\..\MainWindow.xaml"
     this.editDeviceMenuItem.Click += new System.Windows.RoutedEventHandler(this.EditDevice_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.deleteDeviceMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 63 "..\..\..\MainWindow.xaml"
     this.deleteDeviceMenuItem.Click += new System.Windows.RoutedEventHandler(this.DeleteDevice_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     
     #line 64 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewLocation_MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.locationMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     
     #line 70 "..\..\..\MainWindow.xaml"
     this.locationMap.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.locationMap_MouseRightButtonUp);
     
     #line default
     #line hidden
     
     #line 70 "..\..\..\MainWindow.xaml"
     this.locationMap.ViewChangeOnFrame += new System.EventHandler<Microsoft.Maps.MapControl.WPF.MapEventArgs>(this.locationMap_ViewChangeOnFrame);
     
     #line default
     #line hidden
     return;
     case 19:
     this.addressResultCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 20:
     this.addressResultTree = ((System.Windows.Controls.TreeView)(target));
     
     #line 72 "..\..\..\MainWindow.xaml"
     this.addressResultTree.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.addressResultTree_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 21:
     this.chooseDeviceLocationTree = ((System.Windows.Controls.TreeView)(target));
     
     #line 73 "..\..\..\MainWindow.xaml"
     this.chooseDeviceLocationTree.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.chooseDeviceLocationTree_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 22:
     this.addressResultCanvasClose = ((System.Windows.Controls.Image)(target));
     
     #line 74 "..\..\..\MainWindow.xaml"
     this.addressResultCanvasClose.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.addressResultCanvasClose_MouseDown);
     
     #line default
     #line hidden
     return;
     case 23:
     this.mapZoomControl = ((System.Windows.Controls.Slider)(target));
     
     #line 92 "..\..\..\MainWindow.xaml"
     this.mapZoomControl.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.mapZoomControl_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 24:
     this.addressSearchText = ((System.Windows.Controls.TextBox)(target));
     
     #line 97 "..\..\..\MainWindow.xaml"
     this.addressSearchText.KeyDown += new System.Windows.Input.KeyEventHandler(this.addressSearchText_KeyDown);
     
     #line default
     #line hidden
     return;
     case 25:
     
     #line 98 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 39
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.label2_Copy8 = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.longBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.label2_Copy6 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.satsBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 6:
     this.map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 7:
     this.gridSplitter1 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 8:
     this.gridSplitter2 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 9:
     this.gridSplitter3 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 10:
     this.samplesReceivedLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.dataReceivedCounter = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.samplesReceivedLabel_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.snrBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.rssiBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.samplesReceivedLabel_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.gridSplitter4 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 17:
     this.dataNoDataLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.longSent = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.label1_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.latSent = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.sendCoordinates = ((System.Windows.Controls.Button)(target));
     
     #line 102 "..\..\MainWindow.xaml"
     this.sendCoordinates.Click += new System.Windows.RoutedEventHandler(this.sendCoordinates_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.returnToHome = ((System.Windows.Controls.Button)(target));
     
     #line 103 "..\..\MainWindow.xaml"
     this.returnToHome.Click += new System.Windows.RoutedEventHandler(this.returnToHome_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.gridSplitter4_Copy = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 25:
     this.qfeInput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.label1_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.setQFE = ((System.Windows.Controls.Button)(target));
     
     #line 107 "..\..\MainWindow.xaml"
     this.setQFE.Click += new System.Windows.RoutedEventHandler(this.setQFE_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.setQFECurrent = ((System.Windows.Controls.Button)(target));
     
     #line 108 "..\..\MainWindow.xaml"
     this.setQFECurrent.Click += new System.Windows.RoutedEventHandler(this.setQFECurrent_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.gridSplitter4_Copy1 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 30:
     this.servoArm = ((System.Windows.Controls.Button)(target));
     
     #line 110 "..\..\MainWindow.xaml"
     this.servoArm.Click += new System.Windows.RoutedEventHandler(this.servoArm_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.t1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 32:
     this.releaseServo = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\MainWindow.xaml"
     this.releaseServo.Click += new System.Windows.RoutedEventHandler(this.releaseServo_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.t2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 34:
     this.gridSplitter5 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 35:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 36:
     this.label2_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 37:
     this.label2_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.label2_Copy2 = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.label2_Copy3 = ((System.Windows.Controls.Label)(target));
     return;
     case 40:
     this.label2_Copy4 = ((System.Windows.Controls.Label)(target));
     return;
     case 41:
     this.label2_Copy5 = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.gridSplitter6 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 43:
     this.rapBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 44:
     this.dewPointBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 45:
     this.altitudeBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 46:
     this.humidityBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 47:
     this.externalTempBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 48:
     this.pressureBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 49:
     this.internalTempBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 50:
     this.label2_Copy7 = ((System.Windows.Controls.Label)(target));
     return;
     case 51:
     this.latBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 52:
     this.label2_Copy9 = ((System.Windows.Controls.Label)(target));
     return;
     case 53:
     this.altitudeGPSBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 54:
     this.label2_Copy10 = ((System.Windows.Controls.Label)(target));
     return;
     case 55:
     this.headingBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 56:
     this.label2_Copy11 = ((System.Windows.Controls.Label)(target));
     return;
     case 57:
     this.pitchBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 58:
     this.label2_Copy12 = ((System.Windows.Controls.Label)(target));
     return;
     case 59:
     this.rollBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 60:
     this.label2_Copy13 = ((System.Windows.Controls.Label)(target));
     return;
     case 61:
     this.timeBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 62:
     this.label2_Copy14 = ((System.Windows.Controls.Label)(target));
     return;
     case 63:
     this.groundTempBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 64:
     this.label2_Copy15 = ((System.Windows.Controls.Label)(target));
     return;
     case 65:
     this.gridSplitter5_Copy = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 66:
     this.serialPortSelectionBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 67:
     this.connectSerialButton = ((System.Windows.Controls.Button)(target));
     
     #line 246 "..\..\MainWindow.xaml"
     this.connectSerialButton.Click += new System.Windows.RoutedEventHandler(this.connectSerialButton_Click);
     
     #line default
     #line hidden
     return;
     case 68:
     this.disconnectSerialButton = ((System.Windows.Controls.Button)(target));
     
     #line 247 "..\..\MainWindow.xaml"
     this.disconnectSerialButton.Click += new System.Windows.RoutedEventHandler(this.disconnectSerialButton_Click);
     
     #line default
     #line hidden
     return;
     case 69:
     this.gridSplitter3_Copy = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 70:
     this.groundPressure = ((System.Windows.Controls.TextBox)(target));
     return;
     case 71:
     this.serialPortBaudRate = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 72:
     this.WebcamCtrl = ((WebcamControl.Webcam)(target));
     return;
     case 73:
     this.StartRecordingButton = ((System.Windows.Controls.Button)(target));
     
     #line 270 "..\..\MainWindow.xaml"
     this.StartRecordingButton.Click += new System.Windows.RoutedEventHandler(this.StartRecordingButton_Click);
     
     #line default
     #line hidden
     return;
     case 74:
     this.StopRecordingButton = ((System.Windows.Controls.Button)(target));
     
     #line 272 "..\..\MainWindow.xaml"
     this.StopRecordingButton.Click += new System.Windows.RoutedEventHandler(this.StopRecordingButton_Click);
     
     #line default
     #line hidden
     return;
     case 75:
     this.StopCaptureButton = ((System.Windows.Controls.Button)(target));
     
     #line 274 "..\..\MainWindow.xaml"
     this.StopCaptureButton.Click += new System.Windows.RoutedEventHandler(this.StopCaptureButton_Click);
     
     #line default
     #line hidden
     return;
     case 76:
     this.StartCaptureButton = ((System.Windows.Controls.Button)(target));
     
     #line 276 "..\..\MainWindow.xaml"
     this.StartCaptureButton.Click += new System.Windows.RoutedEventHandler(this.StartCaptureButton_Click);
     
     #line default
     #line hidden
     return;
     case 77:
     this.TakeSnapshotButton = ((System.Windows.Controls.Button)(target));
     
     #line 278 "..\..\MainWindow.xaml"
     this.TakeSnapshotButton.Click += new System.Windows.RoutedEventHandler(this.TakeSnapshotButton_Click);
     
     #line default
     #line hidden
     return;
     case 78:
     this.SerialOutputs = ((System.Windows.Controls.TextBox)(target));
     return;
     case 79:
     this.VideoDevicesComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 80:
     this.AudioDevicesComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 40
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Txb_GrdStatusOn = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 2:
     this.Txb_GrdStatusOff = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.Txb_GrdStatusMaintenance = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.Img_Settings = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.ImgGridStatus = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     
     #line 66 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BrdAddGrid_MouseUp);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 69 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BrdAddGridLine_MouseUp);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 72 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BrdRemove_MouseUp);
     
     #line default
     #line hidden
     return;
     case 9:
     this.MainMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 41
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LoadDataBtn = ((System.Windows.Controls.Button)(target));
     
     #line 16 "..\..\MainWindow.xaml"
     this.LoadDataBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.GlascontainerListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 17 "..\..\MainWindow.xaml"
     this.GlascontainerListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GlascontainerListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SearchTxB = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.SearchListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 5:
     this.SearchBtn = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\MainWindow.xaml"
     this.SearchBtn.Click += new System.Windows.RoutedEventHandler(this.SearchBtn_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.MapGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.leMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 8:
     this.CustomPushpin = ((Microsoft.Maps.MapControl.WPF.Pushpin)(target));
     return;
     case 9:
     this.BalloonTip = ((System.Windows.Controls.ToolTip)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 2:
     this.rdLocation = ((System.Windows.Controls.RadioButton)(target));
     
     #line 20 "..\..\..\Views\RouteTracerBingMap.xaml"
     this.rdLocation.Checked += new System.Windows.RoutedEventHandler(this.rdLocation_Checked);
     
     #line default
     #line hidden
     return;
     case 3:
     this.rdCoord = ((System.Windows.Controls.RadioButton)(target));
     
     #line 21 "..\..\..\Views\RouteTracerBingMap.xaml"
     this.rdCoord.Checked += new System.Windows.RoutedEventHandler(this.rdCoord_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.grdCoord = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.txtFromCoord = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.txtToCoord = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.grdLocation = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.txtFromLocation = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.txtToLocation = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.btnGiveDirections = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\..\Views\RouteTracerBingMap.xaml"
     this.btnGiveDirections.Click += new System.Windows.RoutedEventHandler(this.btnGiveDirections_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.tbError = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 43
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 2:
     
     #line 33 "..\..\..\Views\MyLocationBingMap.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBase_OnClick);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 37 "..\..\..\Views\MyLocationBingMap.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBase_OnClick_2);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 38 "..\..\..\Views\MyLocationBingMap.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBase_OnClick_3);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 44
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.myMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 2:
     this.activeUserLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.header = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.peHomeBtn = ((System.Windows.Controls.Label)(target));
     
     #line 16 "..\..\PlaceEvent.xaml"
     this.peHomeBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.peHomeBtn_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 45
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 13 "..\..\..\..\Views\AdminViews\CitiesView.xaml"
     ((RealEstate.Views.AdminViews.CitiesView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.DG_Cities = ((System.Windows.Controls.DataGrid)(target));
     
     #line 25 "..\..\..\..\Views\AdminViews\CitiesView.xaml"
     this.DG_Cities.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DG_Cities_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.M_Cities = ((Microsoft.Maps.MapControl.WPF.Map)(target));
     return;
     case 4:
     this.BT_AddCity = ((Elysium.Controls.CommandButton)(target));
     
     #line 35 "..\..\..\..\Views\AdminViews\CitiesView.xaml"
     this.BT_AddCity.Click += new System.Windows.RoutedEventHandler(this.BT_AddCity_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.BT_EditCity = ((Elysium.Controls.CommandButton)(target));
     
     #line 36 "..\..\..\..\Views\AdminViews\CitiesView.xaml"
     this.BT_EditCity.Click += new System.Windows.RoutedEventHandler(this.BT_EditCity_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.BT_DeleteCity = ((Elysium.Controls.CommandButton)(target));
     return;
     case 7:
     this.BT_Refresh = ((Elysium.Controls.CommandButton)(target));
     
     #line 38 "..\..\..\..\Views\AdminViews\CitiesView.xaml"
     this.BT_Refresh.Click += new System.Windows.RoutedEventHandler(this.BT_Refresh_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.TB_SelectedCity = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }