示例#1
0
文件: MainWindow.cs 项目: pigovsky/T3
        private void CreateNewLector()
        {
            EditLectorDialog editLector = new EditLectorDialog(client);
            editLector.ShowDialog();

            if (editLector.lector != null)
            {
                RecreateSeminarsTree();
            }
        }
示例#2
0
文件: MainWindow.cs 项目: pigovsky/T3
        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();
        }