示例#1
0
        private void dodajKlientaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FmKlientDetails fmKlientDetails = new FmKlientDetails();

            fmKlientDetails.ShowDialog();
            dgvKlienci.DataSource = _dal.GetList();
        }
示例#2
0
        private void dgvKlienci_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            var             selected        = ((DataGridView)sender).SelectedRows[0].DataBoundItem as Klienci;
            FmKlientDetails fmKlientDetails = new FmKlientDetails(selected);

            fmKlientDetails.ShowDialog();
            dgvKlienci.DataSource = _dal.GetList();
        }