private void TsbEditar_Click(object sender, EventArgs e) { var color = colorBindingSource.Current as Color; _vista = new VistaCrearYEditarColores(false, color); _vista.EditarColorAceptarClicked += EditarColorAceptarClicked; _vista.ShowDialog(); }
private void TsbAgregar_Click(object sender, EventArgs e) { var color = colorBindingSource.Current as Color; _vista = new VistaCrearYEditarColores(true, color); _vista.AgregarColorAceptarClicked += AgregarColorAceptarClicked; _vista.Show(); }