Пример #1
0
        private void btn_export_single_report_Click(object sender, EventArgs e)
        {
            if (txt_guard_number.Text == String.Empty)
            {
                MessageBox.Show("Select an officer to view report");
            }
            else
            {
                string guard_number = txt_guard_number.Text;
                SystemConst.guard_number        = guard_number;
                SystemConst._Single_report_type = "Archieve";

                frmcrystal_report_single report = new frmcrystal_report_single();
                report.ShowDialog();
            }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            frmcrystal_report_single single = new frmcrystal_report_single();

            single.Show();
        }