/// <summary>
        /// Save
        /// </summary>
        private void CmdSave()
        {
            var cfg        = CopyrightCore.CurrentStoreConfig;
            var selectItem = lbType.SelectedItem.ToString();
            var it         = cfg.GetItemByKey(selectItem);

            if (it != null)
            {
                it.Content = txtContent.Text;
            }
            cfg.CompanyName   = txtCompanyName.Text.Trim();
            cfg.YourName      = txtYourName.Text.Trim();
            cfg.IsInsertToTop = cbIsInsertToTop.IsChecked == true;
            var tf = txtTimeFormat.Text.Trim();

            if (!string.IsNullOrEmpty(tf))
            {
                try
                {
                    var t = DateTime.Now.ToString(tf);
                }
                catch
                {
                    MessageBox.Show(Properties.Resources.Err_TimeFormat);
                    return;
                }
            }
            cfg.TimeFormat = tf;

            CopyrightCore.Save();
        }
 public void TestSave()
 {
     CopyrightCore.Save();
 }