private void btnCrear_Click(object sender, EventArgs e) { /*OpenChildForm(new Views.Tipos_Combustibles.frmTipos_Combustibles());*/ Views.Tipos_Combustibles.frmTipos_Combustibles oFrmTipos_Combustibles = new Views.Tipos_Combustibles.frmTipos_Combustibles(); oFrmTipos_Combustibles.ShowDialog(); Refresh(); }
private void btnEditar_Click(object sender, EventArgs e) { int?Id_Tipos_Combustible = GetId(); if (Id_Tipos_Combustible != null) { /*OpenChildForm(new Views.Tipos_Combustibles.frmTipos_Combustibles(Id_Tipos_Combustible));*/ Views.Tipos_Combustibles.frmTipos_Combustibles oFrmTipos_Combustibles = new Views.Tipos_Combustibles.frmTipos_Combustibles(Id_Tipos_Combustible); oFrmTipos_Combustibles.ShowDialog(); Refresh(); } }