private void saveJobFileToolStripMenuItem_Click(object sender, EventArgs e)
{
if (saveFileJob.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
if (string.IsNullOrEmpty(saveFileJob.FileName))
{
MessageBox.Show("No file provided", "Unable to save job file");
return;
}
// if it's not cancelled
txtJobFilePath.Text = saveFileJob.FileName;
this.GatherInputs(true); //gather all the settings
FormController.Instance.JobInstance.SaveJobFile(txtJobFilePath.Text);
}
}