示例#1
0
        private void btn_OK_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(radTextStart.Text) || string.IsNullOrEmpty(radTextEnd.Text))
            {
                MessageBox.Show("请选择开始时间和结束时间");
                return;
            }

            if (null != m_historyForm)
            {
                m_historyForm.showEnd(false);
                bool bSuccess = m_historyForm.queryInit(false);
                if (bSuccess)
                {
                    m_historyForm.exportData();
                }
                else
                {
                    return;
                }
            }
            this.Close();
        }