Пример #1
0
        private void dgvMarcas_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var row = this.dgvMarcas.SelectedRows[0].DataBoundItem as Marcas;
            var fm  = new frmEdMarcas(row);

            fm.ShowDialog();
        }
Пример #2
0
        private void btnAgregar_Click(object sender, EventArgs e)
        {
            var frmEdMarcas = new frmEdMarcas();

            frmEdMarcas.ShowDialog();
        }