Beispiel #1
0
        //-------------------------------------------------------------
        /// <summary>
        /// フォームが閉じられた時
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            //設定ファイルの保存
            JsonPref pref = new JsonPref();

            pref.SetSize("Size", this.Size);
            pref.SetPoint("Point", this.Location);
            pref.SetBool("IsFront", m_navBar.IsFront);
            pref.SetString("PalettePath", PalettePath);
            pref.SetBool("IsLocked", m_ColorBoxs.IsLocked);
            pref.SetBool("IsLocked2", lock2ToolStripMenuItem.Checked);
            pref.Save();
            m_ColorBoxs.Save();
        }
Beispiel #2
0
        //-------------------------------------------------------------
        /// <summary>
        /// フォームが閉じられた時
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            //設定ファイルの保存
            JsonPref pref = new JsonPref();

            pref.SetPoint("Point", this.Location);

            pref.SetString("TargetDir", iconButtonList1.TargetDir);
            pref.SetSize("ButtonSize", iconButtonList1.ButtonSize);

            int[] cols = new int[3];
            cols[0] = iconButtonList1.ForeColor.ToArgb();
            cols[1] = iconButtonList1.BackColor.ToArgb();

            pref.SetIntArray("Color", cols);

            pref.SetString("Font", iconButtonList1.Font.Name);
            pref.SetDouble("FontSize", (double)iconButtonList1.Font.Size);
            pref.SetInt("FontStyle", (int)iconButtonList1.Font.Style);


            pref.SetBool("RelativePath", iconButtonList1.RelativePath);

            pref.Save();

            iconButtonList1.BackupStore();
        }
Beispiel #3
0
        //-------------------------------------------------------------
        /// <summary>
        /// フォームが閉じられた時
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            //設定ファイルの保存
            JsonPref pref = new JsonPref();

            pref.SetSize("Size", this.Size);
            pref.SetPoint("Point", this.Location);
            pref.SetString("OutputPath", ffmpeg_ctrl1.OutputPath);
            pref.SetBool("IsSameDir", ffmpeg_ctrl1.IsSameDir);
            pref.SetInt("CRF", ffmpeg_ctrl1.CRF);
            pref.SetInt("JobCount", ffmpeg_ctrl1.JobCount);
            pref.SetBool("IsDNxHD", ffmpeg_ctrl1.IsDNxHD);
            pref.SetInt("DNxHD_STYLE", (int)ffmpeg_ctrl1.DNxHD_STYLE);

            pref.Save();
        }
Beispiel #4
0
        //-------------------------------------------------------------
        /// <summary>
        /// フォームが閉じられた時
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            //設定ファイルの保存
            JsonPref pref = new JsonPref();

            pref.SetSize("Size", this.Size);
            pref.SetPoint("Point", this.Location);

            pref.SetString("WatchFolder", m_WatchFolder);
            pref.SetBool("IsStartup", m_IsStartup);
            pref.Save();
        }
Beispiel #5
0
        //-------------------------------------------------------------
        /// <summary>
        /// フォームが閉じられた時
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            //設定ファイルの保存
            JsonPref pref = new JsonPref();

            pref.SetSize("Size", this.Size);
            pref.SetPoint("Point", this.Location);
            pref.SetString("ffmpeg", sequenceFileTo1.ffmpegPath);
            pref.SetString("FrameRate", sequenceFileTo1.FRAME_RATE_STR);
            pref.SetString("Codec", sequenceFileTo1.MOVIE_CODEC_STR);
            pref.SetString("SequenceFile", sequenceFileTo1.SequenceFile);
            pref.SetString("ExportDir", sequenceFileTo1.ExportDir);
            pref.SetString("SoundFile", sequenceFileTo1.SoundFile);
            pref.SetBool("IsSound", sequenceFileTo1.IsSound);

            pref.Save();
        }