public SaveTransHelper(ITSalesRepository tSalesRepository, ITSalesDetRepository tSalesDetRepository, IMGameRepository mGameRepository, IMAgentRepository mAgentRepository, ITMsgRepository tMsgRepository) { _tSalesRepository = tSalesRepository; _tSalesDetRepository = tSalesDetRepository; _mGameRepository = mGameRepository; _mAgentRepository = mAgentRepository; _tMsgRepository = tMsgRepository; }
public Form1(ITSalesRepository tSalesRepository, ITSalesDetRepository tSalesDetRepository, IMGameRepository mGameRepository, IMAgentRepository mAgentRepository, ITMsgRepository tMsgRepository) { _tSalesRepository = tSalesRepository; _tSalesDetRepository = tSalesDetRepository; _mGameRepository = mGameRepository; _mAgentRepository = mAgentRepository; _tMsgRepository = tMsgRepository; InitializeComponent(); }
public ReportController(IMAgentRepository mAgentRepository, ITSalesDetRepository tSalesDetRepository, IMGameRepository mGameRepository) { Check.Require(mAgentRepository != null, "mAgentRepository may not be null"); Check.Require(tSalesDetRepository != null, "tSalesDetRepository may not be null"); Check.Require(mGameRepository != null, "mGameRepository may not be null"); this._mAgentRepository = mAgentRepository; this._tSalesDetRepository = tSalesDetRepository; this._mGameRepository = mGameRepository; }
public FormServerMain(ITSalesRepository tSalesRepository, ITSalesDetRepository tSalesDetRepository, IMGameRepository mGameRepository, IMAgentRepository mAgentRepository, ITMsgRepository tMsgRepository) { _tSalesRepository = tSalesRepository; _tSalesDetRepository = tSalesDetRepository; _mGameRepository = mGameRepository; _mAgentRepository = mAgentRepository; _tMsgRepository = tMsgRepository; InitializeComponent(); btnStart.Click += new EventHandler(btnStart_Click); btnEnd.Click += new EventHandler(btnEnd_Click); timer1.Tick += new EventHandler(timer1_Tick); }