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

            _navigationService.ShowDetailsUC(ucDetails);
        }
Exemple #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);
        }