public RenewCardForm(string formName, MemberBusinessType type) { this.memberBusinessType = type; switch (memberBusinessType) { case MemberBusinessType.SellCardType: InitFormForSellCard(formName); break; case MemberBusinessType.ContinuedCardType: InitFormForContinued(formName); break; } }
/// <summary> /// 设置处理业务逻辑类型 /// </summary> /// <param name="type"></param> public void SetBusinessType(MemberBusinessType type) { this.memberBusinessType = type; }