Ejemplo n.º 1
0
        private void bunifuImageButton8_Click_1(object sender, EventArgs e)
        {
            this.Hide();
            FBieuDo fBieu = new FBieuDo();

            fBieu.ShowDialog();
            this.Show();
        }
Ejemplo n.º 2
0
 private void bunifuThinButton23_Click(object sender, EventArgs e)
 {
     if (bien == 0)
     {
         Alert a = new Alert("Hiện tại chưa có dữ liệu để xuất", AlertType.error);
         a.ShowDialog();
     }
     else
     {
         string query = "select convert(nvarchar(30), ngayMua, 23)as ngayLap,sum(thanhTien)as tongTien from HDBanBo " +
                        "where ngayMua between N'" + dtpkTuNgay.Text + " 00:00:00' and N'" + dtpkDenNgay.Text + " 23:59:59' group by convert(nvarchar(30), ngayMua, 23)";
         this.Hide();
         FBieuDo fbd = new FBieuDo(query);
         fbd.ShowDialog();
         this.Show();
     }
 }