Exemple #1
0
        private void addChineseToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ImageHelper.AddImageSignPic(movieDate.ThumbPicPath, movieDate.ThumbPicPath, System.Environment.CurrentDirectory + @"\img\sub.png", 1, 100, 10);
            ImageHelper.AddImageSignPic(movieDate.PosterPicPath, movieDate.PosterPicPath, System.Environment.CurrentDirectory + @"\img\sub.png", 1, 100, 10);
            pictureBoxCover.LoadAsync(movieDate.ThumbPicPath);
            DirectoryInfo dir = new DirectoryInfo(movieDate.Path);

            FileInfo[] fileInfo = dir.GetFiles("*.nfo");
            foreach (FileInfo item in fileInfo)
            {
                XmlHelper.AddXmlChildNode(item.FullName, "tag", "中文字幕");
            }
        }