Exemple #1
0
        public string RefreshTitle(string title)
        {
            string result = title;

            if (chbAddArtist.Checked)
            {
                result = Functions.AddArtist(result, tbArtist.Text);
            }
            if (chbRemoveNum.Checked)
            {
                result = Functions.RemoveNumber(result);
            }
            if (chbTranslit.Checked)
            {
                result = Functions.Translit(result);
            }
            if (chbReplace.Checked)
            {
                result = Functions.Replacer(result, tbFirst_String.Text, tbSecond_String.Text);
            }
            if (chbDef.Checked == true)
            {
                result = Functions.StrTrans(result);
            }
            return(result);
        }