Inheritance: System.Windows.Controls.Control
Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.IsCheck = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 20 "..\..\..\View\Add_event.xaml"
                this.IsCheck.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.ToggleSwitch_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.StartDate = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

            case 3:
                this.EndDate = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

            case 5:
                this.editB = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ID = ((System.Windows.Controls.TextBox)(target));

            #line 22 "..\..\SearchInReports.xaml"
                this.ID.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnlyDigits);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\SearchInReports.xaml"
                this.Session_ID.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnlyDigits);

            #line default
            #line hidden
                return;

            case 3:
                this.Date_In = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

            case 4:
                this.Date_Out = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

            case 5:

            #line 53 "..\..\SearchInReports.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);

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

            #line 17 "..\..\..\..\BookingMaster\Service.xaml"
                this.CBBicycle.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.PickStart = ((MahApps.Metro.Controls.DateTimePicker)(target));

            #line 33 "..\..\..\..\BookingMaster\Service.xaml"
                this.PickStart.SelectedDateChanged += new System.EventHandler <MahApps.Metro.Controls.TimePickerBaseSelectionChangedEventArgs <System.Nullable <System.DateTime> > >(this.PickStart_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.PickEnd = ((MahApps.Metro.Controls.DateTimePicker)(target));

            #line 37 "..\..\..\..\BookingMaster\Service.xaml"
                this.PickEnd.SelectedDateChanged += new System.EventHandler <MahApps.Metro.Controls.TimePickerBaseSelectionChangedEventArgs <System.Nullable <System.DateTime> > >(this.PickEnd_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

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

            case 2:
                this.StartDate = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

            case 4:
                this.CBBike = ((System.Windows.Controls.ComboBox)(target));

            #line 42 "..\..\..\..\BookingMaster\Booking.xaml"
                this.CBBike.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CBBike_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 6:

            #line 46 "..\..\..\..\BookingMaster\Booking.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

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

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

            #line 54 "..\..\..\..\BookingMaster\Booking.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click_1);

            #line default
            #line hidden
                return;

            case 10:

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

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

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

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

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

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

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

            case 7:
                this.dttp_inicioEvento = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

            case 8:
                this.dttp_terminoEvento = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

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

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

            case 12:
                this.cmb_tipoEvento = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

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

            case 18:
                this.btn_guardarCambios = ((System.Windows.Controls.Button)(target));
                return;

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

            case 20:
                this.dtp_creacion = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 21:
                this.dtp_termino = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            case 24:
                this.nup_asistentes = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 25:
                this.nup_personalAdicional = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

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

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

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

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

            case 30:
                this.cmb_modalidadServicio = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.ValorArriendoTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 18 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 11:
                this.textBox_PassWord = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

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

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

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

            case 17:
                this.textBox_FtpUserName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.textBox_FtpPassWord = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            #line 41 "..\..\MainWindow.xaml"
                this.btnOneKeyRestore.Click += new System.Windows.RoutedEventHandler(this.btnOneKeyRestore_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.textBox_Sql = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 22:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 25:
                this.panels = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 26:
                this.menus = ((System.Windows.Controls.Menu)(target));
                return;

            case 27:

            #line 51 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnShowTemplateWindow_Click);

            #line default
            #line hidden
                return;

            case 28:

            #line 53 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AboutHanlder_Click);

            #line default
            #line hidden
                return;

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

            case 30:
                this.DateTimePicker_EndTime = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

            case 32:
                this.ProgressBar_Bak = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

            case 33:
                this.label_Bak = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lbl_rutCliente = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 4:
                this.cmb_tipo = ((System.Windows.Controls.ComboBox)(target));

            #line 21 "..\..\AdmContratos.xaml"
                this.cmb_tipo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cmb_tipo_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 6:
                this.date_inicio = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

            case 8:
                this.date_fin = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 20:
                this.cmb_ambientacion = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 21:
                this.check_musica = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            #line 42 "..\..\AdmContratos.xaml"
                this.btn_guardar.Click += new System.Windows.RoutedEventHandler(this.Btn_guardar_Click);

            #line default
            #line hidden
                return;

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

            case 26:
                this.btn_terminarContrato = ((System.Windows.Controls.Button)(target));
                return;

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

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

            #line 46 "..\..\AdmContratos.xaml"
                this.txt_numeroComtrato.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_numeroComtrato_TextChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.btn_buscarRut = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\AdmContratos.xaml"
                this.btn_buscarRut.Click += new System.Windows.RoutedEventHandler(this.Btn_buscarRut_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\AdmContratos.xaml"
                this.btn_buscarNContrato.Click += new System.Windows.RoutedEventHandler(this.Btn_buscarContrato_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 38:
                this.txt_razonSocialMostrado = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.check_Vegetariana = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 40:
                this.check_Mixta = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 42:
                this.lbl_Valor_Arriendo = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ThemeW = ((System.Windows.Controls.WrapPanel)(target));

            #line 54 "..\..\..\Fenetres\Parametre.xaml"
                this.ThemeW.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.WrapPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 2:
                this.DateEtHaureW = ((System.Windows.Controls.WrapPanel)(target));

            #line 62 "..\..\..\Fenetres\Parametre.xaml"
                this.DateEtHaureW.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.WrapPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 3:
                this.SauvgardeW = ((System.Windows.Controls.WrapPanel)(target));

            #line 74 "..\..\..\Fenetres\Parametre.xaml"
                this.SauvgardeW.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.WrapPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 4:
                this.RestaurationW = ((System.Windows.Controls.WrapPanel)(target));

            #line 82 "..\..\..\Fenetres\Parametre.xaml"
                this.RestaurationW.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.WrapPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 5:
                this.ModificationW = ((System.Windows.Controls.WrapPanel)(target));

            #line 90 "..\..\..\Fenetres\Parametre.xaml"
                this.ModificationW.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.WrapPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            case 7:
                this.NomWilaya = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 9:

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

            #line default
            #line hidden
                return;

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

            case 11:
                this.MyDataGrid1 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:

            #line 141 "..\..\..\Fenetres\Parametre.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 13:

            #line 146 "..\..\..\Fenetres\Parametre.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            case 15:
                this.MyDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 16:

            #line 169 "..\..\..\Fenetres\Parametre.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

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

            case 19:
                this.Light = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 190 "..\..\..\Fenetres\Parametre.xaml"
                this.chang.Click += new System.Windows.RoutedEventHandler(this.Chang_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.DateEtHaure = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 199 "..\..\..\Fenetres\Parametre.xaml"
                this.cb.Click += new System.Windows.RoutedEventHandler(this.Cb_Click);

            #line default
            #line hidden
                return;

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

            case 24:
                this.cal = ((MahApps.Metro.Controls.DateTimePicker)(target));

            #line 202 "..\..\..\Fenetres\Parametre.xaml"
                this.cal.SelectedDateChanged += new System.EventHandler <MahApps.Metro.Controls.TimePickerBaseSelectionChangedEventArgs <System.Nullable <System.DateTime> > >(this.Cal_SelectedDateChanged);

            #line default
            #line hidden

            #line 202 "..\..\..\Fenetres\Parametre.xaml"
                this.cal.SelectedTimeChanged += new System.EventHandler <MahApps.Metro.Controls.TimePickerBaseSelectionChangedEventArgs <System.Nullable <System.TimeSpan> > >(this.Cal_SelectedTimeChanged);

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

            #line 11 "..\..\..\..\View\Sub_View\uc_WorkInput.xaml"
                ((WIFS.uc_WorkInput)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoad);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\..\View\Sub_View\uc_WorkInput.xaml"
                this.btn_work.Click += new System.Windows.RoutedEventHandler(this.Btn_work_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.sDateTime = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

            case 5:
                this.eDateTime = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

            #line 128 "..\..\..\..\View\Sub_View\uc_WorkInput.xaml"
                this.btn_workTimeReg.Click += new System.Windows.RoutedEventHandler(this.Btn_workTimeReg_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.cheDinner = ((System.Windows.Controls.CheckBox)(target));

            #line 135 "..\..\..\..\View\Sub_View\uc_WorkInput.xaml"
                this.cheDinner.Checked += new System.Windows.RoutedEventHandler(this.CheDinner_Checked);

            #line default
            #line hidden
                return;

            case 8:
                this.cheHoly = ((System.Windows.Controls.CheckBox)(target));

            #line 139 "..\..\..\..\View\Sub_View\uc_WorkInput.xaml"
                this.cheHoly.Checked += new System.Windows.RoutedEventHandler(this.CheHoly_Checked);

            #line default
            #line hidden
                return;

            case 9:
                this.preData = ((System.Windows.Controls.Label)(target));

            #line 157 "..\..\..\..\View\Sub_View\uc_WorkInput.xaml"
                this.preData.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PreData_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

            case 13:
                this.nextData = ((System.Windows.Controls.Label)(target));

            #line 183 "..\..\..\..\View\Sub_View\uc_WorkInput.xaml"
                this.nextData.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PreData_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line 12 "..\..\GestionContratos.xaml"
                ((OnBreak.GestionContratos)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);

            #line default
            #line hidden

            #line 12 "..\..\GestionContratos.xaml"
                ((OnBreak.GestionContratos)(target)).Closed += new System.EventHandler(this.MetroWindow_Closed);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 20:
                this.txtNumeroGuardar = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.txtNumeroContrato = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

            #line 70 "..\..\GestionContratos.xaml"
                this.cboTipoEvento.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboTipoEvento_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.cboModalidad = ((System.Windows.Controls.ComboBox)(target));

            #line 71 "..\..\GestionContratos.xaml"
                this.cboModalidad.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboModalidad_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 28:
                this.txtCantidadAsistentes = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 29:
                this.txtCantPersonalAdicional = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

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

            case 31:
                this.dpFechaInicio = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

            case 32:
                this.dpFechaTermino = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

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

            #line 86 "..\..\GestionContratos.xaml"
                this.btnuBuscarRut.Click += new System.Windows.RoutedEventHandler(this.btnuBuscarRut_Click);

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\GestionContratos.xaml"
                this.btnListado.Click += new System.Windows.RoutedEventHandler(this.btnListado_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\GestionContratos.xaml"
                this.btnBuscarNumeroContrato.Click += new System.Windows.RoutedEventHandler(this.btnBuscarNumeroContrato_Click);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\GestionContratos.xaml"
                this.btnListado2.Click += new System.Windows.RoutedEventHandler(this.btnListado2_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.rbVigente = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 39:
                this.ExpExtras = ((System.Windows.Controls.Expander)(target));
                return;

            case 40:
                this.chkVegetariano = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 41:
                this.chkAmbientacion = ((System.Windows.Controls.CheckBox)(target));

            #line 103 "..\..\GestionContratos.xaml"
                this.chkAmbientacion.Checked += new System.Windows.RoutedEventHandler(this.chkAmbientacion_Checked);

            #line default
            #line hidden

            #line 103 "..\..\GestionContratos.xaml"
                this.chkAmbientacion.Unchecked += new System.Windows.RoutedEventHandler(this.chkAmbientacion_Unchecked);

            #line default
            #line hidden
                return;

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

            case 43:
                this.chkMusica = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 44:
                this.chkMusiCli = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 45:
                this.rbnLocalOnBreak = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 46:
                this.rbnLocalOtro = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            #line 112 "..\..\GestionContratos.xaml"
                this.btnCalcular.Click += new System.Windows.RoutedEventHandler(this.btnCalcular_Click);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\GestionContratos.xaml"
                this.btnTerminar.Click += new System.Windows.RoutedEventHandler(this.btnTerminar_Click);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\GestionContratos.xaml"
                this.btnLimpiar.Click += new System.Windows.RoutedEventHandler(this.btnLimpiar_Click);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\GestionContratos.xaml"
                this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.btnGuardar_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.btnSalir = ((System.Windows.Controls.Button)(target));

            #line 120 "..\..\GestionContratos.xaml"
                this.btnSalir.Click += new System.Windows.RoutedEventHandler(this.btnSalir_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.flCliente = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 54:
                this.btnImportar = ((System.Windows.Controls.Button)(target));

            #line 129 "..\..\GestionContratos.xaml"
                this.btnImportar.Click += new System.Windows.RoutedEventHandler(this.btnImportar_Click);

            #line default
            #line hidden
                return;

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

            case 56:
                this.flContrato = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 57:
                this.btnImportar2 = ((System.Windows.Controls.Button)(target));

            #line 151 "..\..\GestionContratos.xaml"
                this.btnImportar2.Click += new System.Windows.RoutedEventHandler(this.btnImportar2_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.dgContrato = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 59:
                this.btnCache = ((System.Windows.Controls.Button)(target));

            #line 183 "..\..\GestionContratos.xaml"
                this.btnCache.Click += new System.Windows.RoutedEventHandler(this.btnCache_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.altoContraste = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 194 "..\..\GestionContratos.xaml"
                this.altoContraste.IsCheckedChanged += new System.EventHandler(this.ToggleSwitch_IsCheckedChanged);

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

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

            #line 21 "..\..\AdministracionContratos.xaml"
                this.txt_numero.LostFocus += new System.Windows.RoutedEventHandler(this.Txt_numero_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\AdministracionContratos.xaml"
                this.btn_buscarContrato.Click += new System.Windows.RoutedEventHandler(this.Btn_buscarContrato_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 7:
                this.dttp_inicioEvento = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

            case 8:
                this.dttp_terminoEvento = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

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

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

            case 12:
                this.cmb_tipoEvento = ((System.Windows.Controls.ComboBox)(target));

            #line 37 "..\..\AdministracionContratos.xaml"
                this.cmb_tipoEvento.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cmb_tipoEvento_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 45 "..\..\AdministracionContratos.xaml"
                this.btn_crear.Click += new System.Windows.RoutedEventHandler(this.Btn_crear_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btn_guardarCambios = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\AdministracionContratos.xaml"
                this.btn_guardarCambios.Click += new System.Windows.RoutedEventHandler(this.Btn_guardarCambios_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\AdministracionContratos.xaml"
                this.btn_terminarContrato.Click += new System.Windows.RoutedEventHandler(this.Btn_terminarContrato_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.dtp_creacion = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 21:
                this.dtp_termino = ((System.Windows.Controls.DatePicker)(target));

            #line 61 "..\..\AdministracionContratos.xaml"
                this.dtp_termino.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dtp_termino_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

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

            case 24:
                this.nup_asistentes = ((MahApps.Metro.Controls.NumericUpDown)(target));

            #line 66 "..\..\AdministracionContratos.xaml"
                this.nup_asistentes.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <double> >(this.Nup_asistentes_ValueChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.nup_personalAdicional = ((MahApps.Metro.Controls.NumericUpDown)(target));

            #line 67 "..\..\AdministracionContratos.xaml"
                this.nup_personalAdicional.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <double> >(this.Nup_personalAdicional_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line 70 "..\..\AdministracionContratos.xaml"
                this.txt_busquedaClienteRut.LostFocus += new System.Windows.RoutedEventHandler(this.Txt_busquedaClienteRut_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\AdministracionContratos.xaml"
                this.btn_buscarCliente.Click += new System.Windows.RoutedEventHandler(this.Btn_buscarCliente_Click);

            #line default
            #line hidden
                return;

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

            case 30:
                this.cmb_modalidadServicio = ((System.Windows.Controls.ComboBox)(target));

            #line 78 "..\..\AdministracionContratos.xaml"
                this.cmb_modalidadServicio.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_modalidadServicio_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\AdministracionContratos.xaml"
                this.btn_anterior.Click += new System.Windows.RoutedEventHandler(this.Btn_anterior_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.btn_siguiente = ((System.Windows.Controls.Button)(target));

            #line 82 "..\..\AdministracionContratos.xaml"
                this.btn_siguiente.Click += new System.Windows.RoutedEventHandler(this.Btn_siguieten_Click);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\AdministracionContratos.xaml"
                this.btn_respaldar.Click += new System.Windows.RoutedEventHandler(this.Btn_respladar_Click);

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

            #line 54 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnLimpiarDatos.Click += new System.Windows.RoutedEventHandler(this.LimpiarDatos_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnRestore.Click += new System.Windows.RoutedEventHandler(this.BtnRestoreBackup);

            #line default
            #line hidden
                return;

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

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

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

            #line 80 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnBuscarContrato.Click += new System.Windows.RoutedEventHandler(this.BtnBuscarContrato_Click);

            #line default
            #line hidden
                return;

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

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

            #line 102 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtRut.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

            case 8:
                this.dpFechaInicio = ((MahApps.Metro.Controls.DateTimePicker)(target));

            #line 107 "..\..\..\Pages\PageAdminContratos.xaml"
                this.dpFechaInicio.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.dpFechaTermino = ((MahApps.Metro.Controls.DateTimePicker)(target));

            #line 112 "..\..\..\Pages\PageAdminContratos.xaml"
                this.dpFechaTermino.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 117 "..\..\..\Pages\PageAdminContratos.xaml"
                this.cboTipoEvento.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.cboModalidad = ((System.Windows.Controls.ComboBox)(target));

            #line 122 "..\..\..\Pages\PageAdminContratos.xaml"
                this.cboModalidad.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CalcularMonto_SelectionChanged);

            #line default
            #line hidden

            #line 122 "..\..\..\Pages\PageAdminContratos.xaml"
                this.cboModalidad.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtCantAsist.KeyUp += new System.Windows.Input.KeyEventHandler(this.CalcularMonto_KeyUp);

            #line default
            #line hidden

            #line 127 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtCantAsist.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 132 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtCantPersonal.KeyUp += new System.Windows.Input.KeyEventHandler(this.CalcularMonto_KeyUp);

            #line default
            #line hidden

            #line 132 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtCantPersonal.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.chkVegetariana = ((System.Windows.Controls.CheckBox)(target));

            #line 136 "..\..\..\Pages\PageAdminContratos.xaml"
                this.chkVegetariana.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

            case 15:
                this.chkMusica = ((System.Windows.Controls.CheckBox)(target));

            #line 139 "..\..\..\Pages\PageAdminContratos.xaml"
                this.chkMusica.Checked += new System.Windows.RoutedEventHandler(this.ChkMusica_Checked);

            #line default
            #line hidden

            #line 139 "..\..\..\Pages\PageAdminContratos.xaml"
                this.chkMusica.Unchecked += new System.Windows.RoutedEventHandler(this.ChkMusica_Unchecked);

            #line default
            #line hidden

            #line 139 "..\..\..\Pages\PageAdminContratos.xaml"
                this.chkMusica.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line 144 "..\..\..\Pages\PageAdminContratos.xaml"
                this.cboAmbientacion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CalcularMonto_SelectionChanged);

            #line default
            #line hidden

            #line 144 "..\..\..\Pages\PageAdminContratos.xaml"
                this.cboAmbientacion.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 150 "..\..\..\Pages\PageAdminContratos.xaml"
                this.cboLocal.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboLocal_SelectionChanged);

            #line default
            #line hidden

            #line 150 "..\..\..\Pages\PageAdminContratos.xaml"
                this.cboLocal.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 156 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtMontoArriendo.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden

            #line 156 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtMontoArriendo.KeyUp += new System.Windows.Input.KeyEventHandler(this.CalcularMonto_KeyUp);

            #line default
            #line hidden
                return;

            case 20:
                this.txtObservaciones = ((System.Windows.Controls.TextBox)(target));

            #line 161 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtObservaciones.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

            case 21:
                this.chkRealizado = ((System.Windows.Controls.CheckBox)(target));

            #line 165 "..\..\..\Pages\PageAdminContratos.xaml"
                this.chkRealizado.LostFocus += new System.Windows.RoutedEventHandler(this.Backup_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line 179 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnRespaldar.Click += new System.Windows.RoutedEventHandler(this.BtnBackup);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnRegistrarContrato.Click += new System.Windows.RoutedEventHandler(this.BtnRegistrarContrato_Click);

            #line default
            #line hidden
                return;

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

            #line 197 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnModificarContrato.Click += new System.Windows.RoutedEventHandler(this.BtnModificarContrato_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btnFinalizarContrato = ((System.Windows.Controls.Button)(target));

            #line 206 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnFinalizarContrato.Click += new System.Windows.RoutedEventHandler(this.BtnFinalizarContrato_Click);

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

            #line 53 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnLimpiarDatos.Click += new System.Windows.RoutedEventHandler(this.LimpiarDatos_Click);

            #line default
            #line hidden
                return;

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

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

            #line 74 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnBuscarContrato.Click += new System.Windows.RoutedEventHandler(this.BtnBuscarContrato_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\..\Pages\PageAdminContratos.xaml"
                this.cboModalidad.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboModalidad_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtCantAsist.KeyUp += new System.Windows.Input.KeyEventHandler(this.TxtCantAsist_KeyUp);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\..\Pages\PageAdminContratos.xaml"
                this.txtCantPersonal.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtCantPersonal_KeyUp);

            #line default
            #line hidden
                return;

            case 11:
                this.dpFechaInicio = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

            case 12:
                this.dpFechaTermino = ((MahApps.Metro.Controls.DateTimePicker)(target));
                return;

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

            case 14:
                this.chkRealizado = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 146 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnRegistrarContrato.Click += new System.Windows.RoutedEventHandler(this.BtnRegistrarContrato_Click);

            #line default
            #line hidden
                return;

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

            #line 155 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnModificarContrato.Click += new System.Windows.RoutedEventHandler(this.BtnModificarContrato_Click);

            #line default
            #line hidden
                return;

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

            #line 163 "..\..\..\Pages\PageAdminContratos.xaml"
                this.btnFinalizarContrato.Click += new System.Windows.RoutedEventHandler(this.BtnFinalizarContrato_Click);

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