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

            #line 18 "..\..\..\Views\NewReportFormView.xaml"
                ((Mvvm.Views.NewReportFormView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 41 "..\..\..\Views\NewReportFormView.xaml"
                this.NameTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SaveEnableCheck);

            #line default
            #line hidden
                return;

            case 4:
                this.AddressTextBox = ((Mvvm.Controls.GeoLocationAutoComplete)(target));
                return;

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

            #line 52 "..\..\..\Views\NewReportFormView.xaml"
                this.NumOfExplosionsTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SaveEnableCheck);

            #line default
            #line hidden
                return;

            case 6:
                this.TimeDatePicker = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 7:
                this.ActionsPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 8:
                this.SaveButton = ((Mvvm.Controls.ActionButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.MapView = ((Mvvm.MapView)(target));
                return;

            case 6:
                this.kmeansButton = ((Mvvm.Controls.ActionButton)(target));
                return;

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

            case 8:
                this.kmeansTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.ReportFormView = ((Mvvm.Views.NewReportFormView)(target));
                return;

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

            case 11:
                this.goToMap_button = ((System.Windows.Controls.Button)(target));

            #line 120 "..\..\..\Views\MainWindow.xaml"
                this.goToMap_button.Click += new System.Windows.RoutedEventHandler(this.GoToMap_button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.AnalysisResult_card = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 13:
                this.AnalysisResult_TB = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }