/// <summary> /// On MainForm Load /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private async void FormMain_Load(object sender, EventArgs e) { FormMain_Resize(sender, e); formOptions = new FormOptions(); await Updater.CheckAsync(linkGithub.Text); // Just to load in the settings formOptions.Opacity = 0; formOptions.Show(); formOptions.Hide(); formOptions.Opacity = 100; // Remember window size var size = formOptions.getWindowSize(); if (size.Height > 1 && size.Width > 1) { Size = size; } // Check for FFmpeg otherwise warn the user if (!File.Exists(Properties.Settings.Default.FFmpegPath)) { MessageBox.Show("FFmpeg.exe does not exist, nothing will work properly. Please specify it's location in Options. " + Environment.NewLine + Environment.NewLine + "You can download it by clicking the FFmpeg link on the main form.", "FFmpeg Missing!", MessageBoxButtons.OK, MessageBoxIcon.Error); } // Set FPS from previous numericUpDownFramerate.Value = Properties.Settings.Default.Framerate; }
private void FormMain_Load(object sender, EventArgs e) { Text += " " + linkGithub.Text; sText = Text; formOptions = new FormOptions(); // Just to load in the settings formOptions.Opacity = 0; formOptions.Show(); formOptions.Hide(); formOptions.Opacity = 100; // Check for FFmpeg otherwise warn the user if (!File.Exists(Properties.Settings.Default.FFmpegPath)) { MessageBox.Show("FFmpeg.exe does not exist, nothing will work properly. Please specify it's location in Options. " + Environment.NewLine + Environment.NewLine + "You can download it by clicking the FFmpeg link on the main form.", "FFmpeg Missing!", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
/// <summary> /// On MainForm Load /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private async void FormMain_Load(object sender, EventArgs e) { FormMain_Resize(sender, e); formOptions = new FormOptions(); await Updater.CheckAsync(linkGithub.Text); // Just to load in the settings formOptions.Opacity = 0; formOptions.Show(); formOptions.Hide(); formOptions.Opacity = 100; // Check for FFmpeg otherwise warn the user if (!File.Exists(Properties.Settings.Default.FFmpegPath)) MessageBox.Show("FFmpeg.exe does not exist, nothing will work properly. Please specify it's location in Options. " + Environment.NewLine + Environment.NewLine + "You can download it by clicking the FFmpeg link on the main form.", "FFmpeg Missing!", MessageBoxButtons.OK, MessageBoxIcon.Error); // Set FPS from previous numericUpDownFramerate.Value = Properties.Settings.Default.Framerate; }