Ejemplo n.º 1
0
        private void BCTongHopButton_Click(object sender, EventArgs e)
        {
            bool status = checkForm(baoCao.Name);

            if (status == true)
            {
                baoCao.tongHopRadioButton.Checked = true;
            }
            else
            {
                baoCao           = new reportForm();
                baoCao.MdiParent = this;
                mainPanel.Hide();
                baoCao.tongHopRadioButton.Checked = true;
                baoCao.Show();
            }
        }
Ejemplo n.º 2
0
        private void baoCaoPictureBox_Click(object sender, EventArgs e)
        {
            bool status = checkForm(baoCao.Name);

            if (status == true)
            {
                baoCao.reportTabControl.SelectedIndex = 0;
                baoCao.shRadioButton.Checked          = true;
            }
            else
            {
                baoCao           = new reportForm();
                baoCao.MdiParent = this;
                mainPanel.Hide();
                baoCao.reportTabControl.SelectedIndex = 0;
                baoCao.shRadioButton.Checked          = true;
                baoCao.Show();
            }
        }