| | |
| | | { |
| | | private: |
| | | TradeQueueListControl* listControl; |
| | | TradeQueueListControl* dealBigMoneyListControl; |
| | | bool killed; |
| | | wxScrolledWindow* scrolledWindow; |
| | | |
| | | string latest_request_result; |
| | | std::thread *requestThread; |
| | | public: |
| | | TradeQueueFrame(const wxString& title, wxString code, wxPoint position=wxDefaultPosition, wxSize size = wxDefaultSize); |
| | | ~TradeQueueFrame(); |
| | | void OnClose(wxCloseEvent& event); |
| | | void OnSize(wxSizeEvent& event); |
| | | private: |
| | | |
| | | /// <summary> |
| | | /// 重新设置滚动信息 |
| | | /// </summary> |
| | | void resetScrollInfo(); |
| | | |
| | | // 请求列表 |
| | | // 获取交易队列 |
| | | static void requestTradeQueue(wxString code, TradeQueueFrame* context); |
| | | |
| | | |
| | | static void requestDealBigList(wxString code, TradeQueueFrame* context); |
| | | |
| | | }; |
| | | |