예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            VIEW_REPORT rpt = new VIEW_REPORT();

            rpt._nam = nam;
            rpt.LoadDoanhThuTheoNam();
            rpt.Show();
        }
예제 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            VIEW_REPORT rpt = new VIEW_REPORT();

            rpt._thang = thang;
            rpt._nam   = nam;
            rpt.LoadDoanhThuTheoThang();
            rpt.Show();
        }
예제 #3
0
 private void button8_Click(object sender, EventArgs e)
 {
     try {
         if (textBox3.Text.Trim() != "")
         {
             VIEW_REPORT rpt = new VIEW_REPORT();
             rpt._maphieu = Convert.ToInt32(textBox3.Text.Trim());
             rpt.LoadPhieuKham();
             rpt.Show();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }