예제 #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.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();
        }
예제 #2
0
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            //設定ファイルの保存
            JsonPref pref = new JsonPref();

            pref.SetPoint("Point", this.Location);
            pref.Save();
        }
예제 #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.SetPoint("Point", this.Location);
            pref.SetBoolArray("WizLimit", this.LimitValues);
            pref.SetString("PictureFolder", wizPictureBox1.PicureFolderPath);
            pref.Save();
        }
예제 #4
0
        //********************************************************************
        public void SavePref()
        {
            JsonPref pref = new JsonPref("pf");

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

            pref.Save();
        }
예제 #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.SetStringArray("Undo", UndoList.ToArray());
            pref.Save();
        }
예제 #6
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("FilePath", refrainSaveFile1.FilePath);
            pref.Save();
        }
예제 #7
0
파일: Form1.cs 프로젝트: bryful/AepSelector
        //-------------------------------------------------------------
        /// <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("Afx", m_ae.AfxPath);
            pref.Save();
        }
예제 #8
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.SetIntArray("IntArray", new int[] { 8, 9, 7 });
            pref.Save();
        }
예제 #9
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("Path", m_path);
            pref.SetStringArray("Ext", m_TargetExt.Exts);
            pref.Save();
        }
예제 #10
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();
        }
예제 #11
0
        //--------------------------------------------------------------------------------------
        public void PrefSave()
        {
            //設定ファイルの保存
            JsonPref pref = new JsonPref();

            pref.SetPoint("Point", this.Location);
            pref.SetInt("Height", this.Height);
            pref.SetIntArray("ParamsInt", tsGrid1.tsd.ParamsInt);
            pref.SetBoolArray("ParamsBool", tsGrid1.tsd.ParamsBool);
            pref.SetIntArray("Colors", tsGrid1.cols.ColorInt);
            pref.SetIntArray("Keys", tsGrid1.funcs.FuncTableAll);
            pref.Save();
        }
예제 #12
0
파일: Form1.cs 프로젝트: MaxSteven/AE_utils
        //-------------------------------------------------------------
        /// <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();
        }
예제 #13
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("ExportFile", ExportFile);
            pref.Save();

            string appName   = Path.GetFileNameWithoutExtension(Application.ExecutablePath);
            string _filePath = Path.Combine(Application.UserAppDataPath, appName + "_exp.json");

            ExportExp(_filePath);
        }
예제 #14
0
파일: Form1.cs 프로젝트: bryful/AE_sdk_util
        // *****************************************************************************************
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            string filePath = Path.Combine(Application.UserAppDataPath, "AE_Effect.json");

            aE_Effect1.Export(filePath);

            //設定ファイルの保存
            JsonPref pref = new JsonPref();

            pref.SetSize("Size", this.Size);
            pref.SetPoint("Point", this.Location);
            pref.SetInt("SplitDistance1", splitContainer1.SplitterDistance);
            pref.SetInt("SplitDistance2", splitContainer2.SplitterDistance);
            pref.SetInt("SplitDistance3", splitContainer3.SplitterDistance);
            pref.Save();
        }
예제 #15
0
파일: Form1.cs 프로젝트: bryful/ffmpeg_ui
        //-------------------------------------------------------------
        /// <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();
        }
예제 #16
0
파일: Form1.cs 프로젝트: bryful/ffmpeg_ui
        //-------------------------------------------------------------
        /// <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();
        }
예제 #17
0
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            //設定ファイルの保存
            JsonPref pref = new JsonPref();

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

            pref.SetInt("opt", (int)ctsScomp1.Option);
            pref.SetString("exe", ctsScomp1.CTSSPath);
            pref.SetString("pdb", ctsScomp1.PdbPath);
            pref.SetString("optFile", ctsScomp1.OptionFilePath);
            pref.Save();

            if (rform != null)
            {
                rform.Close();
            }
        }