Beispiel #1
0
        private void OutputDirMenuItem_Click(object sender, EventArgs e)
        {
            this.BeforeDialog();

            using (InputDirDlg f = new InputDirDlg())
            {
                f.DirKindTitle = "出力先フォルダ";
                f.Dir          = Ground.I.OutputDir;
                f.Dir無かったら作成する = true;

                f.ShowDialog();

                if (f.OkPressed)
                {
                    Ground.I.OutputDir = f.Dir;
                }
            }

            this.AfterDialog();
        }
Beispiel #2
0
        private void Default映像用の画像MenuItem_Click(object sender, EventArgs e)
        {
            this.BeforeDialog();

            using (InputDirDlg f = new InputDirDlg())
            {
                f.DirKindTitle     = "デフォルトの「映像用の画像」";
                f.Dir              = Ground.I.DefaultImageFile;
                f.Dirじゃなくて読み込みファイル = true;

                f.ShowDialog();

                if (f.OkPressed)
                {
                    Ground.I.DefaultImageFile = f.Dir;
                }
            }

            this.AfterDialog();
        }
Beispiel #3
0
        private void ffmpegの場所ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.BeforeDialog();

            using (InputDirDlg f = new InputDirDlg())
            {
                f.DirKindTitle = "ffmpegのフォルダ";
                f.Dir          = Ground.I.FFmpegDir;
                f.SubMessage   = "例) C:\\app\\ffmpeg-4.1.3-win64-shared";

                f.ShowDialog();

                if (f.OkPressed)
                {
                    Ground.I.FFmpegDir = f.Dir;
                }
            }

            this.AfterDialog();
        }