コード例 #1
0
        public OrderViewModel(FixConnectionSetupAndMethods fixConnSetupAndMethods,
                              FixConnectionSystem fixConnectionSystem)
        {
            this._fixConnectionSystem = fixConnectionSystem;

            Orders = new ObservableCollection <OrderRecord>();

            _fixConnectionSystem.Fix42ExecReportEvent += new Action <QuickFix.FIX42.ExecutionReport>(HandleExecutionReport);

            fixConnSetupAndMethods.OrderEvent += new Action <QuickFix.FIX42.NewOrderSingle>(displayOrder);
        }
コード例 #2
0
        public StageOrdersMainView(FixConnectionSetupAndMethods fixConnSetupAndMethods)
        {
            this._fixConnSetupAndMethods = fixConnSetupAndMethods;

            //InitializeComponent();
        }