コード例 #1
0
 private void btnEncoderConfig_Click(object sender, EventArgs e)
 {
     using (ApplicationSettingsForm form = new ApplicationSettingsForm())
     {
         form.SelectProfilesTab();
         form.ShowDialog();
         UpdateVideoEncoders();
     }
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: Z1ni/ShareX
        private void tsbApplicationSettings_Click(object sender, EventArgs e)
        {
            using (ApplicationSettingsForm settingsForm = new ApplicationSettingsForm())
            {
                settingsForm.ShowDialog();
            }

            AfterSettingsJobs();
            Program.Settings.SaveAsync(Program.ApplicationConfigFilePath);

            Program.ConfigureUploadersConfigWatcher();
        }