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

            #line 10 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
                ((Invert911.InvertCommon.Modules.Admin.PersonnelPage)(target)).Initialized += new System.EventHandler(this.Page_Initialized);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
                this.RefreshButton.Click += new System.Windows.RoutedEventHandler(this.RefreshButton_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
                this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
                this.ExportButton.Click += new System.Windows.RoutedEventHandler(this.ExportButton_Click);

            #line default
            #line hidden
                return;

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

            case 9:
                this.AgencyComboBox = ((Invert911.InvertCommon.StandardGui.i9ComboBox)(target));
                return;

            case 10:
                this.PersonnelListView = ((System.Windows.Controls.ListView)(target));

            #line 82 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
                this.PersonnelListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PersonnelListView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.FirstNameTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 12:
                this.FirstNameLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 13:
                this.LastNameLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 14:
                this.LastNameTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 15:
                this.MiddleNameTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 16:
                this.MiddleNameLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 17:
                this.BadgeNumberTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 18:
                this.BadgeNumberLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 19:
                this.OfficerORITextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 20:
                this.OfficerORILabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 21:
                this.PasswordTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 22:
                this.PasswordLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 23:
                this.OfficerAssignmentTypeCodeTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 24:
                this.OfficerAssignmentTypeCodeLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 25:
                this.OfficerActivityTypeCodeTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 26:
                this.OfficerActivityTypeCodeLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 27:
                this.EnabledCheckBox = ((Invert911.InvertCommon.StandardGui.i9CheckBox)(target));
                return;

            case 28:
                this.EmailTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
                return;

            case 29:
                this.EmailLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
                return;

            case 30:
                this.ModuleNamesListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 31:
                this.TaskNameListView = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
     ((Invert911.InvertCommon.Modules.Admin.PersonnelPage)(target)).Initialized += new System.EventHandler(this.Page_Initialized);
     
     #line default
     #line hidden
     return;
     case 2:
     this.RefreshButton = ((System.Windows.Controls.Button)(target));
     
     #line 23 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
     this.RefreshButton.Click += new System.Windows.RoutedEventHandler(this.RefreshButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.AddButton = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
     this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.DeleteButton = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
     this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.SaveButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
     this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.CancelButton = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
     this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.ExportButton = ((System.Windows.Controls.Button)(target));
     
     #line 56 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
     this.ExportButton.Click += new System.Windows.RoutedEventHandler(this.ExportButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.AgencyLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.AgencyComboBox = ((Invert911.InvertCommon.StandardGui.i9ComboBox)(target));
     return;
     case 10:
     this.PersonnelListView = ((System.Windows.Controls.ListView)(target));
     
     #line 82 "..\..\..\..\Modules\Admin\PersonnelPage.xaml"
     this.PersonnelListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PersonnelListView_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.FirstNameTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 12:
     this.FirstNameLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 13:
     this.LastNameLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 14:
     this.LastNameTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 15:
     this.MiddleNameTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 16:
     this.MiddleNameLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 17:
     this.BadgeNumberTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 18:
     this.BadgeNumberLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 19:
     this.OfficerORITextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 20:
     this.OfficerORILabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 21:
     this.PasswordTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 22:
     this.PasswordLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 23:
     this.OfficerAssignmentTypeCodeTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 24:
     this.OfficerAssignmentTypeCodeLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 25:
     this.OfficerActivityTypeCodeTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 26:
     this.OfficerActivityTypeCodeLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 27:
     this.EnabledCheckBox = ((Invert911.InvertCommon.StandardGui.i9CheckBox)(target));
     return;
     case 28:
     this.EmailTextBox = ((Invert911.InvertCommon.StandardGui.i9TextBox)(target));
     return;
     case 29:
     this.EmailLabel = ((Invert911.InvertCommon.StandardGui.i9Label)(target));
     return;
     case 30:
     this.ModuleNamesListView = ((System.Windows.Controls.ListView)(target));
     return;
     case 31:
     this.TaskNameListView = ((System.Windows.Controls.ListView)(target));
     return;
     }
     this._contentLoaded = true;
 }