Пример #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;
                }
            }
        }