Exemple #1
0
 /// <summary>
 /// HTTP重新加载挂牌列表
 /// </summary>
 private void Instance_UpdataAllCommodityEvent()
 {
     if (fbBase != null)
     {
         fbBase.LoadUrl(Helper.GetURL(HTTPServiceUrlCollection.BasicManagement));
     }
     if (fbMoney != null)
     {
         fbMoney.LoadUrl(Helper.GetURL(HTTPServiceUrlCollection.History));
     }
     //if (fbDataCenter != null)
     //{
     //    fbDataCenter.LoadUrl(Helper.GetURL(HTTPServiceUrlCollection.DataCenter));
     //}
     //if (fbInformation != null)
     //{
     //    fbInformation.LoadUrl(Helper.GetURL(HTTPServiceUrlCollection.Information));
     //}
     if (table != null)
     {
         table.UpdateTable();
     }
 }
Exemple #2
0
 /// <summary>
 /// 报价牌
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void rmiPrice_Click(object sender, EventArgs e)
 {
     if (table != null && table.DockState != DockState.Hidden)
     {
         this.radDock1.DockWindow(table, DockPosition.Fill);
     }
     else
     {
         table = new MUseMainForm("行情");
         table.SelectTextChangeEvent += new Action <object, string>(Table_SelectTextChangeEvent);
         this.radDock1.AddDocument(table);
         table.UpdateSelect(DataManager.Instance.CurrentCategory);
         table.UpdateTable();
     }
 }