예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((CUADERNODELPROFESOR.MainWindow)(target));

            #line 10 "..\..\3 MainWindow.xaml"
                this.MainWindow1.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 16 "..\..\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.bienvenidaMenuClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 17 "..\..\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.cursosMenuClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 18 "..\..\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.asignaturasMenuClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 19 "..\..\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.clasesMenuClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 20 "..\..\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.alumnosMenuClick);

            #line default
            #line hidden
                return;

            case 7:

            #line 21 "..\..\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.cerrarSesionMenuClick);

            #line default
            #line hidden
                return;

            case 8:
                this.panelBienvenida = ((System.Windows.Controls.Canvas)(target));
                return;

            case 9:
                this.panelCursos = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:

            #line 45 "..\..\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirCurso);

            #line default
            #line hidden
                return;

            case 11:
                this.panelAsignaturas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:

            #line 61 "..\..\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirAsignatura);

            #line default
            #line hidden
                return;

            case 13:
                this.listAsignaturasMain = ((System.Windows.Controls.ListBox)(target));
                return;

            case 14:
                this.panelAlumnos = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:

            #line 75 "..\..\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirAlumnos);

            #line default
            #line hidden
                return;

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

            case 17:
                this.panelClases = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 18:
                this.canvasTituloClasesDocente = ((System.Windows.Controls.Canvas)(target));
                return;

            case 19:
                this.canvasSelectorClase = ((System.Windows.Controls.Canvas)(target));
                return;

            case 20:
                this.canvasListaAlumnosClaseMain = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 22:

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

            #line default
            #line hidden
                return;

            case 23:
                this.canvasListaApuntesClaseMain = ((System.Windows.Controls.Canvas)(target));
                return;

            case 24:
                this.listApuntesClasesMain1 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:
                this.canvasListaTareasClaseMain1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.listTareasClasesMain2 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 28:

            #line 109 "..\..\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirTareas);

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

            #line 10 "..\..\..\ui\3 MainWindow.xaml"
                this.MainWindow1.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 16 "..\..\..\ui\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.bienvenidaMenuClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 17 "..\..\..\ui\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.cursosMenuClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 18 "..\..\..\ui\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.asignaturasMenuClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 19 "..\..\..\ui\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.alumnosMenuClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 20 "..\..\..\ui\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.clasesMenuClick);

            #line default
            #line hidden
                return;

            case 7:

            #line 21 "..\..\..\ui\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.horarioMenuClick);

            #line default
            #line hidden
                return;

            case 8:

            #line 22 "..\..\..\ui\3 MainWindow.xaml"
                ((HamburgerMenu.HamburgerMenuItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.cerrarSesionMenuClick);

            #line default
            #line hidden
                return;

            case 9:
                this.panelBienvenida = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 11:
                this.panelCursos = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:

            #line 46 "..\..\..\ui\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirCurso);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\ui\3 MainWindow.xaml"
                this.dgCursosMainCursos.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.camposGridCursos);

            #line default
            #line hidden

            #line 49 "..\..\..\ui\3 MainWindow.xaml"
                this.dgCursosMainCursos.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.cursosDGClick);

            #line default
            #line hidden
                return;

            case 14:
                this.panelAsignaturas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:

            #line 61 "..\..\..\ui\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirAsignatura);

            #line default
            #line hidden
                return;

            case 16:
                this.dgAsignaturasMainAsignaturas = ((System.Windows.Controls.DataGrid)(target));

            #line 64 "..\..\..\ui\3 MainWindow.xaml"
                this.dgAsignaturasMainAsignaturas.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.camposGridAsignaturas);

            #line default
            #line hidden

            #line 64 "..\..\..\ui\3 MainWindow.xaml"
                this.dgAsignaturasMainAsignaturas.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.asignaturasDGClick);

            #line default
            #line hidden
                return;

            case 17:
                this.panelAlumnos = ((System.Windows.Controls.Canvas)(target));
                return;

            case 18:

            #line 75 "..\..\..\ui\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirAlumnos);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\..\ui\3 MainWindow.xaml"
                this.dgAlumnosMainAlumnos.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.camposGridAlumnos);

            #line default
            #line hidden

            #line 78 "..\..\..\ui\3 MainWindow.xaml"
                this.dgAlumnosMainAlumnos.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.alumnosDGClick);

            #line default
            #line hidden
                return;

            case 20:
                this.panelClases = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 21:
                this.canvasTituloClasesDocente = ((System.Windows.Controls.Canvas)(target));
                return;

            case 22:
                this.canvasSelectorClase = ((System.Windows.Controls.Canvas)(target));
                return;

            case 23:
                this.cbCursosClases = ((System.Windows.Controls.ComboBox)(target));

            #line 91 "..\..\..\ui\3 MainWindow.xaml"
                this.cbCursosClases.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.actualizarCBAsignaturasClases);

            #line default
            #line hidden
                return;

            case 24:
                this.cbAsignaturasClases = ((System.Windows.Controls.ComboBox)(target));

            #line 92 "..\..\..\ui\3 MainWindow.xaml"
                this.cbAsignaturasClases.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.actualizarDatosClases);

            #line default
            #line hidden
                return;

            case 25:
                this.canvasListaAlumnosClaseMain = ((System.Windows.Controls.Canvas)(target));
                return;

            case 26:
                this.dgAlumnosMainClases = ((System.Windows.Controls.DataGrid)(target));

            #line 96 "..\..\..\ui\3 MainWindow.xaml"
                this.dgAlumnosMainClases.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.camposGridAlumnos);

            #line default
            #line hidden

            #line 96 "..\..\..\ui\3 MainWindow.xaml"
                this.dgAlumnosMainClases.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.alumnosDGClick);

            #line default
            #line hidden
                return;

            case 27:

            #line 97 "..\..\..\ui\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.matricularAlumnos);

            #line default
            #line hidden
                return;

            case 28:
                this.canvasListaApuntesClaseMain = ((System.Windows.Controls.Canvas)(target));
                return;

            case 29:
                this.dgApuntesMainClases = ((System.Windows.Controls.DataGrid)(target));

            #line 101 "..\..\..\ui\3 MainWindow.xaml"
                this.dgApuntesMainClases.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.camposGridApuntes);

            #line default
            #line hidden

            #line 101 "..\..\..\ui\3 MainWindow.xaml"
                this.dgApuntesMainClases.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.apuntesDGClick);

            #line default
            #line hidden
                return;

            case 30:

            #line 102 "..\..\..\ui\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirApuntes);

            #line default
            #line hidden
                return;

            case 31:
                this.canvasListaTareasClaseMain1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 32:
                this.dgTareasMainClases = ((System.Windows.Controls.DataGrid)(target));

            #line 106 "..\..\..\ui\3 MainWindow.xaml"
                this.dgTareasMainClases.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.camposGridTareas);

            #line default
            #line hidden

            #line 106 "..\..\..\ui\3 MainWindow.xaml"
                this.dgTareasMainClases.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.tareasDGClick);

            #line default
            #line hidden
                return;

            case 33:

            #line 107 "..\..\..\ui\3 MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.añadirTareas);

            #line default
            #line hidden
                return;

            case 34:
                this.panelHorario = ((System.Windows.Controls.Canvas)(target));
                return;

            case 35:
                this.dgHorario = ((System.Windows.Controls.DataGrid)(target));

            #line 117 "..\..\..\ui\3 MainWindow.xaml"
                this.dgHorario.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.camposGridHorario);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }