private btnProduceLatestBinary_ItemClick ( object sender, ItemClickEventArgs e ) : void | ||
sender | object | |
e | ItemClickEventArgs | |
return | void |
private void btnProduceLatestBinary_ItemClick(object sender, ItemClickEventArgs e)
{
// save binary as
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "Binary files|*.bin";
if (sfd.ShowDialog() == DialogResult.OK)
{
// copy the current project file to the selected destination
File.Copy(Tools.Instance.m_currentfile, sfd.FileName, true);
}
}