Esempio n. 1
0
        private void RenameSection()
        {
            string name = SectionName.GetSectionName(CurrentSection.Name);

            if (name != string.Empty)
            {
                CurrentSection.Name = name;
                UpdateDisplayedProject();
            }
        }
Esempio n. 2
0
        private void AddSection()
        {
            string name = SectionName.GetSectionName();

            if (name != string.Empty)
            {
                Section s = new Section(mProject, name);
                mProject.Sections.Add(s);
                UpdateDisplayedProject();
                CurrentSection = s;
            }
        }
Esempio n. 3
0
        private void DuplicateSection()
        {
            string name = SectionName.GetSectionName();

            if (name != string.Empty)
            {
                Section s = CurrentSection.Clone();
                s.Name = name;
                mProject.Sections.Add(s);

                UpdateDisplayedProject();
                CurrentSection = s;
            }
        }