private void createX264BatchFileToolStripMenuItem_Click(object sender, EventArgs e)
{
try
{
DialogResult result = MessageBox.Show("Create x264 batch file?", "Start Process?", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2);
if (result == System.Windows.Forms.DialogResult.Yes)
{
_batchGuyEAC3ToSettings.X264Files = this.GetX264Files();
_batchGuyEAC3ToSettings.X264FileSettings = this.GetX264FileSettings();
if (this.IsScreenValidForWriteX264BatchFile())
{
this.CreateX264BatFile();
}
}
}
catch (Exception ex)
{
_displayErrorMessageService.DisplayError(new ErrorMessage() { DisplayMessage = "There was a problem trying to create the x264 batch file!", DisplayTitle = "Error.", Exception = ex, MethodNameWhereExceptionOccurred = MethodBase.GetCurrentMethod().Name });
}
}