Exemplo n.º 1
0
 public Boolean ExportToXml(String fileName)
 {
     XmlExport xml = new XmlExport(fileName, this);
     return xml.ExportNotifySettings();
 }
Exemplo n.º 2
0
        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);
                }
            }
        }