private void btnCrearGasolineria_Click(object sender, EventArgs e)
        {
            FormAgregarGasolineria fm         = new FormAgregarGasolineria(user, "agregar", -1);
            DialogResult           DialogForm = fm.ShowDialog();

            if (fm.Valor != string.Empty)
            {
                cargarTodasLasGasolinerias();
                mostrarLabelStatus(fm.Valor, true);
            }
        }
 private void btnEditarGasolineria_Click(object sender, EventArgs e)
 {
     if (filaSeleccionada >= 0)
     {
         FormAgregarGasolineria fm         = new FormAgregarGasolineria(user, "editar", int.Parse(dgvGasolinerias["idGasolineria", filaSeleccionada].Value.ToString()));
         DialogResult           DialogForm = fm.ShowDialog();
         if (fm.Valor != string.Empty)
         {
             cargarTodasLasGasolinerias();
             mostrarLabelStatus(fm.Valor, true);
         }
     }
 }