Exemplo n.º 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();
 }
Exemplo n.º 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();
        }