示例#1
0
        private void buttonSettings_Click(object sender, EventArgs e)
        {
            if (mConverter == null)
            {
                return;
            }
            if (mConvertSettings.ShowDialog() == DialogResult.OK)
            {
                mThreadCount    = mConvertSettings.ThreadCount;
                mThreadPriority = mConvertSettings.ThreadPrority;
                mLogLevel       = mConvertSettings.LogLevel;
                mLogPath        = mConvertSettings.LogPath;
                mPreview        = mConvertSettings.Preview;

                if (mConverter != null)
                {
                    mConverter.Preview = mPreview;
                }
            }
        }
示例#2
0
文件: Main.cs 项目: ORRNY66/GS
        private void buttonSettings_Click(object sender, EventArgs e)
        {
            if (mConverter == null)
            {
                return;
            }
            if (mConvertSettings.ShowDialog() == DialogResult.OK)
            {
                mThreadCount = mConvertSettings.ThreadCount;
                mThreadPriority = mConvertSettings.ThreadPrority;
                mLogLevel = mConvertSettings.LogLevel;
                mLogPath = mConvertSettings.LogPath;
                mPreview = mConvertSettings.Preview;

                if (mConverter != null)
                {
                    mConverter.Preview = mPreview;
                }
            }
        }