Example #1
0
        private void ViewFees()
        {
            TabPage tb = this.tabControl1.TabPages[2];

            if (tb.Controls.Count == 0)
            {
                StudentFeeSearch fees = new StudentFeeSearch();
                fees.AllowCustomeSearch = false;
                fees.Dock           = DockStyle.Fill;
                fees.InitBeforeAdd += new ProcessObjectDelegate(fees_InitBeforeAdd);
                tb.Controls.Add(fees);
                fees.ClearColumns();
                fees.CreateColumn("姓名", 80);
                fees.CreateColumn("身份证明号码", 120);
                fees.CreateColumn("费用时间", 140);
                fees.CreateColumn("费用金额", 80);
                fees.CreateColumn("费用类别");
                // this.Width += 30;
                fees.SetConditions("c_idcard='" + this.txtIdCard.Text.Trim() + "'");
            }
        }
Example #2
0
 private void ViewFees()
 {
     TabPage tb = this.tabControl1.TabPages[2];
     if (tb.Controls.Count == 0)
     {
         StudentFeeSearch fees = new StudentFeeSearch();
         fees.AllowCustomeSearch = false;
         fees.Dock = DockStyle.Fill;
         fees.InitBeforeAdd += new ProcessObjectDelegate(fees_InitBeforeAdd);
         tb.Controls.Add(fees);
         fees.ClearColumns();
         fees.CreateColumn("����", 80);
         fees.CreateColumn("���֤������", 120);
         fees.CreateColumn("����ʱ��", 140);
         fees.CreateColumn("���ý��", 80);
         fees.CreateColumn("�������");
         // this.Width += 30;
         fees.SetConditions("c_idcard='" + this.txtIdCard.Text.Trim() + "'");
     }
 }