public Boolean ExportToXml(String fileName) { XmlExport xml = new XmlExport(fileName, this); return xml.ExportNotifySettings(); }
private void SaveConfigurationToolStripMenuItemClick(object sender, EventArgs e) { DialogResult dr = saveConfigurationFd.ShowDialog(); if (dr == DialogResult.OK) { String fileName = saveConfigurationFd.FileName; XmlExport xmlExport = new XmlExport(fileName, configurationData); try { xmlExport.ExportConfigurationData(); } catch (Exception ex) { Logger.Instance.LogException(this.GetType(), ex); } } }