Пример #1
0
 private void btnDetail_Click(object sender, EventArgs e)
 {
     Form form =new  DetailForm();
     form.Text = this.GetTitle()+"��ϸ��Ϣ";
     StudentSearch search = new StudentSearch();
     search.Dock = DockStyle.Fill;
     IDataAccess access = FT.DAL.DataAccessFactory.GetDataAccess();
     string condition = access.BetweenDateString("date_baoming", this.dateBetweenPanel1.BeginDate,
         this.dateBetweenPanel1.EndDate);
     search.SetConditions(condition);
     form.Controls.Add(search);
     form.Show();
 }
Пример #2
0
        private void btnDetail_Click(object sender, EventArgs e)
        {
            Form form = new  DetailForm();

            form.Text = this.GetTitle() + "详细信息";
            StudentSearch search = new StudentSearch();

            search.Dock = DockStyle.Fill;
            IDataAccess access    = FT.DAL.DataAccessFactory.GetDataAccess();
            string      condition = access.BetweenDateString("date_baoming", this.dateBetweenPanel1.BeginDate,
                                                             this.dateBetweenPanel1.EndDate);

            search.SetConditions(condition);
            form.Controls.Add(search);
            form.Show();
        }
Пример #3
0
        private void btnDetail_Click(object sender, EventArgs e)
        {
            Form form = new DetailForm();

            form.Text = this.GetTitle() + "详细信息";
            CarFeeSearch search = new CarFeeSearch();

            search.Dock = DockStyle.Fill;
            IDataAccess access    = FT.DAL.DataAccessFactory.GetDataAccess();
            string      condition = access.BetweenDateString("date_fee", this.dateBetweenPanel1.BeginDate,
                                                             this.dateBetweenPanel1.EndDate);

            condition += " and c_hmhp like '%" +
                         this.txtHmhp.Text.Trim() + "%'";
            search.SetConditions(condition);
            form.Controls.Add(search);
            form.Show();
        }