private void BtnNuevo_Click(object sender, EventArgs e) { Resources.crud ocrud = new Resources.crud(); ocrud.ShowDialog(); refrescar(); }
private void TxtEditar_Click(object sender, EventArgs e) { int?id = getid(); if (id != null) { Resources.crud ofrmtabla = new Resources.crud(id); ofrmtabla.ShowDialog(); refrescar(); } }