コード例 #1
0
        public FrmMain(
            IUserService userService,
            IMarginTradingService marginService,
            ICommonService commonService
            )
        {
            InitializeComponent();

            this.Icon = System.Drawing.Icon.ExtractAssociatedIcon(Application.ExecutablePath);

            this._userService   = userService;
            this._marginService = marginService;
            this._commonService = commonService;
        }
コード例 #2
0
        public FrmUserMarginTrading(
            IStockService stockService,
            IAccountService accountService,
            IMarginTradingService marginService,
            IUserService userService,
            IDictionaryService dictionaryService,
            IDepartmentService departmentService
            )
        {
            InitializeComponent();

            this._stockService      = stockService;
            this._accountService    = accountService;
            this._marginService     = marginService;
            this._userService       = userService;
            this._dictionaryService = dictionaryService;
            this._departmentService = departmentService;
        }
コード例 #3
0
        public FrmTradeDataImport(
            IDictionaryService dictionaryService,
            IAccountService accountService,
            IUserService userService,
            IStockService stockService,
            IDailyRecordService dailyRecordService,
            IDataImportCommonService dataImportService,
            IMarginTradingService marginService,
            ICommonService commonService)
        {
            InitializeComponent();

            this._dictionaryService       = dictionaryService;
            this._accountService          = accountService;
            this._userService             = userService;
            this._stockService            = stockService;
            this._dailyRecordService      = dailyRecordService;
            this._dataImportCommonService = dataImportService;
            this._marginService           = marginService;
            this._commonService           = commonService;
        }
コード例 #4
0
        public _dialogVirtualRecord(
            IDailyRecordService dailyRecordService,
            IStockService stockService,
            IAccountService accountService,
            IMarginTradingService marginService,
            IUserService userService,
            IDictionaryService dictionaryService,
            IDepartmentService departmentService,
            ICommonService commonService
            )
        {
            InitializeComponent();

            this._dailyRecordService = dailyRecordService;
            this._stockService       = stockService;
            this._accountService     = accountService;
            this._marginService      = marginService;
            this._userService        = userService;
            this._dictionaryService  = dictionaryService;
            this._departmentService  = departmentService;
            this._commonService      = commonService;
        }