private void Tile_alter_mesa_Click(object sender, RoutedEventArgs e)
        {
            ModificarMesa am = new ModificarMesa();

            am.Owner = this;
            am.lb_nombreusuario.Content = lb_nombreusuario.Content;
            am.ShowDialog();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.windModmesa = ((restaurantexxi_adminstrador.ModificarMesa)(target));

            #line 9 "..\..\ModificarMesa.xaml"
                this.windModmesa.Loaded += new System.Windows.RoutedEventHandler(this.WindModmesa_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 17 "..\..\ModificarMesa.xaml"
                this.txt_numeromesa.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_numeromesa_GotFocus);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\ModificarMesa.xaml"
                this.cbb_sala.GotFocus += new System.Windows.RoutedEventHandler(this.ComboBox_GotFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.ComedorPrincipal = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 6:
                this.Terraza = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.Terraza2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 23 "..\..\ModificarMesa.xaml"
                this.txt_capacidad.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_capacidad_GotFocus);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\ModificarMesa.xaml"
                this.btn_altermesa.Click += new System.Windows.RoutedEventHandler(this.Btn_altermesa_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\ModificarMesa.xaml"
                this.btn_volver.Click += new System.Windows.RoutedEventHandler(this.Btn_volver_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 32 "..\..\ModificarMesa.xaml"
                this.dtg_ComedorPrincipal.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dtg_ComedorPrincipal_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\ModificarMesa.xaml"
                this.dtg_Terra.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dtg_Terra_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\ModificarMesa.xaml"
                this.dtg_Terra2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dtg_Terra2_SelectionChanged);

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