Пример #1
0
        private void new_Section_Click(object sender, EventArgs e)
        {
            var section = new FormSection();

            section.ShowDialog();

            if (section.DialogResult != DialogResult.Cancel)
            {
                Resources.littleChefs.ControlClass.createSection(section.getSection(), new Course("sample"));
            }
        }