Exemplo n.º 1
0
        private void TranslationAssistant()
        {
            if (openFile.Equals(newFileName))
                SaveScriptAs();

            mediaControl.Pause();

            //oldOpenFileVideoFrame = FrameIndex;
            oldVideoInfo = videoInfo;
            oldVideoInfo.FrameIndex = FrameIndex; // ¿redundante?
            //oldOpenFileVideo = openFileVideo;
            closeVid();

            if (gridASS.Rows.Count <= 0) insertLineInRow(0);

            translateW tW = new translateW(this, oldVideoInfo);
            IsModified = true;
            tW.ShowDialog();
            //this.Enabled = false;
        }
Exemplo n.º 2
0
 public translateW_T(string uri, WebBrowser wb, translateW tw)
 {
     u = new Uri(uri, UriKind.Absolute);
     w = wb;
     t = tw;
 }