private void btIndanhsach_Click(object sender, EventArgs e) { FORMREPORT.fromRePortChiTieu f = new FORMREPORT.fromRePortChiTieu(dataChiTieu); this.Hide(); f.ShowDialog(); this.Show(); }
private void simplebtnChiTien_Click(object sender, EventArgs e) { if (dataChiTieu != null) { FORMREPORT.fromRePortChiTieu f = new FORMREPORT.fromRePortChiTieu(dataChiTieu); this.Hide(); f.ShowDialog(); this.Show(); } else { MessageBox.Show("Chưa có dữ liệu !"); } }