コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MenuLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 17 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.PrintButton.Click += new System.Windows.RoutedEventHandler(this.PrintButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 35 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.PrevButton.Click += new System.Windows.RoutedEventHandler(this.PrevButton_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.DeleteButton = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.MainTabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 11:
                this.IncidentControlUC = ((Invert911.Incident.IncidentControl)(target));
                return;

            case 12:
                this.PersonTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.IncidentPersons = ((Invert911.InvertCommon.Modules.Person.Persons)(target));
                return;

            case 14:
                this.VehicleTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.IncidentVehicles = ((Invert911.InvertCommon.Modules.Vehicle.Vehicles)(target));
                return;

            case 16:
                this.IncidentProperties = ((Invert911.InvertCommon.Modules.Property.Properties)(target));
                return;

            case 17:
                this.IncidentAttachments = ((Invert911.InvertCommon.Modules.Attachments)(target));
                return;

            case 18:
                this.IncidentLinks = ((Invert911.InvertCommon.Modules.Links)(target));
                return;

            case 19:
                this.NarrativeTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:
                this.SummaryNarrative = ((Invert911.InvertCommon.Modules.Narrative)(target));
                return;

            case 21:
                this.MainNarrative = ((Invert911.InvertCommon.Modules.Narrative)(target));
                return;

            case 22:
                this.ModusOperandiTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.OffenseTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 24:
                this.LinkageTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 25:
                this.LawIncidentAssociations = ((Invert911.InvertCommon.Modules.Linkage)(target));
                return;

            case 26:
                this.ReportTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 27:
                this.StandardReportButton = ((System.Windows.Controls.Button)(target));

            #line 222 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.StandardReportButton.Click += new System.Windows.RoutedEventHandler(this.StandardReportButton_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.DeltaIncidentButton = ((System.Windows.Controls.Button)(target));

            #line 224 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.DeltaIncidentButton.Click += new System.Windows.RoutedEventHandler(this.DeltaIncidentButton_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.ExportDataReport = ((System.Windows.Controls.Button)(target));

            #line 226 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.ExportDataReport.Click += new System.Windows.RoutedEventHandler(this.ExportDataReport_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.ExportSchemaReport = ((System.Windows.Controls.Button)(target));

            #line 227 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.ExportSchemaReport.Click += new System.Windows.RoutedEventHandler(this.ExportSchemaReport_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.PrintReportBrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 233 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.PrintReportBrowser.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.PrintReportBrowser_Navigating);

            #line default
            #line hidden

            #line 233 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
                this.PrintReportBrowser.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.PrintReportBrowser_Navigated);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MenuLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.SaveButton = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.PrintButton = ((System.Windows.Controls.Button)(target));
     
     #line 23 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.PrintButton.Click += new System.Windows.RoutedEventHandler(this.PrintButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.CopyButton = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.PrevButton = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.PrevButton.Click += new System.Windows.RoutedEventHandler(this.PrevButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.NextButton = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.DeleteButton = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.CancelButton = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.CloseButton = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.MainTabControl = ((System.Windows.Controls.TabControl)(target));
     return;
     case 11:
     this.IncidentControlUC = ((Invert911.Incident.IncidentControl)(target));
     return;
     case 12:
     this.PersonTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 13:
     this.IncidentPersons = ((Invert911.InvertCommon.Modules.Person.Persons)(target));
     return;
     case 14:
     this.VehicleTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 15:
     this.IncidentVehicles = ((Invert911.InvertCommon.Modules.Vehicle.Vehicles)(target));
     return;
     case 16:
     this.IncidentProperties = ((Invert911.InvertCommon.Modules.Property.Properties)(target));
     return;
     case 17:
     this.IncidentAttachments = ((Invert911.InvertCommon.Modules.Attachments)(target));
     return;
     case 18:
     this.IncidentLinks = ((Invert911.InvertCommon.Modules.Links)(target));
     return;
     case 19:
     this.NarrativeTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 20:
     this.SummaryNarrative = ((Invert911.InvertCommon.Modules.Narrative)(target));
     return;
     case 21:
     this.MainNarrative = ((Invert911.InvertCommon.Modules.Narrative)(target));
     return;
     case 22:
     this.ModusOperandiTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 23:
     this.OffenseTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 24:
     this.LinkageTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 25:
     this.LawIncidentAssociations = ((Invert911.InvertCommon.Modules.Linkage)(target));
     return;
     case 26:
     this.ReportTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 27:
     this.StandardReportButton = ((System.Windows.Controls.Button)(target));
     
     #line 222 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.StandardReportButton.Click += new System.Windows.RoutedEventHandler(this.StandardReportButton_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.DeltaIncidentButton = ((System.Windows.Controls.Button)(target));
     
     #line 224 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.DeltaIncidentButton.Click += new System.Windows.RoutedEventHandler(this.DeltaIncidentButton_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.ExportDataReport = ((System.Windows.Controls.Button)(target));
     
     #line 226 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.ExportDataReport.Click += new System.Windows.RoutedEventHandler(this.ExportDataReport_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.ExportSchemaReport = ((System.Windows.Controls.Button)(target));
     
     #line 227 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.ExportSchemaReport.Click += new System.Windows.RoutedEventHandler(this.ExportSchemaReport_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.PrintReportBrowser = ((System.Windows.Controls.WebBrowser)(target));
     
     #line 233 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.PrintReportBrowser.Navigating += new System.Windows.Navigation.NavigatingCancelEventHandler(this.PrintReportBrowser_Navigating);
     
     #line default
     #line hidden
     
     #line 233 "..\..\..\..\..\Modules\Law\Incident\IncidentEntry.xaml"
     this.PrintReportBrowser.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.PrintReportBrowser_Navigated);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }