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

            case 2:

            #line 23 "..\..\..\Pages\AdminPage.xaml"
                ((System.Windows.Controls.ListBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.pickedPageEvent);

            #line default
            #line hidden
                return;

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

            case 4:
                this.MainTransitioner = ((MaterialDesignThemes.Wpf.Transitions.Transitioner)(target));
                return;

            case 5:
                this.MainGridFrame = ((System.Windows.Controls.Frame)(target));
                return;

            case 6:
                this.MainStatFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        private static void RaiseDrawerOpened(DrawerHost drawerHost, Dock dock)
        {
            //multiple ways of calling back that the drawer has opened:
            // * routed event
            var drawerOpenedEventArgs = new DrawerOpenedEventArgs(dock, DrawerOpenedEvent);

            drawerHost.OnDrawerOpened(drawerOpenedEventArgs);
        }
Example #3
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;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DrawerHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

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

            #line 52 "..\..\..\Pages\Account.xaml"
                this.BtnServices.Click += new System.Windows.RoutedEventHandler(this.BtnServices_Click_1);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\Pages\Account.xaml"
                this.BtnClients.Click += new System.Windows.RoutedEventHandler(this.BtnClients_Click_1);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\Pages\Account.xaml"
                this.BtnClientService.Click += new System.Windows.RoutedEventHandler(this.BtnClientService_Click_1);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\..\Pages\Account.xaml"
                this.BtnReports.Click += new System.Windows.RoutedEventHandler(this.BtnReports_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.AccountFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 16 "..\..\dashboard.xaml"
                ((Multi_Login.dashboard)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.dragME);

            #line default
            #line hidden
                return;

            case 2:
                this.mainDrawer = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

            #line 32 "..\..\dashboard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.weekBtnClicked);

            #line default
            #line hidden
                return;

            case 5:

            #line 33 "..\..\dashboard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.monthBtnClicked);

            #line default
            #line hidden
                return;

            case 6:
                this.secondProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DrawerHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 2:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DrawerHost1 = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

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

            #line 19 "..\..\MainWindow.xaml"
                this.menuItem_UserMaintenance.Click += new System.Windows.RoutedEventHandler(this.menuItem_UserMaintenance_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\MainWindow.xaml"
                this.menuItem_PayrollEntries.Click += new System.Windows.RoutedEventHandler(this.menuItem_PayrollEntries_Click);

            #line default
            #line hidden
                return;

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

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

            #line 53 "..\..\MainWindow.xaml"
                this.Button_ShowMenu.Click += new System.Windows.RoutedEventHandler(this.Button_ShowMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.MainContent = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\MainWindow.xaml"
                ((SmetsCedric_d1._2_DM_Project.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.drawer = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

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

            #line 55 "..\..\MainWindow.xaml"
                this.btnAddUser.Click += new System.Windows.RoutedEventHandler(this.btnAddUser_Click);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\MainWindow.xaml"
                this.btnAddFilm.Click += new System.Windows.RoutedEventHandler(this.btnAddFilm_Click);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\MainWindow.xaml"
                this.tbCloseDrawer.Checked += new System.Windows.RoutedEventHandler(this.Update_ToggleButtons);

            #line default
            #line hidden

            #line 74 "..\..\MainWindow.xaml"
                this.tbCloseDrawer.Unchecked += new System.Windows.RoutedEventHandler(this.Update_ToggleButtons);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\MainWindow.xaml"
                this.tbOpenDrawer.Checked += new System.Windows.RoutedEventHandler(this.Update_ToggleButtons);

            #line default
            #line hidden

            #line 120 "..\..\MainWindow.xaml"
                this.tbOpenDrawer.Unchecked += new System.Windows.RoutedEventHandler(this.Update_ToggleButtons);

            #line default
            #line hidden
                return;

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

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

            #line 156 "..\..\MainWindow.xaml"
                this.cmbZoekterm.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbZoekterm_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 174 "..\..\MainWindow.xaml"
                this.txtZoeken.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtZoeken_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.btnZoeken = ((System.Windows.Controls.Button)(target));

            #line 184 "..\..\MainWindow.xaml"
                this.btnZoeken.Click += new System.Windows.RoutedEventHandler(this.btnZoeken_Click);

            #line default
            #line hidden
                return;

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

            #line 196 "..\..\MainWindow.xaml"
                this.btnSelectieBewerken.Click += new System.Windows.RoutedEventHandler(this.btnSelectieBewerken_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.lblFoutSelectie = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.datagridGebruiker = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 14:
                this.datagridFilm = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 15:
                this.lblWelkom = ((System.Windows.Controls.Label)(target));
                return;

            case 16:

            #line 279 "..\..\MainWindow.xaml"
                ((System.Windows.Media.Animation.DoubleAnimation)(target)).Completed += new System.EventHandler(this.DoubleAnimation_Completed);

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

            #line 17 "..\..\MainWindow.xaml"
                ((ClinicApp.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenWinPatientCommand_Executed);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.OpenWinPatientCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 3:

            #line 20 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseWinPatientCommand_Executed);

            #line default
            #line hidden

            #line 20 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CloseWinPatientCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 4:

            #line 21 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DeletePatientCommand_Executed);

            #line default
            #line hidden

            #line 21 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.DeletePatientCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 5:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddVisitCommand_Executed);

            #line default
            #line hidden

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.AddVisitCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 6:

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EditVisitCommand_Executed);

            #line default
            #line hidden

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditVisitCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 7:

            #line 24 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DeleteVisitCommand_Executed);

            #line default
            #line hidden

            #line 24 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.DeleteVisitCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 8:

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddDoctorCommand_Executed);

            #line default
            #line hidden

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.AddDoctorCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 9:

            #line 26 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EditDoctorCommand_Executed);

            #line default
            #line hidden

            #line 26 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditDoctorCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 10:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DeleteDoctorCommand_Executed);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.DeleteDoctorCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 11:

            #line 28 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SelectMenuItemCommand_Executed);

            #line default
            #line hidden

            #line 28 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SelectMenuItemCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 12:

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);

            #line default
            #line hidden
                return;

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

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

            case 15:
                this.MenuDriverHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 16:
                this.brd = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 17:
                this.DGPatientList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 18:
                this.DGVisitList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 19:
                this.DGDoctorList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 20:
                this.RB_1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 21:
                this.RB_2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.RB_3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.DialogHost_Patient = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 24:
                this.CBActTyps = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWin = ((PiexelParadisServerTool.MainWindow)(target));
                return;

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

            case 3:
                this.ContentArea = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.widthModel = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

#line 144 "..\..\MainWindow.xaml"
                this.SelectedServer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectedServer_SelectionChanged);

#line default
#line hidden
                return;

            case 7:
                this.pwdBox = ((System.Windows.Controls.PasswordBox)(target));

#line 146 "..\..\MainWindow.xaml"
                this.pwdBox.LostFocus += new System.Windows.RoutedEventHandler(this.PwdBox_LostFocus);

#line default
#line hidden
                return;

            case 8:
                this.pwdCheck = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.operationArea = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 11:
                this.EditPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:

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

#line default
#line hidden
                return;

            case 13:

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

#line default
#line hidden
                return;

            case 14:
                this.EditMode = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 15:
                this.drawerHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 16:
                this.titleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

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

            case 18:

#line 209 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

#line default
#line hidden
                return;

            case 19:

#line 214 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Click);

#line default
#line hidden
                return;

            case 20:

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

#line default
#line hidden
                return;

            case 21:
                this.operationSelection = ((System.Windows.Controls.ListBox)(target));

#line 230 "..\..\MainWindow.xaml"
                this.operationSelection.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OperationSelection_SelectionChanged);

#line default
#line hidden
                return;

            case 22:
                this.LoadingDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 23:
                this.LoadingTip = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 20 "..\..\MainWindow.xaml"
                ((ClinicApp.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenWinPatientCommand_Executed);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.OpenWinPatientCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 3:

            #line 28 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseWinPatientCommand_Executed);

            #line default
            #line hidden

            #line 28 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CloseWinPatientCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 4:

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenWinVisitCommand_Executed);

            #line default
            #line hidden

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.OpenWinVisitCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 5:

            #line 30 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseWinVisitCommand_Executed);

            #line default
            #line hidden

            #line 30 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CloseWinVisitCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 6:

            #line 31 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenDeleteDialogCommand_Executed);

            #line default
            #line hidden

            #line 31 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.OpenDeleteDialogCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 7:

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseDeleteDialogCommand_Executed);

            #line default
            #line hidden

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CloseDeleteDialogCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 8:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SelectMenuItemCommand_Executed);

            #line default
            #line hidden

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SelectMenuItemCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 9:

            #line 34 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddImageCommand_Executed);

            #line default
            #line hidden
                return;

            case 10:

            #line 35 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SetImageControlCommand_Executed);

            #line default
            #line hidden
                return;

            case 11:

            #line 36 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FlippedChangedCommand_Executed);

            #line default
            #line hidden

            #line 36 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.FlippedChangedCommand_CanExecute);

            #line default
            #line hidden
                return;

            case 12:

            #line 37 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);

            #line default
            #line hidden
                return;

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

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

            case 15:
                this.MenuDriverHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 16:
                this.brd = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 17:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 18:
                this.DGPatientList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 19:
                this.DGVisitList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 20:
                this.Doctors_ItemControl = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 21:
                this.RB_1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.RB_2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.RB_3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 24:
                this.textBlock_CountRecords = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.DialogHost_Patient = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 26:
                this.textBox_Surname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.textBox_Name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.datePicker_BirthDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 29:
                this.CBGender = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 30:
                this.DialogHost_Visit = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 31:
                this.comboBox_Patient = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 32:
                this.datePicker_DateVisit = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 33:
                this.comboBox_InitialVisit = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 34:
                this.DialogHost_DeleteRow = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Drawer_host = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

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

            case 3:
                this.paymentListView = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.paymentListView2 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.paymentListView3 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:
                this.settingListjView = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 10:

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

            #line default
            #line hidden
                return;

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

            case 12:
                this.TitleUserControl = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.WorkingArea = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.btn1.Click += new System.Windows.RoutedEventHandler(this.Btn1_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.btn2.Click += new System.Windows.RoutedEventHandler(this.Btn2_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\MainWindow.xaml"
                this.btn3.Click += new System.Windows.RoutedEventHandler(this.Btn3_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 36 "..\..\MainWindow.xaml"
                ((MaterialDesignThemes.Wpf.Card)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Card_MouseUp);

            #line default
            #line hidden
                return;

            case 6:
                this.radio1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.radio2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.radio3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.firstProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.secondProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 11:
                this.thirdProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 12:
                this.packIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 13:
                this.packIcon1 = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 14:
                this.packIcon2 = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 15:
                this.packIcon3 = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 16:
                this.packIcon4 = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 17:
                this.packIcon5 = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 18:
                this.packIcon6 = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 19:
                this.packIcon7 = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 16 "..\..\MainWindow.xaml"
                ((MobileAppUsageDashboard.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.dragMe);

            #line default
            #line hidden
                return;

            case 2:
                this.mainDrawer = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:
                this.todayRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.weekRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.monthRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.firstProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.secondProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 11:
                this.thirdProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dockPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

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

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

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

            case 5:
                this.iconAccounts = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.DemoItemsListBox.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIElement_OnPreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 40 "..\..\MainWindow.xaml"
                this.DemoItemsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DemoItemsListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.profile = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 8:
                this.seminar = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 9:
                this.export = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 10:
                this.logout = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 11:
                this.Accounts = ((System.Windows.Controls.ListBoxItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lyricsEchoWin = ((MusicPlayerWithLyrics.LyricsWindow)(target));
                return;

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

            case 3:
                this.lyricsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LyricsListBox_SelectionChanged);

            #line default
            #line hidden

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.MouseMove += new System.Windows.Input.MouseEventHandler(this.LyricsListBox_PreviewMouseMove);

            #line default
            #line hidden

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.LyricsListBox_PreviewMouseMove);

            #line default
            #line hidden
                return;

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

            case 5:
                this.titleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

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

            case 7:

            #line 243 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 248 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 251 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_Button_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 266 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenSetting_Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.ColorChooseDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 274 "..\..\LyricsWindow.xaml"
                this.ColorChooseDialog.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.Color_DialogHost_OnDialogClosing);

            #line default
            #line hidden
                return;

            case 12:
                this.FoneColorPicker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
                return;

            case 13:
                this.SettingPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:

            #line 299 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 15:
                this.LyricsParagraph = ((System.Windows.Controls.ListBox)(target));

            #line 305 "..\..\LyricsWindow.xaml"
                this.LyricsParagraph.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LyricsParagraph_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.SettingFontStyle = ((System.Windows.Controls.ListBox)(target));

            #line 318 "..\..\LyricsWindow.xaml"
                this.SettingFontStyle.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.FontStyle_MouseUp);

            #line default
            #line hidden
                return;

            case 17:
                this.ChooseFontSize = ((System.Windows.Controls.ComboBox)(target));

            #line 329 "..\..\LyricsWindow.xaml"
                this.ChooseFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ChooseFontSize_SelectionChanged);

            #line default
            #line hidden
                return;

            case 18:

            #line 334 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenColorDialogButton);

            #line default
            #line hidden
                return;

            case 19:
                this.FontColorPreview = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 20:
                this.SettingStackPanel = ((System.Windows.Controls.ListBox)(target));

            #line 343 "..\..\LyricsWindow.xaml"
                this.SettingStackPanel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SettingStackPanel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.selectedLyricsStyle = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 22:
                this.defaultLyricsStyle = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 23:
                this.desktopLyrics1Style = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 24:
                this.desktopLyrics2Style = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 25:
                this.SettingToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 2:
                this.CloseMenu_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

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

            #line 162 "..\..\MainWindow.xaml"
                this.Search.Click += new System.Windows.RoutedEventHandler(this.Search_CourseByCategory_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ListViewCourse = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 9:
                this.ListViewTeachers = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 10:
                this.StackPanelMenu = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.stackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.logoName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.listViewItem = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:
                this.listViewItem1 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:
                this.listViewItem2 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:
                this.listViewItem3 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 20:
                this.btManageCourse = ((System.Windows.Controls.Button)(target));

            #line 388 "..\..\MainWindow.xaml"
                this.btManageCourse.Click += new System.Windows.RoutedEventHandler(this.ButtonManageCourse_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.listViewItem4 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 22:
                this.btPayment = ((System.Windows.Controls.Button)(target));

            #line 410 "..\..\MainWindow.xaml"
                this.btPayment.Click += new System.Windows.RoutedEventHandler(this.ButtonPayment_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.listViewItem5 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 24:
                this.btProfile = ((System.Windows.Controls.Button)(target));

            #line 428 "..\..\MainWindow.xaml"
                this.btProfile.Click += new System.Windows.RoutedEventHandler(this.ButtonProfile_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.listViewItem6 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 26:
                this.Main = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 511 "..\..\MainWindow.xaml"
                this.ButtonCloseMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonCloseMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 514 "..\..\MainWindow.xaml"
                this.ButtonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenMenu_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.tbWelcomeUsername = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 31:

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

            #line default
            #line hidden
                return;

            case 32:

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

            #line default
            #line hidden
                return;

            case 33:
                this.ButtonClose = ((System.Windows.Controls.Button)(target));

            #line 1047 "..\..\MainWindow.xaml"
                this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);

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

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

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

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

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

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

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

            #line 66 "..\..\MainWindow.xaml"
                this.OpenHiddenPanel.Click += new System.Windows.RoutedEventHandler(this.OpenHiddenPanel_Click);

            #line default
            #line hidden
                return;

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

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

            case 10:
                this.HiddenPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 78 "..\..\MainWindow.xaml"
                this.HiddenPannelVisibilityButton.Click += new System.Windows.RoutedEventHandler(this.HiddenPannelVisibilityButton_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.HiddenPanelCancel = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.HiddenPanelCancel.Click += new System.Windows.RoutedEventHandler(this.HiddenPanelCancel_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.ExampleDrawerHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 14:

            #line 92 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute);

            #line default
            #line hidden
                return;

            case 15:
                this.OpenDrawer = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.menuMainWin = ((MusicPlayerWithLyrics.MainWindow)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.menuMainWin.Initialized += new System.EventHandler(this.BackupToolMainWindow_Initialized);

            #line default
            #line hidden

            #line 17 "..\..\MainWindow.xaml"
                this.menuMainWin.StateChanged += new System.EventHandler(this.SysTray_StateChanged);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.function_box = ((System.Windows.Controls.StackPanel)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.function_box.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Function_box_SizeChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.mediaElement = ((System.Windows.Controls.MediaElement)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.mediaElement.MediaOpened += new System.Windows.RoutedEventHandler(this.MediaElement_MediaOpened);

            #line default
            #line hidden

            #line 50 "..\..\MainWindow.xaml"
                this.mediaElement.MediaEnded += new System.Windows.RoutedEventHandler(this.MediaElement_MediaEnded);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.openDir.Click += new System.Windows.RoutedEventHandler(this.OpenDir_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.openBtn.Click += new System.Windows.RoutedEventHandler(this.OpenBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.positionTimeEcho = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.sliderPosition = ((System.Windows.Controls.Slider)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.sliderPosition.LostMouseCapture += new System.Windows.Input.MouseEventHandler(this.SliderPosition_LostMouseCapture);

            #line default
            #line hidden

            #line 60 "..\..\MainWindow.xaml"
                this.sliderPosition.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.SliderPosition_GotMouseCapture);

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.sliderPosition.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SliderPosition_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.playBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 69 "..\..\MainWindow.xaml"
                this.playBtn.Click += new System.Windows.RoutedEventHandler(this.PlayBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\MainWindow.xaml"
                this.backBtn.Click += new System.Windows.RoutedEventHandler(this.BackBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.forwardBtn = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.forwardBtn.Click += new System.Windows.RoutedEventHandler(this.ForwardBtn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.playMode = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 14:
                this.volumeSlider = ((System.Windows.Controls.Slider)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.volumeSlider.LostMouseCapture += new System.Windows.Input.MouseEventHandler(this.VolumeSlider_LostMouseCapture);

            #line default
            #line hidden
                return;

            case 15:
                this.saveIntButton = ((System.Windows.Controls.Button)(target));

            #line 106 "..\..\MainWindow.xaml"
                this.saveIntButton.Click += new System.Windows.RoutedEventHandler(this.SaveIntButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.do_backup = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.do_backup.Click += new System.Windows.RoutedEventHandler(this.Do_backup_Click);

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:
                this.FilesList = ((System.Windows.Controls.ListBox)(target));

            #line 118 "..\..\MainWindow.xaml"
                this.FilesList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FilesList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.drawerHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 21:
                this.dialogHost_exit = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 126 "..\..\MainWindow.xaml"
                this.dialogHost_exit.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.DialogHost_DialogClosing);

            #line default
            #line hidden
                return;

            case 22:
                this.exitSelectedItem = ((System.Windows.Controls.ListBox)(target));
                return;

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

            case 24:

            #line 164 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Hide_button_MouseUp);

            #line default
            #line hidden
                return;

            case 25:

            #line 165 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Exit_ListBoxItem_MouseUp);

            #line default
            #line hidden
                return;

            case 26:
                this.move_window = ((System.Windows.Controls.Grid)(target));

            #line 169 "..\..\MainWindow.xaml"
                this.move_window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 27:
                this.snackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;
            }
            this._contentLoaded = true;
        }