Exemplo n.º 1
0
        private void CreateNewLector()
        {
            EditLectorDialog editLector = new EditLectorDialog(client);
            editLector.ShowDialog();

            if (editLector.lector != null)
            {
                RecreateSeminarsTree();
            }
        }
Exemplo n.º 2
0
        private void lectorsListBox_DoubleClick(object sender, EventArgs e)
        {
            var lector = lectorsListBox.SelectedItem as Lector;
            if (lector == null)
                return;

            EditLectorDialog editLector = new EditLectorDialog(client, lector);
            editLector.ShowDialog();

            RecreateSeminarsTree();
        }