BKI_DichVuMatDat.WinFormControls.ExportHTMLClick C# (CSharp) Method

ExportHTMLClick() private static method

private static ExportHTMLClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private static void ExportHTMLClick(object sender, EventArgs e)
        {
            SaveFileDialog saveFileDialog1 = new SaveFileDialog();
            saveFileDialog1.Filter = "html files (*.html)|*.html|All files (*.*)|*.*";
            saveFileDialog1.RestoreDirectory = true;
            if (saveFileDialog1.ShowDialog() == DialogResult.OK)
            {
                m_grv.ExportToHtml(saveFileDialog1.FileName);
                DevExpress.XtraEditors.XtraMessageBox.Show("Lưu báo cáo thành công");
            }
        }