private void FDDLSummary_FormClosing(object sender, FormClosingEventArgs e) { FDDLUIBinder.getBeforeWrapper().closedSummaryWindow(); FDDLUIBinder.getRegularWrapper().closedSummaryWindow(); FDDLUIBinder.getAfterWrapper().closedSummaryWindow(); FDDLUIBinder.getAAfterWrapper().closedSummaryWindow(); }
private void FDDLSummary_Load(object sender, EventArgs e) { FDDLUIBinder.getBeforeWrapper().openedSummaryWindow(m_before, null); FDDLUIBinder.getRegularWrapper().openedSummaryWindow(m_regular, m_regularUnitCtr); FDDLUIBinder.getAfterWrapper().openedSummaryWindow(m_after, null); FDDLUIBinder.getAAfterWrapper().openedSummaryWindow(m_nregular, m_nregularUnitCtr); }
private void forthTrial(object sender, ElapsedEventArgs e) { int orderQuantity = getQuantity() - getAchieved(); var exeData = new FDDLExecutionData(m_stockName, OrderType.BUY, getQuantity(), orderQuantity); var evcall = new FDDLContractionEventCallback(this, exeData, FDDLUIBinder.getAAfterWrapper()); ContractionEventManager.addCallback("FDDL-AAfter", evcall); int res = ProgramControl.getGateway().SendOrder("FDDL-AAfter", Screens.SCREEN_FDDLORDER, SystemInfo.ACCOUNT, 1, getStockCode(), orderQuantity, getPrice(), "62", ""); if (res != 0) { //Debug Log -> 리턴코드 값 / 리턴코드표 참고 } }