public static FormEditarHabitacion GetInstancia()
 {
     if (_Instancia == null)
     {
         _Instancia = new FormEditarHabitacion();
     }
     return(_Instancia);
 }
        private void btnEditar_Click(object sender, EventArgs e)
        {
            foreach (DataGridViewRow row in dataListado.Rows)
            {
                if (Convert.ToBoolean(row.Cells[0].Value))
                {
                    FormEditarHabitacion form = FormEditarHabitacion.GetInstancia();
                    string par1, par2, par3, par4, par5, par6;

                    par1 = Convert.ToString(row.Cells[1].Value);
                    par2 = Convert.ToString(row.Cells[2].Value);
                    par3 = Convert.ToString(row.Cells[3].Value);
                    par4 = Convert.ToString(row.Cells[4].Value);
                    par5 = Convert.ToString(row.Cells[5].Value);
                    par6 = Convert.ToString(row.Cells[6].Value);

                    form.SetHabitacion(par1, par2, par3, par4, par5, par6);
                    form.ShowDialog();
                }
            }
        }