示例#1
0
 protected override void InitData()
 {
     ActionTable = UserStatics.GetUserActions(ModuleId);
     //BaseInfoCard bic = BaseInfoCard.New;
     //bic.JoinedDate = Convert.ToDateTime("2014-5-1 00:00:00");
     //bic.CardNumber = "111";
     //bic.ChildName = "test";
     //bic.CardType = BaseInfoCardType.十次卡.ToString();
     //bic.CountLeft = 0;
     //bic.ExpirationDate = Convert.ToDateTime("2015-5-1 00:00:00");
     //bic.CardStatus = (int)BaseInfoCardStatus.使用;
     //bic.OptrType = UserStatics.OptrType;
     //bic.Save();
     //if (IsSelect == true)
     //    TableForLoad = BllBaseInfoCard.GetPartTable(UserStatics.OptrType);
     //else
     TableForLoad = BllBaseInfoCard.GetTable(UserStatics.OptrType);
 }
示例#2
0
 protected override void resetDataGridView()
 {
     TableForLoad = BllBaseInfoCard.GetTable(UserStatics.OptrType);
     reloadDataGridView();
 }