private void PhieuThu(object sender, RoutedEventArgs e) { DateTime start = DateTime.Parse(this.start.Text); DateTime end = DateTime.Parse(this.end.Text); statistic.ItemsSource = StatisticBillBUS.LoaiThu(start, end); }
private void Button_Click_1(object sender, RoutedEventArgs e) { this.dshd.ItemsSource = StatisticBillBUS.LoaiChiCuoiNgay(DateTime.Now); this.sl.Text = StatisticBillBUS.LoaiChiCuoiNgay(DateTime.Now).Count.ToString(); this.dthu.Text = StatisticBillBUS.ChiCuoiNgay(DateTime.Now).ToString(); }
private void DaHuy(object sender, RoutedEventArgs e) { statistic.ItemsSource = StatisticBillBUS.DaHuy(); }
private void timKiem(object sender, TextChangedEventArgs e) { string ten = this.timkiem.Text.ToString(); statistic.ItemsSource = StatisticBillBUS.search(ten); }
void loadFromData() { sq = StatisticBillBUS.thongKe(); SetDataSource(sq); }
public void load() { sq = StatisticBillBUS.thongKe(); this.statistic.ItemsSource = sq; }
public SoQuy() { InitializeComponent(); this.dthu.Text = StatisticBillBUS.DoanhThu().ToString(); this.chi.Text = StatisticBillBUS.TongChi().ToString(); }
private void trove_Click(object sender, RoutedEventArgs e) { statistic.ItemsSource = StatisticBillBUS.thongKe(); }