public FrmMyPeriod(IBetForm frmBet, List <ModelBet> lstModelBet, int MyPeriodId) { InitializeComponent(); this.lstModelBet = lstModelBet; this.MyPeriodId = MyPeriodId; this.frmBet = frmBet; }
public BetFormPresenter(IBetForm betForm, BetListModel model, IMessageBoxService messageService) { this.betForm = betForm; this.model = model; this.messageService = messageService; this.betForm.PlaceBet += BetForm_PlaceBet; this.betForm.LoadBets += BetForm_LoadBets; }