예제 #1
0
        private void TsbEditar_Click(object sender, EventArgs e)
        {
            var color = colorBindingSource.Current as Color;

            _vista = new VistaCrearYEditarColores(false, color);
            _vista.EditarColorAceptarClicked += EditarColorAceptarClicked;
            _vista.ShowDialog();
        }
예제 #2
0
        private void TsbAgregar_Click(object sender, EventArgs e)
        {
            var color = colorBindingSource.Current as Color;

            _vista = new VistaCrearYEditarColores(true, color);
            _vista.AgregarColorAceptarClicked += AgregarColorAceptarClicked;
            _vista.Show();
        }