private void simpleButton4_Click(object sender, EventArgs e)
{
// show a savefile dialog
m_createNewFile = true;
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "Binary files|*.bin";
if (sfd.ShowDialog() == DialogResult.OK)
{
// copt ori to
m_fileNameToSave = sfd.FileName;
m_createNewFile = true;
this.Close();
}
}