Exemplo n.º 1
0
        private void pbOut_Click(object sender, EventArgs e)
        {
            string title = TextKit.selectVideoText;
            //获取文件路路径
            string videoPath = FileKit.select(title);

            if (string.IsNullOrEmpty(videoPath))
            {
                return;
            }
            pbOutPath = videoPath;
            string prewPic = VideoHandleKit.getPrewPic(videoPath);

            if (FileKit.isexist(prewPic))
            {
                this.pbOut.Load(prewPic);
            }
            else
            {
                MessageBox.Show(TextKit.thrumnailNotFoundMsg);
            }
        }