コード例 #1
0
ファイル: LoginView.g.i.cs プロジェクト: molser/IntellectOPK
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Login = ((MolserLib.Controls.MsTextBox)(target));
                return;

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

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

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

            case 4:
                this.HikvisionNumber = ((MolserLib.Controls.MsTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #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 = ((MolserLib.Controls.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;
        }
コード例 #4
0
ファイル: ListView.g.i.cs プロジェクト: molser/UFO
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.showOnlyCheckedButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 76 "..\..\..\Views\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 92 "..\..\..\Views\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 130 "..\..\..\Views\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 224 "..\..\..\Views\ListView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseWindow_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #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 171 "..\..\..\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 257 "..\..\..\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 = ((MolserLib.Controls.MsComboBox)(target));
                return;

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

            #line 365 "..\..\..\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 502 "..\..\..\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 533 "..\..\..\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 = ((MolserLib.Controls.MsTextBox)(target));
                return;

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

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

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

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

            #line default
            #line hidden

            #line 676 "..\..\..\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 = ((MolserLib.Controls.MsTextBox)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden

            #line 1129 "..\..\..\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 1144 "..\..\..\Views\MainWindow.xaml"
                this.personsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.personsDataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1149 "..\..\..\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 = ((MolserLib.Controls.MsTextBox)(target));

            #line 1332 "..\..\..\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 1426 "..\..\..\Views\MainWindow.xaml"
                this.accessPointsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1434 "..\..\..\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 = ((MolserLib.Controls.MsTextBox)(target));

            #line 1553 "..\..\..\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 1653 "..\..\..\Views\MainWindow.xaml"
                this.levelsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.levelsDataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1661 "..\..\..\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 1900 "..\..\..\Views\MainWindow.xaml"
                this.notificationsDataGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.dataGrid_LoadingRow);

            #line default
            #line hidden

            #line 1908 "..\..\..\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;
        }