Exemple #1
0
        private void btnSaveReportingLog_Click(object sender, EventArgs e)
        {
            if (ConversationList.IsEmpty)
            {
                return;
            }

            sFDReportingReport.FileName = String.Format("ReportingReport_{0}.xml", DateTime.Now.ToShortTimeString().Replace(':', '_'));
            DialogResult dResult = sFDReportingReport.ShowDialog();

            if (DialogResult.OK != dResult)
            {
                return;
            }

            String filename = sFDReportingReport.FileName;

            ConversationList.SaveConversationReport(filename);
        }