private void BUT_start_Click(object sender, EventArgs e)
{
saveconfig();
try
{
if (m_mediaCtrl != null)
m_mediaCtrl.Stop();
}
catch
{
}
try
{
frame = framecount;
if (th != null)
th.Abort();
}
catch
{
}
try
{
newManager =
new AviManager(
System.IO.Path.GetDirectoryName(txtAviFileName.Text) + System.IO.Path.DirectorySeparatorChar +
System.IO.Path.GetFileNameWithoutExtension(txtAviFileName.Text) + "-overlay.avi", false);
}
catch
{
CustomMessageBox.Show(Strings.InvalidFileName, Strings.ERROR);
return;
}
//newManager.Close();
startup();
this.MaximumSize = this.Size;
this.MinimumSize = this.Size;
}