Ejemplo n.º 1
0
        private void btnNewLC_Click(object sender, EventArgs e)
        {
            UserControl ucDetails = new ucLocalCommitteeDetails()
            {
                Dock = DockStyle.Fill
            };

            _navigationService.ShowDetailsUC(ucDetails);
        }
Ejemplo n.º 2
0
        private void dgvLocalCommittees_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            //var id = dgvLocalCommittees.CurrentRow.Cells[Name = "Id"].Value.ToString();
            LocalCommittee item      = (LocalCommittee)dgvLocalCommittees.CurrentRow.DataBoundItem;
            UserControl    ucDetails = new ucLocalCommitteeDetails(item.Id)
            {
                Dock = DockStyle.Fill
            };

            _navigationService.ShowDetailsUC(ucDetails);
        }