private void nuevo_Click(object sender, EventArgs e) { AEEMarca we = new AEEMarca(); we.saveboton.Visible = true; we.labelsave.Visible = true; we.gencode.Visible = true; we.ShowDialog(); }
private void eliminar_Click(object sender, EventArgs e) { AEEMarca am = new AEEMarca(); am.titulolabel.Text = "Eliminar Marca"; am.buscarboton.Visible = true; am.deleteboton.Visible = true; am.labeldelete.Visible = true; am.textcod.Text = codUser.ToString(); am.textcod.ForeColor = SystemColors.WindowText; am.textcod.Font = new Font(am.textcod.Font, FontStyle.Regular); am.ShowDialog(); }
private void editar_Click(object sender, EventArgs e) { AEEMarca ae = new AEEMarca(); ae.titulolabel.Text = "Modificar Marca"; ae.buscarboton.Visible = true; ae.btnEdit.Visible = true; ae.labeledit.Visible = true; ae.textcod.Text = codUser.ToString(); ae.textcod.ForeColor = SystemColors.WindowText; ae.textcod.Font = new Font(ae.textcod.Font, FontStyle.Regular); ae.ShowDialog(); }
private void nuevaMarcaToolStripMenuItem_Click(object sender, EventArgs e) { AEEMarca am = new AEEMarca(); am.ShowDialog(); }