Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

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

            case 4:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 5:
                this.ListViewProducts = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SuccessAlert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.schoolid = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.administratorid = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 6:
                this.CboSelectMyClasses = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 8:
                this.myStream = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.myassignmentfile = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.myassignmentdetails = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 11:
                this.PostAssignment = ((System.Windows.Controls.Button)(target));

            #line 138 "..\..\StaffAssignments.xaml"
                this.PostAssignment.Click += new System.Windows.RoutedEventHandler(this.PostAssignment_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.MySentClassAssignments = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GroupTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 4:
                this.MessageError = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.DialogEnd = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            #line 52 "..\..\..\..\View\TakeTest.xaml"
                this.GoFinish.Click += new System.Windows.RoutedEventHandler(this.GoFinish_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomerDialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.RoomCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 4:
                this.RoomGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.OccupiedZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 7:
                this.AvailableZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Bagwis = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 5:
                this.PositionGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.DepartmentDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 9:
                this.DepName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.Department_ValidationMsg = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:

            #line 190 "..\..\..\Views\DepartmentView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DepartmentAddClick);

            #line default
            #line hidden
                return;

            case 12:
                this.PositionDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 13:
                this.PositionName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.PositionName_ValidationMsg = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:

            #line 218 "..\..\..\Views\DepartmentView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PosotionAddClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SuccessAlert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.schoolid = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.administratorid = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.borrowid = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 92 "..\..\LibraryReturnBooks.xaml"
                this.ReturnBook.Click += new System.Windows.RoutedEventHandler(this.ReturnBook_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.CompleteInstitutionList = ((System.Windows.Controls.ListView)(target));

            #line 133 "..\..\LibraryReturnBooks.xaml"
                this.CompleteInstitutionList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CompleteInstitutionList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.BorrowedBooks = ((System.Windows.Controls.DataGrid)(target));

            #line 149 "..\..\LibraryReturnBooks.xaml"
                this.BorrowedBooks.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BorrowedBooks_SelectionChanged);

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

            case 2:
                this.EventActions = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 3:
                this.SuccessAlert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 4:
                this.LoginAlertTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.StartDate = ((System.Windows.Controls.Calendar)(target));
                return;

            case 6:
                this.EndDate = ((System.Windows.Controls.Calendar)(target));
                return;

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

            case 8:
                this.event_start_date = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.event_end_date = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.event_details = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.CreateInstitutionEvent = ((System.Windows.Controls.Button)(target));

            #line 178 "..\..\AdminSystemCalender.xaml"
                this.CreateInstitutionEvent.Click += new System.Windows.RoutedEventHandler(this.CreateInstitutionEvent_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.AdminEventsGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dialogHostWarning = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 13 "..\..\TimeOutCheck.xaml"
                this.dialogHostWarning.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.dialogHost_DialogClosing);

            #line default
            #line hidden
                return;

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

            case 3:

            #line 48 "..\..\TimeOutCheck.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CheckoutDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 3:
                this.wrapcartitem = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 5:
                this.total_cost = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.MainSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;

            case 8:
                this.wrapitem = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc = ((QuanLiKhachSan.View.LeTan_TaiKhoan)(target));
                return;

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

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

            case 4:
                this.DialogDoiMatKhau = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 5:
                this.MatKhauGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.MauKhauCu = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 7:
                this.MatKhauMoi = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\View\MainWindow.xaml"
                ((PrjTreino.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.container = ((System.Windows.Controls.Grid)(target));

            #line 38 "..\..\..\View\MainWindow.xaml"
                this.container.MouseMove += new System.Windows.Input.MouseEventHandler(this.Container_MouseMove);

            #line default
            #line hidden
                return;

            case 3:
                this.View = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 5:
                this.txtSenha = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 6:
                this.manter_conectado = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 126 "..\..\..\View\MainWindow.xaml"
                this.btnAcessar.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 131 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Documents.Run)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Run_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RootDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.ListViewMenu = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.ItemHome = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 5:
                this.ControlPlaceHolder = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dialogHostWarning = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 13 "..\..\BackTracking.xaml"
                this.dialogHostWarning.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.dialogHost_DialogClosing);

            #line default
            #line hidden
                return;

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

            case 3:
                this.tgLocNgay = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 46 "..\..\BackTracking.xaml"
                this.tgLocNgay.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden

            #line 46 "..\..\BackTracking.xaml"
                this.tgLocNgay.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked);

            #line default
            #line hidden
                return;

            case 4:
                this.dpNgayBD = ((System.Windows.Controls.DatePicker)(target));

            #line 47 "..\..\BackTracking.xaml"
                this.dpNgayBD.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DatePicker_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.dpNgayKT = ((System.Windows.Controls.DatePicker)(target));

            #line 48 "..\..\BackTracking.xaml"
                this.dpNgayKT.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DatePicker_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.dataGridAudit = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dialogHostWarning = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:
                this.dataGridNhanVien = ((System.Windows.Controls.DataGrid)(target));

            #line 52 "..\..\SalaryCalculating.xaml"
                this.dataGridNhanVien.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGridNhanVien_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.dataGridSalary = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 66 "..\..\SalaryCalculating.xaml"
                this.btnTinhLuong.Click += new System.Windows.RoutedEventHandler(this.btnTinhLuong_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            case 6:
                this.Filter = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.transferDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:

            #line 60 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.transfer_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 67 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Drag_MouseDown);

            #line default
            #line hidden
                return;

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

            case 5:

            #line 93 "..\..\MainWindow.xaml"
                ((MaterialDesignThemes.Wpf.Card)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.showTransferDialog);

            #line default
            #line hidden
                return;

            case 6:

            #line 102 "..\..\MainWindow.xaml"
                ((MaterialDesignThemes.Wpf.Card)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 112 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

            #line 10 "..\..\SettingWindow.xaml"
                ((BreakFastWPF.SettingWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 40 "..\..\SettingWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.SettingWindow_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.loginhost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 4:
                this.PassTextBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 5:

            #line 52 "..\..\SettingWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoginCheckButtonClick);

            #line default
            #line hidden
                return;

            case 6:
                this.ComPortBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 72 "..\..\SettingWindow.xaml"
                this.OpenCloseButton.Click += new System.Windows.RoutedEventHandler(this.OpenCloseComPort);

            #line default
            #line hidden
                return;

            case 8:
                this.MsgBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NewFormDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.DeleateDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 4:

            #line 32 "..\..\..\..\Pages\SubPages\UserManagementPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfirmRemoveUserInput);

            #line default
            #line hidden
                return;

            case 5:

            #line 55 "..\..\..\..\Pages\SubPages\UserManagementPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowNewUserForm);

            #line default
            #line hidden
                return;

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

            case 7:

            #line 77 "..\..\..\..\Pages\SubPages\UserManagementPage.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateUserInput);

            #line default
            #line hidden
                return;

            case 8:

            #line 85 "..\..\..\..\Pages\SubPages\UserManagementPage.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveUserInput);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.s = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.f = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 6:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

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

            #line 90 "..\..\..\UserControls\Search.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.ComboboxSort = ((System.Windows.Controls.ComboBox)(target));

            #line 93 "..\..\..\UserControls\Search.xaml"
                this.ComboboxSort.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboboxSort_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.dialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 10:
                this.ListViewIceCreams = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            #line 37 "..\..\frmHome.xaml"
                this.btnSim.Click += new System.Windows.RoutedEventHandler(this.btnSim_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\frmHome.xaml"
                this.btnNao.Click += new System.Windows.RoutedEventHandler(this.btnNao_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.drMenu = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 5:
                this.listMenu = ((System.Windows.Controls.ListView)(target));

            #line 51 "..\..\frmHome.xaml"
                this.listMenu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listMenu_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.opneMenu = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 154 "..\..\frmHome.xaml"
                this.opneMenu.Click += new System.Windows.RoutedEventHandler(this.opneMenu_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.container = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomerDialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.IdentityInfoStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            case 6:
                this.AddressInfoStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 8:
                this.AddressLine2TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 10:
                this.RoomCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 11:
                this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.OccupiedZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 13:
                this.AvailableZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\Page\HomePage.xaml"
                ((Diba.Desktop.Page.HomePage)(target)).AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.FormBase_MouseUp));

            #line default
            #line hidden
                return;

            case 2:
                this.MainDialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 4:
                this.DemoItemsListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 5:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 6:

            #line 239 "..\..\..\Page\HomePage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 300 "..\..\..\Page\HomePage.xaml"
                this.SearchCustomers.Click += new System.Windows.RoutedEventHandler(this.SearchCustomers_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.DataGrid = ((Diba.Desktop.Controls.Table)(target));
                return;

            case 9:
                this.MainSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.DialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemple #24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\QuanLiComponents\usLoaiSanPham.xaml"
                ((Milestone2.QuanLiComponents.usLoaiSanPham)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.openInsertDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            #line 17 "..\..\..\QuanLiComponents\usLoaiSanPham.xaml"
                this.InsertNewCategory.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.InsertNewCategory_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 4:
                this.lbPage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.gridCate = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 83 "..\..\..\QuanLiComponents\usLoaiSanPham.xaml"
                this.InsertCategory.Click += new System.Windows.RoutedEventHandler(this.InsertCategory_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ThongBaoSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginWindow1 = ((BakalariDesktop.LoginWindow)(target));
                return;

            case 2:
                this.loadingDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 3:
                this.errorDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 4:

            #line 31 "..\..\LoginWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.closeErrorDialog);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\LoginWindow.xaml"
                this.usernameBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.usernameBox_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

            #line 47 "..\..\LoginWindow.xaml"
                this.loginButton.Click += new System.Windows.RoutedEventHandler(this.loginButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.colzone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 2:
                this.employée = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 4:
                this.date_debut = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 54 "..\..\objectif_ajout.xaml"
                this.but1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.list_of_obj = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 66 "..\..\objectif_ajout.xaml"
                this.but2.Click += new System.Windows.RoutedEventHandler(this.ajout_obj);

            #line default
            #line hidden
                return;

            case 8:
                this.alert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 9:
                this.alert_text = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Bagwis = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.SearchBox = ((System.Windows.Controls.TextBox)(target));

            #line 23 "..\..\..\Views\AdminOvertimeView - Copy.xaml"
                this.SearchBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.Magnifier = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 4:
                this.OvertimeGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 6:
                this.OvertimeDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 7:
                this.OvertimePK = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:

            #line 83 "..\..\..\Views\AdminOvertimeView - Copy.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OvertimeAccept);

            #line default
            #line hidden
                return;

            case 9:

            #line 90 "..\..\..\Views\AdminOvertimeView - Copy.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OvertimeReject);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dialogError = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

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

            #line 168 "..\..\AddMultipleEmployees.xaml"
                this.btnFile.Click += new System.Windows.RoutedEventHandler(this.btnFile_Click);

            #line default
            #line hidden
                return;

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

            #line 171 "..\..\AddMultipleEmployees.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

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

            #line 173 "..\..\AddMultipleEmployees.xaml"
                this.btnTemplate.Click += new System.Windows.RoutedEventHandler(this.btnTemplate_Click);

            #line default
            #line hidden
                return;

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

            #line 174 "..\..\AddMultipleEmployees.xaml"
                this.btnError.Click += new System.Windows.RoutedEventHandler(this.btnError_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.contactedithost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

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

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

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

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

            #line 376 "..\..\..\Pages\ContactPage.xaml"
                this.edit_confirm.Click += new System.Windows.RoutedEventHandler(this.edit_confirm_Click);

            #line default
            #line hidden
                return;

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

            case 8:

            #line 388 "..\..\..\Pages\ContactPage.xaml"
                ((System.Windows.Controls.ScrollViewer)(target)).PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.moveplease);

            #line default
            #line hidden
                return;

            case 9:
                this.lstbox_contacts = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MsgDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 3:
                this.MsgDialog_DialogText = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 15 "..\..\AddLotLrc.xaml"
                this.MsgDialogCloseBtn.Click += new System.Windows.RoutedEventHandler(this.MsgDialogCloseBtn_Click);

            #line default
            #line hidden
                return;

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

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

            #line 34 "..\..\AddLotLrc.xaml"
                this.SureBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\AddLotLrc.xaml"
                this.BtnHelper.Click += new System.Windows.RoutedEventHandler(this.BtnHelper_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        internal DialogSession(DialogHost owner)
        {
            if (owner == null) throw new ArgumentNullException(nameof(owner));

            _owner = owner;
        }
 private static void WatchWindowActivation(DialogHost dialogHost)
 {
     var window = Window.GetWindow(dialogHost);
     if (window != null)
     {
         window.Activated += dialogHost.WindowOnActivated;
         window.Deactivated += dialogHost.WindowOnDeactivated;
         dialogHost._closeCleanUp = () =>
         {
             window.Activated -= dialogHost.WindowOnActivated;
             window.Deactivated -= dialogHost.WindowOnDeactivated;
         };
     }
     else
     {
         dialogHost._closeCleanUp = () => { };
     }
 }