void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 36 "..\..\NewFallUC.xaml"
                this.Browse.Click += new System.Windows.RoutedEventHandler(this.Browse_Click);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.SaveButton = ((PL.ActionButton)(target));
                return;

            case 7:
                this.CancelButton = ((PL.ActionButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.AddressTextBox = ((PL.GeoLocationAutoComplete)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\NewReportUC.xaml"
                this.NoiseIntensityTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SaveEnableCheck);

            #line default
            #line hidden

            #line 43 "..\..\NewReportUC.xaml"
                this.NoiseIntensityTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox1);

            #line default
            #line hidden

            #line 47 "..\..\NewReportUC.xaml"
                this.NoiseIntensityTextBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.NoiseIntensityTextBox_KeyUp);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 51 "..\..\NewReportUC.xaml"
                this.NumOfExplosionsTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\NewReportUC.xaml"
                this.TimeDatePicker.DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.TimeDatePicker_DataContextChanged);

            #line default
            #line hidden

            #line 63 "..\..\NewReportUC.xaml"
                this.TimeDatePicker.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.TimeDatePicker_ContextMenuOpening);

            #line default
            #line hidden

            #line 63 "..\..\NewReportUC.xaml"
                this.TimeDatePicker.DragEnter += new System.Windows.DragEventHandler(this.TimeDatePicker_DragEnter);

            #line default
            #line hidden
                return;

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

            case 8:
                this.SaveButton = ((PL.ActionButton)(target));
                return;

            case 9:
                this.CancelButton = ((PL.ActionButton)(target));
                return;
            }
            this._contentLoaded = true;
        }