Example #1
0
        private void lapbctkbutton_Click(object sender, EventArgs e)
        {
            BaoCao BC = new BaoCao();

            this.Visible = false;
            BC.ShowDialog();
            this.Visible = true;
        }
Example #2
0
 private void btninpm_Click(object sender, EventArgs e)
 {
     if (txtMaPhieu.Text == null || txtMaPhieu.Text == "")
     {
         MessageBox.Show("Hãy Chọn 1 phiếu để In");
     }
     else
     {
         BaoCao.MaPM = txtMaPhieu.Text;
         BaoCao.keyn = 1;
         BaoCao baocaof = new BaoCao();
         baocaof.ShowDialog();
     }
 }