コード例 #1
0
        private void AddNewSubsectionButton_Click(object sender, RoutedEventArgs e)
        {
            if (NewSubsectionNameTextBox.Text.Trim() == string.Empty)
            {
                return;
            }

            _cc.AddWorkSubsection(Convert.ToInt32(WorkSectionsListBox.SelectedValue), NewSubsectionNameTextBox.Text);

            NewSubsectionNameTextBox.Text = string.Empty;

            AddNewSubsectionGrid.Visibility = Visibility.Hidden;

            AdministrationClass.AddNewAction(26);
        }