private void btnPrint_Click(object sender, EventArgs e)
        {
            fThongKe form = new fThongKe();

            this.Hide();
            form.ShowDialog();
            this.Show();
        }
Example #2
0
        private void btnPrint_Click_1(object sender, EventArgs e)
        {
            string name = txtName.Text;

            if (name == "")
            {
                MessageBox.Show("Vui lòng nhập thông tin");
                return;
            }
            fThongKe frame = new fThongKe(name);

            this.Hide();
            frame.ShowDialog();
            this.Show();
        }