示例#1
0
        private void OnAddButtonClick(object sender, RoutedEventArgs e)
        {
            if (AdditOperationsNameTextBox.Text.Trim() == string.Empty)
            {
                return;
            }

            _cc.AddAdditOperation(AdditOperationsNameTextBox.Text.Trim());
            _cc.SaveWorkOperation();

            AdditOperationsNameTextBox.Text = string.Empty;
            HideEditGrid();
        }