Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Login = ((MolserControls.MsTextBox)(target));
                return;

            case 2:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FullNumber = ((MolserControls.MsTextBox)(target));
                return;

            case 2:
                this.FacilityCod = ((MolserControls.MsTextBox)(target));
                return;

            case 3:
                this.CardNumber = ((MolserControls.MsTextBox)(target));
                return;

            case 4:
                this.HikvisionNumber = ((MolserControls.MsTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 34 "..\..\..\..\Views\Objects\PersonView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonCancel_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 6:
                this.Post = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 8:
                this.ID = ((MolserControls.MsTextBox)(target));
                return;

            case 9:
                this.extendedDataExpander = ((System.Windows.Controls.Expander)(target));
                return;

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

            case 11:
                this.departmentlevelsListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 12:
                this.levelsListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 13:
                this.historyExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 14:
                this.personHistoryListView = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.showOnlyCheckedButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 45 "..\..\ListView.xaml"
                this.showOnlyCheckedButton.Checked += new System.Windows.RoutedEventHandler(this.showOnlyCheckedButton_Checked);

            #line default
            #line hidden

            #line 46 "..\..\ListView.xaml"
                this.showOnlyCheckedButton.Unchecked += new System.Windows.RoutedEventHandler(this.showOnlyCheckedButton_Unchecked);

            #line default
            #line hidden
                return;

            case 2:
                this.findTextBox = ((MolserControls.MsTextBox)(target));

            #line 73 "..\..\ListView.xaml"
                this.findTextBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.selectAllTextBox);

            #line default
            #line hidden

            #line 74 "..\..\ListView.xaml"
                this.findTextBox.GotKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.selectAllTextBox);

            #line default
            #line hidden

            #line 75 "..\..\ListView.xaml"
                this.findTextBox.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.selectivelyIgnoreMouseButton);

            #line default
            #line hidden

            #line 76 "..\..\ListView.xaml"
                this.findTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.findTextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.filterListComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 91 "..\..\ListView.xaml"
                this.filterListComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.filterListComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.dummyElement = ((System.Windows.FrameworkElement)(target));
                return;

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

            case 6:
                this.itemsDataGrig = ((System.Windows.Controls.DataGrid)(target));

            #line 129 "..\..\ListView.xaml"
                this.itemsDataGrig.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden
                return;

            case 8:
                this.rowsCountStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.rowsCountTextBox = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:

            #line 223 "..\..\ListView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseWindow_Click);

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

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

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

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

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

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

            case 7:

            #line 169 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Viewbox)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.operDbUse_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:
                this.IidkViewBox = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 9:
                this.iidkDisconnected = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

            case 11:

            #line 255 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl_OnSelectionChanged);

            #line default
            #line hidden
                return;

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

            case 13:
                this.PersonsAEF = ((MolserControls.MsComboBox)(target));
                return;

            case 14:
                this.DepartmentsAEF = ((MolserControls.MsTextBox)(target));

            #line 363 "..\..\..\Views\MainWindow.xaml"
                this.DepartmentsAEF.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 15:
                this.StartDateAEF = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 16:
                this.EndDateAEQP = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 17:

            #line 500 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.AeEventsButton_Checked);

            #line default
            #line hidden
                return;

            case 18:

            #line 531 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.AeAccessPointsButton_Checked);

            #line default
            #line hidden
                return;

            case 19:
                this.PersonIDTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 20:
                this.FacilityCodTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 21:
                this.CardPartParsecTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 22:
                this.accessEvenetsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 668 "..\..\..\Views\MainWindow.xaml"
                this.accessEvenetsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden

            #line 674 "..\..\..\Views\MainWindow.xaml"
                this.accessEvenetsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.DataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

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

            case 24:
                this.PersonPF = ((MolserControls.MsTextBox)(target));

            #line 929 "..\..\..\Views\MainWindow.xaml"
                this.PersonPF.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 25:
                this.DepartmentsPF = ((MolserControls.MsTextBox)(target));

            #line 972 "..\..\..\Views\MainWindow.xaml"
                this.DepartmentsPF.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 26:
                this.PersonsPersonIDTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 27:
                this.PersonsFacilityCodTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 28:
                this.PersonsCardPartParsecTextBox = ((MolserControls.MsTextBox)(target));
                return;

            case 29:
                this.cbDepartmentFilter = ((MolserControls.MsComboBox)(target));

            #line 1117 "..\..\..\Views\MainWindow.xaml"
                this.cbDepartmentFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbDepartmentFilter_SelectionChanged);

            #line default
            #line hidden

            #line 1118 "..\..\..\Views\MainWindow.xaml"
                this.cbDepartmentFilter.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.cbDepartmentFilter_TargetUpdated);

            #line default
            #line hidden
                return;

            case 30:
                this.personsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 1133 "..\..\..\Views\MainWindow.xaml"
                this.personsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.personsDataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1138 "..\..\..\Views\MainWindow.xaml"
                this.personsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.DataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 31:
                this.AccessPoints = ((System.Windows.Controls.TabItem)(target));
                return;

            case 32:
                this.AccessPointName = ((MolserControls.MsTextBox)(target));

            #line 1311 "..\..\..\Views\MainWindow.xaml"
                this.AccessPointName.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 33:
                this.accessPointsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 1405 "..\..\..\Views\MainWindow.xaml"
                this.accessPointsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1413 "..\..\..\Views\MainWindow.xaml"
                this.accessPointsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.accessPointsDataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 34:
                this.Levels = ((System.Windows.Controls.TabItem)(target));
                return;

            case 35:
                this.LevelName = ((MolserControls.MsTextBox)(target));

            #line 1532 "..\..\..\Views\MainWindow.xaml"
                this.LevelName.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectAllTextBox_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 36:
                this.levelsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 1632 "..\..\..\Views\MainWindow.xaml"
                this.levelsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.levelsDataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1640 "..\..\..\Views\MainWindow.xaml"
                this.levelsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.levelsDataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 37:
                this.Notifications = ((System.Windows.Controls.TabItem)(target));
                return;

            case 38:
                this.alarmIndicator = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 39:
                this.alarmIndicator2 = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 40:
                this.alarmIndicator3 = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 41:
                this.notificationsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 1879 "..\..\..\Views\MainWindow.xaml"
                this.notificationsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1887 "..\..\..\Views\MainWindow.xaml"
                this.notificationsDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.notificationsDataGrid_TargetUpdated);

            #line default
            #line hidden
                return;

            case 43:
                this.taskBarItemInfo = ((System.Windows.Shell.TaskbarItemInfo)(target));
                return;
            }
            this._contentLoaded = true;
        }