private void btnadd_Click(object sender, EventArgs e)
        {
            FrmAddTipoCombustible frm = new FrmAddTipoCombustible();

            this.Hide();
            frm.ShowDialog();
        }
        private void btnedit_Click(object sender, EventArgs e)
        {
            int rowindex              = datagridcombustible.CurrentCell.RowIndex;
            int columnindex           = datagridcombustible.CurrentCell.ColumnIndex;
            FrmAddTipoCombustible fed = new FrmAddTipoCombustible();

            this.Hide();
            fed.values = Int32.Parse(datagridcombustible.Rows[rowindex].Cells[columnindex].Value.ToString());
            fed.ShowDialog();
        }