コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 16 "..\..\ViewForecastsWindow.xaml"
                ((_18003144_Task_1_v2.ViewForecastsWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 16 "..\..\ViewForecastsWindow.xaml"
                ((_18003144_Task_1_v2.ViewForecastsWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

            case 3:
                this.pnlNavigation = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 24 "..\..\ViewForecastsWindow.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.BtnHome_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\ViewForecastsWindow.xaml"
                this.btnViewForecasts.Click += new System.Windows.RoutedEventHandler(this.BtnViewForecasts_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\ViewForecastsWindow.xaml"
                this.btnAddForecast.Click += new System.Windows.RoutedEventHandler(this.BtnAddForecast_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.lstCities = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.dtpFrom = ((System.Windows.Controls.DatePicker)(target));

            #line 35 "..\..\ViewForecastsWindow.xaml"
                this.dtpFrom.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DtpFrom_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.dtpTo = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 38 "..\..\ViewForecastsWindow.xaml"
                this.btnGetForecasts.Click += new System.Windows.RoutedEventHandler(this.BtnGetForecasts_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.tbctrlForecasts = ((System.Windows.Controls.TabControl)(target));
                return;

            case 12:
                this.crdError = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            #line 20 "..\..\Menu.xaml"
                ((OnBreakApp.Menu)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);

            #line default
            #line hidden

            #line 22 "..\..\Menu.xaml"
                ((OnBreakApp.Menu)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MetroWindow_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.expander = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 3:
                this.expGestionClientes = ((System.Windows.Controls.Expander)(target));

            #line 47 "..\..\Menu.xaml"
                this.expGestionClientes.Expanded += new System.Windows.RoutedEventHandler(this.expanderGestionClientes);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\Menu.xaml"
                this.btnBuscar.Click += new System.Windows.RoutedEventHandler(this.BtnBuscar_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 87 "..\..\Menu.xaml"
                this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.BtnGuardar_Click);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\Menu.xaml"
                this.btnActualizar.Click += new System.Windows.RoutedEventHandler(this.BtnActualizar_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnListadoClientes = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\Menu.xaml"
                this.btnListadoClientes.Click += new System.Windows.RoutedEventHandler(this.BtnListadoClientes_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnLimpiar = ((System.Windows.Controls.Button)(target));

            #line 97 "..\..\Menu.xaml"
                this.btnLimpiar.Click += new System.Windows.RoutedEventHandler(this.BtnLimpiar_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.cboActividad = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.cboTipo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.expListaClientes = ((System.Windows.Controls.Expander)(target));

            #line 120 "..\..\Menu.xaml"
                this.expListaClientes.Expanded += new System.Windows.RoutedEventHandler(this.expanderListaClientes);

            #line default
            #line hidden
                return;

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

            case 19:
                this.expGestionContratos = ((System.Windows.Controls.Expander)(target));

            #line 147 "..\..\Menu.xaml"
                this.expGestionContratos.Expanded += new System.Windows.RoutedEventHandler(this.expanderGestionContratos);

            #line default
            #line hidden
                return;

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

            #line 211 "..\..\Menu.xaml"
                this.btnValorEvento.Click += new System.Windows.RoutedEventHandler(this.BtnValorEvento_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.txtValorEvento = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.txtRutClienteContrato = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.txtNumeroDeContrato = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 215 "..\..\Menu.xaml"
                this.btnNumeroDeContrato.Click += new System.Windows.RoutedEventHandler(this.BtnNumeroDeContrato_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.btnRutCliente = ((System.Windows.Controls.Button)(target));

            #line 221 "..\..\Menu.xaml"
                this.btnRutCliente.Click += new System.Windows.RoutedEventHandler(this.BtnRutCliente_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.cboAsistentes = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 27:
                this.cboPersonalAdicional = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.cboTipoEvento = ((System.Windows.Controls.ComboBox)(target));

            #line 231 "..\..\Menu.xaml"
                this.cboTipoEvento.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboTipoEvento_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.fechaPicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 30:
                this.horaInicioPicker = ((MaterialDesignThemes.Wpf.TimePicker)(target));
                return;

            case 31:
                this.horaTerminoPicker = ((MaterialDesignThemes.Wpf.TimePicker)(target));
                return;

            case 32:
                this.txtDireccionContrato = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.txtNombreClienteContrato = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.txtObsercaciones = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.btnListaContratos = ((System.Windows.Controls.Button)(target));

            #line 244 "..\..\Menu.xaml"
                this.btnListaContratos.Click += new System.Windows.RoutedEventHandler(this.BtnListaContratos_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.popGestion = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 37:

            #line 250 "..\..\Menu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.popCrearContrato_Click);

            #line default
            #line hidden
                return;

            case 38:

            #line 254 "..\..\Menu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.popActualizarContrato_Click);

            #line default
            #line hidden
                return;

            case 39:

            #line 258 "..\..\Menu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.popTerminarContrato_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.btnLimpiarCampos = ((System.Windows.Controls.Button)(target));

            #line 264 "..\..\Menu.xaml"
                this.btnLimpiarCampos.Click += new System.Windows.RoutedEventHandler(this.BtnLimpiarCampos_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.lblSeleccionGestion = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.cboTipoEventoNombre = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 43:
                this.expListaContratos = ((System.Windows.Controls.Expander)(target));

            #line 276 "..\..\Menu.xaml"
                this.expListaContratos.Expanded += new System.Windows.RoutedEventHandler(this.expanderListaContratos);

            #line default
            #line hidden
                return;

            case 44:
                this.dgListaContratos = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: Page2.g.i.cs プロジェクト: op07n/test23
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RunCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            case 3:
                this.Percent = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 5:
                this.CD1 = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

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

            #line 28 "..\..\..\Panges\Page2.xaml"
                this.RunButton.Click += new System.Windows.RoutedEventHandler(this.RunTool);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\Panges\Page2.xaml"
                this.ClearButton.Click += new System.Windows.RoutedEventHandler(this.Clear);

            #line default
            #line hidden
                return;

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

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

            case 11:
                this.CheckeBoard = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;

            case 12:
                this.Color = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 13:
                this.CD2 = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            case 15:
                this.J16 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.T1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.RGBA = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.OpenMenu_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

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

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

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

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

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

            #line 119 "..\..\ServerMain.xaml"
                this.BtnMenuHome.Click += new System.Windows.RoutedEventHandler(this.BtnMenuHome_Click);

            #line default
            #line hidden
                return;

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

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

            #line 133 "..\..\ServerMain.xaml"
                this.BtnMenuLicencia.Click += new System.Windows.RoutedEventHandler(this.BtnMenuLicencia_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.GridBarraEstado = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 13:
                this.lbHoraInicio = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 15:
                this.lbFotos = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.lbVenta = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.lbUsuario = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.LbLicSta = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.LbLicenciaNombreEmpresa = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.LbLicenciaNombreSucursal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.lbNombreUsuario = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.lbTiempoCursoCerrado = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.icoCheckstatusturno = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            case 25:
                this.LbLicenciaStatusEmpresa = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.LbLicenciaStatusSucursal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.LbLicenciaDireccionSucursal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.blicencia = ((System.Windows.Controls.Border)(target));
                return;

            case 29:
                this.glicencia = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.LbTitleCodigo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.LbLicenciaCodigo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.txtLicenciaCodigo = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 341 "..\..\ServerMain.xaml"
                this.BtnRevocarLicencia.Click += new System.Windows.RoutedEventHandler(this.BtnRevocarLicencia_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.BtnAgregarLicencia = ((System.Windows.Controls.Button)(target));

            #line 342 "..\..\ServerMain.xaml"
                this.BtnAgregarLicencia.Click += new System.Windows.RoutedEventHandler(this.BtnAgregarLicencia_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.BtnFinalizarCancelarActualizacionLicencia = ((System.Windows.Controls.Button)(target));

            #line 343 "..\..\ServerMain.xaml"
                this.BtnFinalizarCancelarActualizacionLicencia.Click += new System.Windows.RoutedEventHandler(this.BtnFinalizarCancelarActualizacionLicencia_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.BtnActualizarLicencia = ((System.Windows.Controls.Button)(target));

            #line 344 "..\..\ServerMain.xaml"
                this.BtnActualizarLicencia.Click += new System.Windows.RoutedEventHandler(this.BtnActualizarLicencia_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.BtnComprovarLicencia = ((System.Windows.Controls.Button)(target));

            #line 345 "..\..\ServerMain.xaml"
                this.BtnComprovarLicencia.Click += new System.Windows.RoutedEventHandler(this.BtnComprovarLicencia_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.LbLicenciaStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.LbLicenciaNoMaquinas = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.LbLicenciaNoPc = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.bframe = ((System.Windows.Controls.Border)(target));
                return;

            case 42:
                this.frame = ((System.Windows.Controls.Frame)(target));
                return;

            case 43:
                this.CMenu = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 44:
                this.popmenu = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 45:
                this.sPMenu = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 46:
                this.btnInicioSession = ((System.Windows.Controls.Button)(target));

            #line 374 "..\..\ServerMain.xaml"
                this.btnInicioSession.Click += new System.Windows.RoutedEventHandler(this.btnInicioSesion_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.btnCierreSession = ((System.Windows.Controls.Button)(target));

            #line 376 "..\..\ServerMain.xaml"
                this.btnCierreSession.Click += new System.Windows.RoutedEventHandler(this.btnCierreSession_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.btnInicioTurno = ((System.Windows.Controls.Button)(target));

            #line 378 "..\..\ServerMain.xaml"
                this.btnInicioTurno.Click += new System.Windows.RoutedEventHandler(this.btnInicioTurno_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.btnCierreTurno = ((System.Windows.Controls.Button)(target));

            #line 380 "..\..\ServerMain.xaml"
                this.btnCierreTurno.Click += new System.Windows.RoutedEventHandler(this.btnCierreTurno_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.sPbtnsMenuPrincipal = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 51:
                this.BtnOpenMenu = ((System.Windows.Controls.Button)(target));

            #line 386 "..\..\ServerMain.xaml"
                this.BtnOpenMenu.Click += new System.Windows.RoutedEventHandler(this.BtnOpenMenu_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.IcoOpenMenu = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 53:
                this.BtnCloseMenu = ((System.Windows.Controls.Button)(target));

            #line 389 "..\..\ServerMain.xaml"
                this.BtnCloseMenu.Click += new System.Windows.RoutedEventHandler(this.BtnCloseMenu_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.IcoCloseMenu = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 55:
                this.btnMinimizarApp = ((System.Windows.Controls.Button)(target));

            #line 396 "..\..\ServerMain.xaml"
                this.btnMinimizarApp.Click += new System.Windows.RoutedEventHandler(this.btnMinimizarApp_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.btnCerrarApp = ((System.Windows.Controls.Button)(target));

            #line 399 "..\..\ServerMain.xaml"
                this.btnCerrarApp.Click += new System.Windows.RoutedEventHandler(this.btnCerrarApp_Click);

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

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

            case 4:
                this.file_search = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.youtube_search = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

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

            #line 46 "..\..\..\MainWindow.xaml"
                this.open_button_youtube.Click += new System.Windows.RoutedEventHandler(this.BT_Click_Open_Youtube);

            #line default
            #line hidden
                return;

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

            case 11:
                this.session_name = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 61 "..\..\..\MainWindow.xaml"
                this.join_session.Click += new System.Windows.RoutedEventHandler(this.join_session_func);

            #line default
            #line hidden
                return;

            case 13:
                this.session_controls = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.session_create = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\..\MainWindow.xaml"
                this.session_create.Click += new System.Windows.RoutedEventHandler(this.create_session);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\..\MainWindow.xaml"
                this.session_join.Click += new System.Windows.RoutedEventHandler(this.session_join_func);

            #line default
            #line hidden
                return;

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

            case 17:
                this.curr_time = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.slider_timer = ((System.Windows.Controls.Slider)(target));
                return;

            case 19:
                this.final_time = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:
                this.play_pause_button = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 23:

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

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\..\MainWindow.xaml"
                this.mute_button.Click += new System.Windows.RoutedEventHandler(this.BT_Click_Mute);

            #line default
            #line hidden
                return;

            case 25:
                this.volume_icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 26:
                this.slider_volume = ((System.Windows.Controls.Slider)(target));
                return;

            case 27:
                this.song_title_xaml = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.song_info_xaml = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                ((FramelessWPF.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.taskBarItemInfo1 = ((System.Windows.Shell.TaskbarItemInfo)(target));
                return;

            case 3:
                this.btnPreviewForTaskBar = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 20 "..\..\..\MainWindow.xaml"
                this.btnPreviewForTaskBar.Click += new System.EventHandler(this.BtnPreviewForTaskBar_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnPlayForTaskBar = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 24 "..\..\..\MainWindow.xaml"
                this.btnPlayForTaskBar.Click += new System.EventHandler(this.BtnPlayForTaskBar_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnNextForTaskBar = ((System.Windows.Shell.ThumbButtonInfo)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.MainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 8:
                this.MenuItem_OpenFile = ((System.Windows.Controls.MenuItem)(target));

            #line 87 "..\..\..\MainWindow.xaml"
                this.MenuItem_OpenFile.Click += new System.Windows.RoutedEventHandler(this.MenuItem_OpenFile_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.MenuItem_OpenCD = ((System.Windows.Controls.MenuItem)(target));

            #line 88 "..\..\..\MainWindow.xaml"
                this.MenuItem_OpenCD.Click += new System.Windows.RoutedEventHandler(this.MenuItem_OpenCD_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.MenuItem_AddFile = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.MenuItem_AddCD = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.MenuItem_Exit = ((System.Windows.Controls.MenuItem)(target));

            #line 91 "..\..\..\MainWindow.xaml"
                this.MenuItem_Exit.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Exit_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.MenuItem_Play_Pause = ((System.Windows.Controls.MenuItem)(target));

            #line 94 "..\..\..\MainWindow.xaml"
                this.MenuItem_Play_Pause.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Play_Pause_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.MenuItem_PlayFromStart = ((System.Windows.Controls.MenuItem)(target));

            #line 95 "..\..\..\MainWindow.xaml"
                this.MenuItem_PlayFromStart.Click += new System.Windows.RoutedEventHandler(this.MenuItem_PlayFromStart_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.MenuItem_StopPlay = ((System.Windows.Controls.MenuItem)(target));

            #line 96 "..\..\..\MainWindow.xaml"
                this.MenuItem_StopPlay.Click += new System.Windows.RoutedEventHandler(this.MenuItem_StopPlay_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.MenuItem_VolumeUp = ((System.Windows.Controls.MenuItem)(target));

            #line 103 "..\..\..\MainWindow.xaml"
                this.MenuItem_VolumeUp.Click += new System.Windows.RoutedEventHandler(this.MenuItem_VolumeUp_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.MenuItem_VolumeDown = ((System.Windows.Controls.MenuItem)(target));

            #line 104 "..\..\..\MainWindow.xaml"
                this.MenuItem_VolumeDown.Click += new System.Windows.RoutedEventHandler(this.MenuItem_VolumeDown_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.MenuItem_OpenSettingsView = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 19:
                this.MenuItem_MaxView = ((System.Windows.Controls.MenuItem)(target));

            #line 114 "..\..\..\MainWindow.xaml"
                this.MenuItem_MaxView.Click += new System.Windows.RoutedEventHandler(this.MenuItem_MaxView_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.MenuItem_MinView = ((System.Windows.Controls.MenuItem)(target));

            #line 115 "..\..\..\MainWindow.xaml"
                this.MenuItem_MinView.Click += new System.Windows.RoutedEventHandler(this.MenuItem_MinView_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.MenuItem_CloseView = ((System.Windows.Controls.MenuItem)(target));

            #line 116 "..\..\..\MainWindow.xaml"
                this.MenuItem_CloseView.Click += new System.Windows.RoutedEventHandler(this.MenuItem_CloseView_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.MenuItem_About = ((System.Windows.Controls.MenuItem)(target));

            #line 122 "..\..\..\MainWindow.xaml"
                this.MenuItem_About.Click += new System.Windows.RoutedEventHandler(this.MenuItem_About_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btnPlay = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\..\MainWindow.xaml"
                this.btnPlay.Click += new System.Windows.RoutedEventHandler(this.BtnPlay_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.iconPlay = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 25:
                this.BtnchangeVolume = ((System.Windows.Controls.Button)(target));

            #line 149 "..\..\..\MainWindow.xaml"
                this.BtnchangeVolume.Click += new System.Windows.RoutedEventHandler(this.BtnchangeVolume_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.packicon_volumestate = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 27:
                this.MainVolume = ((System.Windows.Controls.Slider)(target));

            #line 152 "..\..\..\MainWindow.xaml"
                this.MainVolume.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.MainVolume_ValueChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.ImageAlbumArtBG = ((MaterialDesignThemes.Wpf.Card)(target));

            #line 160 "..\..\..\MainWindow.xaml"
                this.ImageAlbumArtBG.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ImageAlbumArtBG_MouseEnter);

            #line default
            #line hidden

            #line 160 "..\..\..\MainWindow.xaml"
                this.ImageAlbumArtBG.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ImageAlbumArtBG_MouseLeave);

            #line default
            #line hidden
                return;

            case 29:
                this.ImageAlbumArt = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.LabelTime = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.LabelTitle = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.LabelLeftTime = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.MainProgressBar = ((System.Windows.Controls.Slider)(target));

            #line 176 "..\..\..\MainWindow.xaml"
                this.MainProgressBar.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.MainProgressBar_MouseUp);

            #line default
            #line hidden

            #line 178 "..\..\..\MainWindow.xaml"
                this.MainProgressBar.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.MainProgressBar_DragCompleted));

            #line default
            #line hidden

            #line 179 "..\..\..\MainWindow.xaml"
                this.MainProgressBar.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.MainProgressBar_DragStarted));

            #line default
            #line hidden
                return;

            case 34:
                this.PopupBox_List = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 35:
                this.ImageAlbumArtBig = ((System.Windows.Controls.Image)(target));

            #line 257 "..\..\..\MainWindow.xaml"
                this.ImageAlbumArtBig.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ImageAlbumArtBig_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 36:
                this.LabelTitleForCard = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.LabelAlbumForCard = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.LabelArtistForCard = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.ListViewCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 40:
                this.ListViewItemBit = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 41:
                this.ListViewItemRate = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 42:
                this.ListViewItemWriteTime = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 43:
                this.ListViewItemAddTime = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 44:
                this.ListViewItemFileSize = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 45:
                this.ListViewItemFilePath = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 46:
                this.BtnSaveInfo = ((System.Windows.Controls.Button)(target));

            #line 387 "..\..\..\MainWindow.xaml"
                this.BtnSaveInfo.Click += new System.Windows.RoutedEventHandler(this.BtnSaveInfo_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.BtnOpenLyric = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 48:
                this.BtnOpenLyricEX = ((System.Windows.Controls.Button)(target));

            #line 403 "..\..\..\MainWindow.xaml"
                this.BtnOpenLyricEX.Click += new System.Windows.RoutedEventHandler(this.BtnOpenLyricEX_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.BtnSearchLyric = ((System.Windows.Controls.Button)(target));

            #line 406 "..\..\..\MainWindow.xaml"
                this.BtnSearchLyric.Click += new System.Windows.RoutedEventHandler(this.BtnOpenLyricEX_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.BaseLineSP = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 51:
                this.BaseLine = ((System.Windows.Shapes.Line)(target));
                return;

            case 52:
                this.tbDragTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.CanvasLyric = ((System.Windows.Controls.Canvas)(target));
                return;

            case 54:
                this.StackPanelCommonLyric = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 55:
                this.CanvasFocusLyric = ((System.Windows.Controls.Canvas)(target));
                return;

            case 56:
                this.TBFocusLyricBack = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.CanvasFocusLyricFore = ((System.Windows.Controls.Canvas)(target));
                return;

            case 58:
                this.TBFocusLyricFore = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 18 "..\..\Lockscreen.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.QuitCmd_Executed);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.ToolCard = ((MaterialDesignThemes.Wpf.Card)(target));

            #line 55 "..\..\Lockscreen.xaml"
                this.ToolCard.MouseMove += new System.Windows.Input.MouseEventHandler(this.ToolCard_MouseMove);

            #line default
            #line hidden

            #line 56 "..\..\Lockscreen.xaml"
                this.ToolCard.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ToolCard_MouseDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            case 13:
                this.C_key = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.Ctrl_O_key = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 17:
                this.Mirrorscreen = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.WaitingWall = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.wprogress = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.thisWindow = ((PLWPF.StudentWindow)(target));
                return;

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

            #line 34 "..\..\StudentWindow.xaml"
                this.exit_button.Click += new System.Windows.RoutedEventHandler(this.Sign_out);

            #line default
            #line hidden
                return;

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

            case 4:

            #line 40 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Show_hand);

            #line default
            #line hidden

            #line 40 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Show_hand);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\StudentWindow.xaml"
                this.left_tab.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Left_tab_MouseDown);

            #line default
            #line hidden
                return;

            case 6:
                this.left_tab_rec = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.center_tab = ((System.Windows.Controls.StackPanel)(target));

            #line 45 "..\..\StudentWindow.xaml"
                this.center_tab.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Center_tab_MouseDown);

            #line default
            #line hidden
                return;

            case 8:
                this.center_tab_rec = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.right_tab = ((System.Windows.Controls.StackPanel)(target));

            #line 49 "..\..\StudentWindow.xaml"
                this.right_tab.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Right_tab_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.right_tab_rec = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 53 "..\..\StudentWindow.xaml"
                this.theory_tab.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Theory_tab_MouseDown);

            #line default
            #line hidden
                return;

            case 12:
                this.theory_tab_rec = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 14:
                this.exp_pass = ((System.Windows.Controls.Expander)(target));

            #line 66 "..\..\StudentWindow.xaml"
                this.exp_pass.Expanded += new System.Windows.RoutedEventHandler(this.when_open_pass);

            #line default
            #line hidden
                return;

            case 15:
                this.exp_pass_tests = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 16:
                this.exp_didnt_pass = ((System.Windows.Controls.Expander)(target));

            #line 77 "..\..\StudentWindow.xaml"
                this.exp_didnt_pass.Expanded += new System.Windows.RoutedEventHandler(this.when_open_didnt_pass);

            #line default
            #line hidden
                return;

            case 17:
                this.exp_didnt_pass_tests = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 18:
                this.exp_future = ((System.Windows.Controls.Expander)(target));

            #line 88 "..\..\StudentWindow.xaml"
                this.exp_future.Expanded += new System.Windows.RoutedEventHandler(this.when_open_future);

            #line default
            #line hidden
                return;

            case 19:
                this.exp_futre_tests = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 20:
                this.new_test_view = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 21:
                this.test_hour = ((System.Windows.Controls.ListView)(target));
                return;

            case 22:
                this.address = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 150 "..\..\StudentWindow.xaml"
                this.home_address.Click += new System.Windows.RoutedEventHandler(this.Home_Address);

            #line default
            #line hidden
                return;

            case 24:
                this.city = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.building_number = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 27:
                this.test_date = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 28:
                this.txt_credit_card_number = ((System.Windows.Controls.TextBox)(target));

            #line 170 "..\..\StudentWindow.xaml"
                this.txt_credit_card_number.KeyUp += new System.Windows.Input.KeyEventHandler(this.Txt_credit_card_number_KeyUp);

            #line default
            #line hidden
                return;

            case 29:
                this.txt_credit_card_date = ((System.Windows.Controls.TextBox)(target));

            #line 171 "..\..\StudentWindow.xaml"
                this.txt_credit_card_date.KeyUp += new System.Windows.Input.KeyEventHandler(this.Txt_credit_card_date_KeyUp);

            #line default
            #line hidden
                return;

            case 30:
                this.txt_credit_card_CVV = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:

            #line 178 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_test);

            #line default
            #line hidden
                return;

            case 32:
                this.pi_save = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 33:
                this.pb_save = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 34:
                this.update_student_data = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 35:
                this.id_number = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.first_name = ((System.Windows.Controls.TextBox)(target));

            #line 197 "..\..\StudentWindow.xaml"
                this.first_name.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 37:
                this.last_name = ((System.Windows.Controls.TextBox)(target));

            #line 198 "..\..\StudentWindow.xaml"
                this.last_name.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 38:
                this.gender = ((System.Windows.Controls.ComboBox)(target));

            #line 199 "..\..\StudentWindow.xaml"
                this.gender.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Combo_box_MouseUp);

            #line default
            #line hidden
                return;

            case 39:
                this.phone_number = ((System.Windows.Controls.TextBox)(target));

            #line 203 "..\..\StudentWindow.xaml"
                this.phone_number.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 40:
                this.city1 = ((System.Windows.Controls.TextBox)(target));

            #line 204 "..\..\StudentWindow.xaml"
                this.city1.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 41:
                this.building_number1 = ((System.Windows.Controls.TextBox)(target));

            #line 205 "..\..\StudentWindow.xaml"
                this.building_number1.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 42:
                this.street1 = ((System.Windows.Controls.TextBox)(target));

            #line 206 "..\..\StudentWindow.xaml"
                this.street1.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 43:
                this.birth_date = ((System.Windows.Controls.DatePicker)(target));

            #line 207 "..\..\StudentWindow.xaml"
                this.birth_date.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Birth_date_MouseUp);

            #line default
            #line hidden

            #line 207 "..\..\StudentWindow.xaml"
                this.birth_date.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 44:
                this.car_type = ((System.Windows.Controls.ComboBox)(target));

            #line 208 "..\..\StudentWindow.xaml"
                this.car_type.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Combo_box_MouseUp);

            #line default
            #line hidden
                return;

            case 45:
                this.gear = ((System.Windows.Controls.ComboBox)(target));

            #line 214 "..\..\StudentWindow.xaml"
                this.gear.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Combo_box_MouseUp);

            #line default
            #line hidden
                return;

            case 46:
                this.school_name = ((System.Windows.Controls.TextBox)(target));

            #line 218 "..\..\StudentWindow.xaml"
                this.school_name.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 47:
                this.teacher_name = ((System.Windows.Controls.TextBox)(target));

            #line 219 "..\..\StudentWindow.xaml"
                this.teacher_name.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 48:
                this.number_of_class = ((System.Windows.Controls.TextBox)(target));

            #line 221 "..\..\StudentWindow.xaml"
                this.number_of_class.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 49:

            #line 224 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_plus_minus_Click);

            #line default
            #line hidden
                return;

            case 50:

            #line 225 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_plus_minus_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.email = ((System.Windows.Controls.TextBox)(target));

            #line 229 "..\..\StudentWindow.xaml"
                this.email.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 52:
                this.password = ((System.Windows.Controls.PasswordBox)(target));

            #line 230 "..\..\StudentWindow.xaml"
                this.password.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 53:

            #line 234 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_student);

            #line default
            #line hidden
                return;

            case 54:

            #line 240 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_student);

            #line default
            #line hidden
                return;

            case 55:
                this.theory_test = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 56:
                this.theory_test_view = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 2:

            #line 26 "..\..\UcRowEditor.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnExecute_ClickAsync);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\UcRowEditor.xaml"
                this.btnExecute.Click += new System.Windows.RoutedEventHandler(this.btnExecute_ClickAsync);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\UcRowEditor.xaml"
                this.btnInsert.Click += new System.Windows.RoutedEventHandler(this.btnInsert_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\UcRowEditor.xaml"
                this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\UcRowEditor.xaml"
                this.dataGrid1.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid1_PreviewMouseDoubleClick);

            #line default
            #line hidden
                return;

            case 7:
                this.progressBar = ((MaterialDesignThemes.Wpf.Card)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.loader = ((PreLoader.CustomControls.PreLoaderControl)(target));
                return;

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

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

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

            #line 52 "..\..\..\View\Main.xaml"
                this.popupMasteropen.Click += new System.Windows.RoutedEventHandler(this.popupMasteropen_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\View\Main.xaml"
                this.btnpermissions.Click += new System.Windows.RoutedEventHandler(this.btnpermissions_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\View\Main.xaml"
                this.minimize.Click += new System.Windows.RoutedEventHandler(this.minimize_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\View\Main.xaml"
                this.logout.Click += new System.Windows.RoutedEventHandler(this.logout_Click);

            #line default
            #line hidden
                return;

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

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

            #line 65 "..\..\..\View\Main.xaml"
                this.Btnclsmenu.Click += new System.Windows.RoutedEventHandler(this.Btnclsmenu_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\..\View\Main.xaml"
                this.btnopenmenu.Click += new System.Windows.RoutedEventHandler(this.btnopenmenu_Click);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\..\View\Main.xaml"
                this.btndashboard.Click += new System.Windows.RoutedEventHandler(this.btndashboard_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.mainoperation = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 13:
                this.btnhome = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\..\View\Main.xaml"
                this.btnhome.Click += new System.Windows.RoutedEventHandler(this.btnhome_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnopr = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\..\View\Main.xaml"
                this.btnopr.Click += new System.Windows.RoutedEventHandler(this.btnopr_Click);

            #line default
            #line hidden
                return;

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

            case 16:
                this.CTXReport = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 17:
                this.btnexprt = ((System.Windows.Controls.MenuItem)(target));

            #line 113 "..\..\..\View\Main.xaml"
                this.btnexprt.Click += new System.Windows.RoutedEventHandler(this.btnexprt_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.FOT = ((System.Windows.Controls.MenuItem)(target));

            #line 114 "..\..\..\View\Main.xaml"
                this.FOT.Click += new System.Windows.RoutedEventHandler(this.FOT_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.PB = ((System.Windows.Controls.MenuItem)(target));

            #line 115 "..\..\..\View\Main.xaml"
                this.PB.Click += new System.Windows.RoutedEventHandler(this.PB_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.mDep = ((System.Windows.Controls.MenuItem)(target));

            #line 116 "..\..\..\View\Main.xaml"
                this.mDep.Click += new System.Windows.RoutedEventHandler(this.mDep_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.mTodayRes = ((System.Windows.Controls.MenuItem)(target));

            #line 117 "..\..\..\View\Main.xaml"
                this.mTodayRes.Click += new System.Windows.RoutedEventHandler(this.mTodayRes_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.mGuestInHouse = ((System.Windows.Controls.MenuItem)(target));

            #line 118 "..\..\..\View\Main.xaml"
                this.mGuestInHouse.Click += new System.Windows.RoutedEventHandler(this.mGuestInHouse_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.mDailyCheckouts = ((System.Windows.Controls.MenuItem)(target));

            #line 119 "..\..\..\View\Main.xaml"
                this.mDailyCheckouts.Click += new System.Windows.RoutedEventHandler(this.mDailyCheckouts_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.mRoomRate = ((System.Windows.Controls.MenuItem)(target));

            #line 120 "..\..\..\View\Main.xaml"
                this.mRoomRate.Click += new System.Windows.RoutedEventHandler(this.mRoomRate_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.mPlan = ((System.Windows.Controls.MenuItem)(target));

            #line 121 "..\..\..\View\Main.xaml"
                this.mPlan.Click += new System.Windows.RoutedEventHandler(this.mPlan_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.mRoomOccu = ((System.Windows.Controls.MenuItem)(target));

            #line 122 "..\..\..\View\Main.xaml"
                this.mRoomOccu.Click += new System.Windows.RoutedEventHandler(this.mRoomOccu_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.mDailyDis = ((System.Windows.Controls.MenuItem)(target));

            #line 123 "..\..\..\View\Main.xaml"
                this.mDailyDis.Click += new System.Windows.RoutedEventHandler(this.mDailyDis_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.mResList = ((System.Windows.Controls.MenuItem)(target));

            #line 124 "..\..\..\View\Main.xaml"
                this.mResList.Click += new System.Windows.RoutedEventHandler(this.mResList_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.mCanlRes = ((System.Windows.Controls.MenuItem)(target));

            #line 125 "..\..\..\View\Main.xaml"
                this.mCanlRes.Click += new System.Windows.RoutedEventHandler(this.mCanlRes_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.mOutStandBalance = ((System.Windows.Controls.MenuItem)(target));

            #line 126 "..\..\..\View\Main.xaml"
                this.mOutStandBalance.Click += new System.Windows.RoutedEventHandler(this.mOutStandBalance_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.mTransList = ((System.Windows.Controls.MenuItem)(target));

            #line 127 "..\..\..\View\Main.xaml"
                this.mTransList.Click += new System.Windows.RoutedEventHandler(this.mTransList_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.mGuestAdvance = ((System.Windows.Controls.MenuItem)(target));

            #line 128 "..\..\..\View\Main.xaml"
                this.mGuestAdvance.Click += new System.Windows.RoutedEventHandler(this.mGuestAdvance_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.mMWRoomTariff = ((System.Windows.Controls.MenuItem)(target));

            #line 129 "..\..\..\View\Main.xaml"
                this.mMWRoomTariff.Click += new System.Windows.RoutedEventHandler(this.mMWRoomTariff_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.mMontlyDis = ((System.Windows.Controls.MenuItem)(target));

            #line 130 "..\..\..\View\Main.xaml"
                this.mMontlyDis.Click += new System.Windows.RoutedEventHandler(this.mMontlyDis_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.mMonthlyBillGst = ((System.Windows.Controls.MenuItem)(target));

            #line 131 "..\..\..\View\Main.xaml"
                this.mMonthlyBillGst.Click += new System.Windows.RoutedEventHandler(this.MMonthlyBillGst_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.mDailyTar = ((System.Windows.Controls.MenuItem)(target));

            #line 132 "..\..\..\View\Main.xaml"
                this.mDailyTar.Click += new System.Windows.RoutedEventHandler(this.mDailyTar_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.mDailyTax = ((System.Windows.Controls.MenuItem)(target));

            #line 134 "..\..\..\View\Main.xaml"
                this.mDailyTax.Click += new System.Windows.RoutedEventHandler(this.mDailyTax_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.mMonthlyTax = ((System.Windows.Controls.MenuItem)(target));

            #line 135 "..\..\..\View\Main.xaml"
                this.mMonthlyTax.Click += new System.Windows.RoutedEventHandler(this.mMonthlyTax_Click);

            #line default
            #line hidden
                return;

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

            case 40:
                this.frame = ((System.Windows.Controls.Frame)(target));
                return;

            case 41:
                this.PreLoaderPopup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 42:
                this.preloader = ((MaterialDesignThemes.Wpf.Card)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\Pages\Page7.xaml"
                ((System.Windows.Controls.ScrollViewer)(target)).PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.UIElement_OnPreviewMouseWheel);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.Percent = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 7:
                this.LOAD = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 8:
                this.Load = ((Panuon.UI.Silver.Loading)(target));
                return;

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

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

            #line 33 "..\..\..\Pages\Page7.xaml"
                this.Start.Click += new System.Windows.RoutedEventHandler(this.RunButton_Click_1);

            #line default
            #line hidden
                return;

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

            case 12:
                this.CD1 = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 13:
                this.Title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.RunButton = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\Pages\Page7.xaml"
                this.RunButton.Click += new System.Windows.RoutedEventHandler(this.RunButton_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.Says = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.CD2 = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 17:
                this.T2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.AddWhat = ((System.Windows.Controls.ComboBox)(target));

            #line 50 "..\..\..\Pages\Page7.xaml"
                this.AddWhat.DropDownClosed += new System.EventHandler(this.AddWhat_DropDownClosed);

            #line default
            #line hidden
                return;

            case 19:
                this.AdW = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.T3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.AddWhere = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.T1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.What = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.HID = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.T5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.CanDel = ((System.Windows.Controls.CheckBox)(target));

            #line 62 "..\..\..\Pages\Page7.xaml"
                this.CanDel.Checked += new System.Windows.RoutedEventHandler(this.CanDel_Checked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #12
0
ファイル: MainWindow.g.i.cs プロジェクト: OverFlag/OilP
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.electronic_control_common_rail_system_test_software = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            case 3:

            #line 62 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\..\Pages\MainWindow.xaml"
                this.common_rail_injector.Click += new System.Windows.RoutedEventHandler(this.common_rail_injector_Click);

            #line default
            #line hidden
                return;

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

            case 6:

            #line 77 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 8:
                this.HPO = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:

            #line 92 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            case 12:

            #line 107 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 13:
                this.eup_eui = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.EUP_I = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:

            #line 122 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 17:
                this.HEUI_BENG = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:

            #line 137 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 19:
                this.heui_pump = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.CAT = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:

            #line 152 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 23:
                this.DKZHBeng = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:

            #line 167 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 25:
                this.electronically_controlled_combination_pump = ((System.Windows.Controls.Button)(target));
                return;

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

            case 27:

            #line 182 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 29:
                this.VP44 = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:

            #line 196 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 31:
                this.vp44 = ((System.Windows.Controls.Button)(target));
                return;

            case 32:
                this.TICS = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:

            #line 210 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 34:
                this.tics_pump = ((System.Windows.Controls.Button)(target));
                return;

            case 35:
                this.XIANDA = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:

            #line 224 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 37:
                this.first_to_control_the_pump = ((System.Windows.Controls.Button)(target));
                return;

            case 38:
                this.JIXIEVE = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:

            #line 239 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 40:
                this.mechanical_ve_pump = ((System.Windows.Controls.Button)(target));
                return;

            case 41:
                this.JXBENG = ((System.Windows.Controls.Grid)(target));
                return;

            case 42:

            #line 254 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 43:
                this.mechanical_pump = ((System.Windows.Controls.Button)(target));
                return;

            case 44:
                this.JLUNIT = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:

            #line 269 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 46:
                this.measuring_unit_zme = ((System.Windows.Controls.Button)(target));
                return;

            case 47:
                this.AHE = ((System.Windows.Controls.Grid)(target));
                return;

            case 48:

            #line 284 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 49:
                this.armature_stroke_ahe = ((System.Windows.Controls.Button)(target));
                return;

            case 50:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #13
0
ファイル: MainWindow.g.cs プロジェクト: OverFlag/OilP
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.common_rail_injector = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            case 3:

            #line 62 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 5:

            #line 76 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 6:
                this.HPO = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:

            #line 90 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:
                this.EUP_EUI = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:

            #line 104 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 10:
                this.EUP_I = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:

            #line 118 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 12:
                this.HEUI_BENG = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:

            #line 132 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 14:
                this.CAT = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:

            #line 146 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 16:
                this.DKZHBeng = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:

            #line 160 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 18:
                this.VP37 = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:

            #line 174 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 20:
                this.VP44 = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:

            #line 188 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 22:
                this.TICS = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:

            #line 202 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 24:
                this.XIANDA = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:

            #line 216 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 27:

            #line 230 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 28:
                this.JXBENG = ((System.Windows.Controls.Grid)(target));
                return;

            case 29:

            #line 244 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 30:
                this.JLUNIT = ((System.Windows.Controls.Grid)(target));
                return;

            case 31:

            #line 258 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 32:
                this.AHE = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:

            #line 272 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #14
0
ファイル: PageHD1.g.i.cs プロジェクト: op07n/test23
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RunCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            case 3:
                this.Percent = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 5:
                this.CD1 = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

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

            #line 33 "..\..\..\Pages\PageHD1.xaml"
                this.RunButton.Click += new System.Windows.RoutedEventHandler(this.RunTool);

            #line default
            #line hidden
                return;

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

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

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

            case 11:
                this.IconCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            case 13:
                this.Iconall = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 14:
                this.T5 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LeftWindow = ((System.Windows.Controls.RadioButton)(target));

            #line 73 "..\..\..\Views\ConfigView.xaml"
                this.LeftWindow.Click += new System.Windows.RoutedEventHandler(this.LeftWindow_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.RightWindow = ((System.Windows.Controls.RadioButton)(target));

            #line 83 "..\..\..\Views\ConfigView.xaml"
                this.RightWindow.Click += new System.Windows.RoutedEventHandler(this.RightWindow_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 9:
                this.dark = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            #line 589 "..\..\..\Views\ConfigView.xaml"
                this.DarkMode.Checked += new System.Windows.RoutedEventHandler(this.DarkMode_Checked);

            #line default
            #line hidden

            #line 589 "..\..\..\Views\ConfigView.xaml"
                this.DarkMode.Unchecked += new System.Windows.RoutedEventHandler(this.DarkMode_Unchecked);

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

            #line 16 "..\..\EditForecastWindow.xaml"
                ((_18003144_Task_1_v2.EditForecastWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

            #line 16 "..\..\EditForecastWindow.xaml"
                ((_18003144_Task_1_v2.EditForecastWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.pnlNavigation = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 23 "..\..\EditForecastWindow.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.BtnHome_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\EditForecastWindow.xaml"
                this.btnViewForecasts.Click += new System.Windows.RoutedEventHandler(this.BtnViewForecasts_Click);

            #line default
            #line hidden
                return;

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

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

            #line 33 "..\..\EditForecastWindow.xaml"
                this.txtCity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtCity_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.lstCities = ((System.Windows.Controls.ListBox)(target));

            #line 52 "..\..\EditForecastWindow.xaml"
                this.lstCities.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstCities_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\EditForecastWindow.xaml"
                this.sldMin.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldMin_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\EditForecastWindow.xaml"
                this.txtMin.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtMin_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.sldMax = ((System.Windows.Controls.Slider)(target));

            #line 55 "..\..\EditForecastWindow.xaml"
                this.sldMax.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldMax_ValueChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.txtMax = ((System.Windows.Controls.TextBox)(target));

            #line 56 "..\..\EditForecastWindow.xaml"
                this.txtMax.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtMax_TextChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.sldWind = ((System.Windows.Controls.Slider)(target));

            #line 57 "..\..\EditForecastWindow.xaml"
                this.sldWind.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldWind_ValueChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.txtWind = ((System.Windows.Controls.TextBox)(target));

            #line 58 "..\..\EditForecastWindow.xaml"
                this.txtWind.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtWind_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.sldHumidity = ((System.Windows.Controls.Slider)(target));

            #line 59 "..\..\EditForecastWindow.xaml"
                this.sldHumidity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldHumidity_ValueChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.txtHumidity = ((System.Windows.Controls.TextBox)(target));

            #line 60 "..\..\EditForecastWindow.xaml"
                this.txtHumidity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtHumidity_TextChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.sldPrecip = ((System.Windows.Controls.Slider)(target));

            #line 61 "..\..\EditForecastWindow.xaml"
                this.sldPrecip.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldPrecip_ValueChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.txtPrecip = ((System.Windows.Controls.TextBox)(target));

            #line 62 "..\..\EditForecastWindow.xaml"
                this.txtPrecip.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtPrecip_TextChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.dtpDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 65 "..\..\EditForecastWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnAutofill = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\EditForecastWindow.xaml"
                this.btnAutofill.Click += new System.Windows.RoutedEventHandler(this.BtnAutofill_Click);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\EditForecastWindow.xaml"
                this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btnBack = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\EditForecastWindow.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.BtnBack_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.crdError = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 25:
                this.lblError = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\Pages\Page4.xaml"
                ((System.Windows.Controls.ScrollViewer)(target)).PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.UIElement_OnPreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 2:
                this.RunCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

            case 4:
                this.Percent = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 6:
                this.CD1 = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

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

            #line 28 "..\..\..\Pages\Page4.xaml"
                this.RunButton.Click += new System.Windows.RoutedEventHandler(this.RunTool);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\Pages\Page4.xaml"
                this.ClearButton.Click += new System.Windows.RoutedEventHandler(this.Add);

            #line default
            #line hidden
                return;

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

            case 11:
                this.CD2 = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 12:
                this.MT2 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }