private void Proc_FC() { FCGrid.set_TextMatrix(0, 1, (string)Comm_Obj_FC.GetSingleData(4)); FCGrid.set_TextMatrix(1, 1, (string)Comm_Obj_FC.GetSingleData(6)); FCGrid.set_TextMatrix(2, 1, (string)Comm_Obj_FC.GetSingleData(7)); FCGrid.set_TextMatrix(3, 1, (string)Comm_Obj_FC.GetSingleData(8)); FCGrid.set_TextMatrix(4, 1, (string)Comm_Obj_FC.GetSingleData(11)); FCGrid.set_TextMatrix(5, 1, (string)Comm_Obj_FC.GetSingleData(12)); FCGrid.set_TextMatrix(6, 1, (string)Comm_Obj_FC.GetSingleData(13)); FCGrid.set_TextMatrix(7, 1, (string)Comm_Obj_FC.GetSingleData(14)); Comm_Obj_FC.RequestRTReg("FC", gFCode); }
public MainWindow() { InitializeComponent(); this.Comm_Obj_FH.ReceiveData += new AxGIEXPERTCONTROLLib._DGiExpertControlEvents_ReceiveDataEventHandler(this.Comm_Obj_FH_ReceiveData); this.Comm_Obj_FH.ReceiveRTData += new AxGIEXPERTCONTROLLib._DGiExpertControlEvents_ReceiveRTDataEventHandler(this.Comm_Obj_FH_ReceiveRTData); this.Comm_Obj_Order.ReceiveData += new AxGIEXPERTCONTROLLib._DGiExpertControlEvents_ReceiveDataEventHandler(this.Comm_Obj_Order_ReceiveData); this.Comm_Obj_FC.ReceiveData += new AxGIEXPERTCONTROLLib._DGiExpertControlEvents_ReceiveDataEventHandler(this.Comm_Obj_FC_ReceiveData); this.Comm_Obj_FC.ReceiveRTData += new AxGIEXPERTCONTROLLib._DGiExpertControlEvents_ReceiveRTDataEventHandler(this.Comm_Obj_FC_ReceiveRTData); FCGrid.set_TextMatrix(0, 0, "현재가"); FCGrid.set_TextMatrix(1, 0, "등 락"); FCGrid.set_TextMatrix(2, 0, "등락율"); FCGrid.set_TextMatrix(3, 0, "거래량"); FCGrid.set_TextMatrix(4, 0, "미결제"); FCGrid.set_TextMatrix(5, 0, "시 가"); FCGrid.set_TextMatrix(6, 0, "고 가"); FCGrid.set_TextMatrix(7, 0, "저 가"); }