コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

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

            #line 18 "..\..\..\Forms\MainWindow.xaml"
                this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\Forms\MainWindow.xaml"
                this.CfgBtn.Click += new System.Windows.RoutedEventHandler(this.cfgBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\Forms\MainWindow.xaml"
                this.NewSessionBtn.Click += new System.Windows.RoutedEventHandler(this.newSessionBtn_Click);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.LoadRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 9:
                this.ServerConIcon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myWindow = ((_task8.MainWindow)(target));
                return;

            case 2:
                this.myCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.bigSugarCube = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 4:
                this.factory = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 5:
                this.conveyorOptionsList = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 12 "..\..\MainWindow.xaml"
                ((CleanUI.MainWindow)(target)).LostFocus += new System.Windows.RoutedEventHandler(this.CommandTb_LostFocus);

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                ((CleanUI.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.EnterCommand);

            #line default
            #line hidden
                return;

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

            case 3:
                this.CommandTypeIcon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.CommandTb.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.CommandTb_KeyDown);

            #line default
            #line hidden

            #line 53 "..\..\MainWindow.xaml"
                this.CommandTb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.CommandTb_TextChanged);

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

            #line 15 "..\..\..\Login.xaml"
                ((SGRV.Login)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDown);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\Login.xaml"
                this.button_CerrarVentana.Click += new System.Windows.RoutedEventHandler(this.button_cerrarVentana_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.icon_usernameWhite = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

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

            case 6:
                this.icon_passwordWhite = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

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

            #line 101 "..\..\..\Login.xaml"
                this.button_IniciarSesion.Click += new System.Windows.RoutedEventHandler(this.button_IniciarSesion_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.frmMain = ((WoW_Coffee_Launcher.MainWindow)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.frmMain.Loaded += new System.Windows.RoutedEventHandler(this.FrmMain_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Icon_StatusGlobe = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
     return;
     case 3:
     this.LB_ServerStatus = ((System.Windows.Controls.Label)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this.LB_ServerStatus.Loaded += new System.Windows.RoutedEventHandler(this.LB_ServerStatus_Loaded);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btn_Patcher = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\MainWindow.xaml"
     this.btn_Patcher.Click += new System.Windows.RoutedEventHandler(this.Btn_Patcher_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.txt_path = ((System.Windows.Controls.TextBox)(target));
     
     #line 37 "..\..\MainWindow.xaml"
     this.txt_path.Loaded += new System.Windows.RoutedEventHandler(this.Txt_path_Loaded);
     
     #line default
     #line hidden
     return;
     case 6:
     this.PB_DownloadProgress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #6
0
ファイル: LoginWindow.g.i.cs プロジェクト: MichiFrech/TMS
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\LoginWindow.xaml"
                ((TMS.LoginWindow)(target)).Closed += new System.EventHandler(this.MetroWindow_Closed);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\LoginWindow.xaml"
                this.tb_mail.LostFocus += new System.Windows.RoutedEventHandler(this.LostFocus);

            #line default
            #line hidden

            #line 14 "..\..\LoginWindow.xaml"
                this.tb_mail.KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.mail_state_icon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

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

            #line 18 "..\..\LoginWindow.xaml"
                this.tb_pw.LostFocus += new System.Windows.RoutedEventHandler(this.LostFocus);

            #line default
            #line hidden

            #line 18 "..\..\LoginWindow.xaml"
                this.tb_pw.KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.password_state_icon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

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

            #line 21 "..\..\LoginWindow.xaml"
                this.btn_login.Click += new System.Windows.RoutedEventHandler(this.btn_login_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.lbl_msg = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.progring = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

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

            #line 29 "..\..\LoginWindow.xaml"
                this.GoBackBtn.Click += new System.Windows.RoutedEventHandler(this.GoBackBtn_Click);

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

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

            #line default
            #line hidden
                return;

            case 2:
                this.IconLock = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 3:
                this.labelKeysCounter = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.labelFilesCounter = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.labelUsername = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.labelStatus = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 181 "..\..\..\MainWindow.xaml"
                this.listBoxConnectedDevices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxConnectedDevices_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\..\MainWindow.xaml"
                this.submitButton.Click += new System.Windows.RoutedEventHandler(this.submitButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.listBoxTrustedDevices = ((System.Windows.Controls.ListBox)(target));

            #line 202 "..\..\..\MainWindow.xaml"
                this.listBoxTrustedDevices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxTrustedDevices_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 215 "..\..\..\MainWindow.xaml"
                this.deleteTrustedDeviceBtn.Click += new System.Windows.RoutedEventHandler(this.deleteTrustedDeviceBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.listBoxFiles = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 245 "..\..\..\MainWindow.xaml"
                this.addFilesBtn.Click += new System.Windows.RoutedEventHandler(this.addFilesBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 251 "..\..\..\MainWindow.xaml"
                this.deleteFilesBtn.Click += new System.Windows.RoutedEventHandler(this.deleteFilesBtn_Click);

            #line default
            #line hidden
                return;

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

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

            #line 279 "..\..\..\MainWindow.xaml"
                this.addFoldersBtn.Click += new System.Windows.RoutedEventHandler(this.addFoldersBtn_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.deleteFoldersBtn = ((System.Windows.Controls.Button)(target));

            #line 284 "..\..\..\MainWindow.xaml"
                this.deleteFoldersBtn.Click += new System.Windows.RoutedEventHandler(this.deleteFoldersBtn_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.labelSecurityQuestion = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.textBoxSecurityAnswer = ((System.Windows.Controls.TextBox)(target));

            #line 344 "..\..\..\MainWindow.xaml"
                this.textBoxSecurityAnswer.GotFocus += new System.Windows.RoutedEventHandler(this.textBoxSecurityAnswer_GotFocus);

            #line default
            #line hidden

            #line 345 "..\..\..\MainWindow.xaml"
                this.textBoxSecurityAnswer.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxSecurityAnswer_LostFocus);

            #line default
            #line hidden
                return;

            case 20:
                this.textBoxRecoveryPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 375 "..\..\..\MainWindow.xaml"
                this.textBoxRecoveryPassword.GotFocus += new System.Windows.RoutedEventHandler(this.textBoxRecoveryPassword_GotFocus);

            #line default
            #line hidden

            #line 376 "..\..\..\MainWindow.xaml"
                this.textBoxRecoveryPassword.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxRecoveryPassword_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 392 "..\..\..\MainWindow.xaml"
                this.btnRecoverFiles.Click += new System.Windows.RoutedEventHandler(this.btnRecoverFiles_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.checkBoxAutoStart = ((System.Windows.Controls.CheckBox)(target));

            #line 404 "..\..\..\MainWindow.xaml"
                this.checkBoxAutoStart.Checked += new System.Windows.RoutedEventHandler(this.comboBoxAutoStart_Checked);

            #line default
            #line hidden
                return;

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

            #line 420 "..\..\..\MainWindow.xaml"
                this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.btnMinimize_Click);

            #line default
            #line hidden
                return;

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

            #line 433 "..\..\..\MainWindow.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

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

            #line 11 "..\..\RegisterWindow.xaml"
                ((TMS.RegisterWindow)(target)).Closed += new System.EventHandler(this.MetroWindow_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.lbl_firstname = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 15 "..\..\RegisterWindow.xaml"
                this.tb_firstname.LostFocus += new System.Windows.RoutedEventHandler(this.Lostfocus);

            #line default
            #line hidden

            #line 15 "..\..\RegisterWindow.xaml"
                this.tb_firstname.KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyDown);

            #line default
            #line hidden
                return;

            case 4:
                this.firstname_state_icon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 5:
                this.lbl_lastname = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 19 "..\..\RegisterWindow.xaml"
                this.tb_lastname.LostFocus += new System.Windows.RoutedEventHandler(this.Lostfocus);

            #line default
            #line hidden

            #line 19 "..\..\RegisterWindow.xaml"
                this.tb_lastname.KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyDown);

            #line default
            #line hidden
                return;

            case 7:
                this.lastname_state_icon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 8:
                this.lbl_mail = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 23 "..\..\RegisterWindow.xaml"
                this.tb_mail.LostFocus += new System.Windows.RoutedEventHandler(this.Lostfocus);

            #line default
            #line hidden

            #line 23 "..\..\RegisterWindow.xaml"
                this.tb_mail.KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyDown);

            #line default
            #line hidden
                return;

            case 10:
                this.mail_state_icon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 11:
                this.lbl_mail_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.tb_pw = ((System.Windows.Controls.PasswordBox)(target));

            #line 27 "..\..\RegisterWindow.xaml"
                this.tb_pw.LostFocus += new System.Windows.RoutedEventHandler(this.Lostfocus);

            #line default
            #line hidden

            #line 27 "..\..\RegisterWindow.xaml"
                this.tb_pw.KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyDown);

            #line default
            #line hidden
                return;

            case 13:
                this.password_state_icon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 14:
                this.rb_pu = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.rb_bu = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            #line 36 "..\..\RegisterWindow.xaml"
                this.btn_register.Click += new System.Windows.RoutedEventHandler(this.btn_register_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.progring = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 18:
                this.lbl_msg = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 45 "..\..\RegisterWindow.xaml"
                this.gobackbtn.Click += new System.Windows.RoutedEventHandler(this.gobackbtn_Click);

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

            #line 12 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                ((SGRV.GUIDireccionGeneral.MenuDireccionGeneral)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDown);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_Chat.Click += new System.Windows.RoutedEventHandler(this.button_Chat_Click);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_CerrarSesion.Click += new System.Windows.RoutedEventHandler(this.button_CerrarSesion_Click);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_MinimizarVentana.Click += new System.Windows.RoutedEventHandler(this.button_MinimizarVentana_Click);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_CerrarVentana.Click += new System.Windows.RoutedEventHandler(this.button_CerrarVentana_Click);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_Usuario.Click += new System.Windows.RoutedEventHandler(this.button_Usuario_Click);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_DelegacionesMunicipales.Click += new System.Windows.RoutedEventHandler(this.button_DelegacionesMunicipales_Click);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_Reporte.Click += new System.Windows.RoutedEventHandler(this.button_Reporte_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_RegistrarUsuario.Click += new System.Windows.RoutedEventHandler(this.button_RegistrarUsuario_Click);

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_ModificarUsuario.Click += new System.Windows.RoutedEventHandler(this.button_ModificarUsuario_Click);

            #line default
            #line hidden
                return;

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

            #line 132 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_EliminarUsuario.Click += new System.Windows.RoutedEventHandler(this.button_EliminarUsuarior_Click);

            #line default
            #line hidden
                return;

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

            #line 141 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_VisualizarReporte.Click += new System.Windows.RoutedEventHandler(this.button_VisualizarReporte_Click);

            #line default
            #line hidden
                return;

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

            #line 150 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_RegistrarDelegacion.Click += new System.Windows.RoutedEventHandler(this.button_RegistrarDelegacion_Click);

            #line default
            #line hidden
                return;

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

            #line 159 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_ModificarDelegacion.Click += new System.Windows.RoutedEventHandler(this.button_ModificarDelegacion_Click);

            #line default
            #line hidden
                return;

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

            #line 168 "..\..\..\..\GUIDireccionGeneral\MenuDireccionGeneral.xaml"
                this.button_EliminarDelegacion.Click += new System.Windows.RoutedEventHandler(this.button_EliminarDelegacion_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.icon_car = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
ファイル: AccountView.g.i.cs プロジェクト: MichiFrech/TMS
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.check_firstname = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

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

            case 5:
                this.check_lastname = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

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

            case 7:
                this.check_mail = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 8:
                this.tb_password = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 9:
                this.check_password = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 10:
                this.tb_confpassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 11:
                this.check_confpassword = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 12:
                this.tb_desc = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 79 "..\..\..\views\AccountView.xaml"
                this.btn_upgrade.Click += new System.Windows.RoutedEventHandler(this.btn_upgrade_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.lbl_abu = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 85 "..\..\..\views\AccountView.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.btn_save_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.lbl_name = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lbl_mail = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lbl_license = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.lbl_lastpayment = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.currentTheme = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 109 "..\..\..\views\AccountView.xaml"
                this.currentTheme.Click += new System.EventHandler <System.Windows.RoutedEventArgs>(this.currentTheme_Click);

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

            #line 13 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                ((SGRV.GUIDelegacionesMunicipales.MenuDelegacionMunicipal)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDown);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_Conductor.Click += new System.Windows.RoutedEventHandler(this.button_Conductor_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_Vehiculo.Click += new System.Windows.RoutedEventHandler(this.button_Vehiculo_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_Reporte.Click += new System.Windows.RoutedEventHandler(this.button_Reporte_Click);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_RegistrarConductor.Click += new System.Windows.RoutedEventHandler(this.button_RegistrarConductor_Click);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_ModificarConductor.Click += new System.Windows.RoutedEventHandler(this.button_ModificarConductor_Click);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_EliminarConductor.Click += new System.Windows.RoutedEventHandler(this.button_EliminarConductor_Click);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_RegistrarVehiculo.Click += new System.Windows.RoutedEventHandler(this.button_RegistrarVehiculo_Click);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_ModificarVehiculo.Click += new System.Windows.RoutedEventHandler(this.button_ModificarVehiculo_Click);

            #line default
            #line hidden
                return;

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

            #line 124 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_EliminarVehiculo.Click += new System.Windows.RoutedEventHandler(this.button_EliminarVehiculo_Click);

            #line default
            #line hidden
                return;

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

            #line 133 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_RegistrarReporte.Click += new System.Windows.RoutedEventHandler(this.button_RegistrarReporte_Click);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_HistorialReporte.Click += new System.Windows.RoutedEventHandler(this.button_HistorialReporte_Click);

            #line default
            #line hidden
                return;

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

            #line 150 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_Chat.Click += new System.Windows.RoutedEventHandler(this.button_Chat_Click);

            #line default
            #line hidden
                return;

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

            #line 159 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_CerrarSesion.Click += new System.Windows.RoutedEventHandler(this.button_CerrarSesion_Click);

            #line default
            #line hidden
                return;

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

            #line 168 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_MinimizarVentana.Click += new System.Windows.RoutedEventHandler(this.button_MinimizarVentana_Click);

            #line default
            #line hidden
                return;

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

            #line 177 "..\..\..\..\GUIDelegacionesMunicipales\MenuDelegacionMunicipal.xaml"
                this.button_CerrarVentana.Click += new System.Windows.RoutedEventHandler(this.button_CerrarVentana_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.icon_car = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;
            }
            this._contentLoaded = true;
        }