private void btnMeterEnService_Click(object sender, EventArgs e)
        {
            try
            {
                DataGridViewRow row = this.dgElectrodomesticos.SelectedRows[0];

                int  tipoAux          = Electrodomestico.MapearTipoAInt((string)row.Cells[2].Value);
                int  idAux            = Convert.ToInt32(row.Cells[1].Value);
                bool tieneGarantiaAux = Convert.ToBoolean(Convert.ToInt32(row.Cells[0].Value));


                Electrodomestico auxElectrodomestico = new Electrodomestico
                                                           (idAux,
                                                           tipoAux,
                                                           tieneGarantiaAux
                                                           );
                FrmAltaServicio frm = new FrmAltaServicio();

                if (frm.ShowDialog() == DialogResult.OK)
                {
                    Taller <Electrodomestico> .PonerEnService(auxElectrodomestico, frm.GetServicio);

                    if (!this.hilo1.IsAlive)
                    {
                        this.hilo1.Start();
                    }
                }
            }
            catch (Exception a)
            {
                MessageBox.Show(a.Message);
            }
        }
        private void btnMeterEnService_Click(object sender, EventArgs e)
        {
            try
            {
                DataGridViewRow row = this.dgElectrodomesticos.SelectedRows[0];

                int  tipoAux          = Electrodomestico.MapearTipoAInt((string)row.Cells[2].Value);
                int  idAux            = Convert.ToInt32(row.Cells[1].Value);
                bool tieneGarantiaAux = Convert.ToBoolean(Convert.ToInt32(row.Cells[0].Value));


                Electrodomestico auxElectrodomestico = new Electrodomestico
                                                           (idAux,
                                                           tipoAux,
                                                           tieneGarantiaAux
                                                           );
                FrmAltaServicio frm = new FrmAltaServicio();

                if (frm.ShowDialog() == DialogResult.OK)
                {
                    Taller <Electrodomestico> .PonerEnService(auxElectrodomestico, frm.GetServicio);

                    this.txtService.Text     = Taller <Electrodomestico> .GetUltimoEnCola;
                    this.lblTotalEnCola.Text = Taller <Electrodomestico> .GetCantidadEnCola.ToString();

                    this.lblTotal.Text = Taller <Electrodomestico> .GetRecaudado.ToString();
                }
            }
            catch (BaseDeDatosException a)
            {
                MessageBox.Show(a.RetornarMensaje());
            }
        }