public override void SaveAs(string fileName) { try { AS2ProjectWriter writer = new AS2ProjectWriter(this, fileName); writer.WriteProject(); writer.Flush(); writer.Close(); } catch (Exception ex) { MessageBox.Show(ex.Message, "IO Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public override void SaveAs(string fileName) { try { AS2ProjectWriter writer = new AS2ProjectWriter(this, fileName); writer.WriteProject(); writer.Flush(); writer.Close(); } catch (Exception ex) { MessageBox.Show(ex.Message, "IO Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }