private void frmStockChart_IDoSymbolLinked(object sender, SymbolLinkSource source, string newStock) { if (source == SymbolLinkSource.SwitchAccount) { if (this._currPage == "NEWS") { this.ReloadData(); } } }
private void frmStockSummary_IDoSymbolLinked(object sender, SymbolLinkSource source, string newStock) { try { if (source == SymbolLinkSource.StockSymbol) { if (this.currentPage == "Stock in Play") { this.StockInPlay_SetNewStock(newStock, false); } else if (this.currentPage == "Sale by Price") { this.SaleByPrice_SetNewStock(newStock, false); } else if (this.currentPage == "Sale by Time") { this.SaleByTime_SetNewStock(newStock, false); } else if (this.currentPage == "View Oddlot") { this.ViewOddLotSetNewStock(newStock, false); } } } catch (Exception ex) { this.ShowError("frmStockSummary_IDoSymbolLinked", ex); } }
private void frmAutoTrade_IDoSymbolLinked(object sender, SymbolLinkSource source, string newStock) { if (source == SymbolLinkSource.SwitchAccount) { this.SetAutoTradeType(this._typeId); } }
public void SendSymbolLink1(object sender, SymbolLinkSource source, string newStock) { if (this.formObj.GetType() != sender.GetType()) { ((ClientBaseForm)this.formObj).SetSymbolLink(sender, source, newStock); } }
public void SetSmartStock(object sender, SymbolLinkSource source, string newStock) { if (this.Smart1ClickBox.Visible) { this.Smart1ClickBox.SetSmartStock(sender, source, newStock); } }
public void SendSymbolLink(object sender, SymbolLinkSource source, string newStock) { try { if (this.currentActiveTemplateView != null) { this.currentActiveTemplateView.SendSymbolLink1(sender, source, newStock); } if (source == SymbolLinkSource.SmartStock) { this.mainForm.SetSmartStock(sender, source, newStock); } } catch (Exception ex) { throw ex; } }
public void SetSymbolLink(object sender, SymbolLinkSource source, string newStock) { if (this._IDoSymbolLinked != null) { this._IDoSymbolLinked(sender, source, newStock); } }
private void frmViewOrder_IDoSymbolLinked(object sender, SymbolLinkSource source, string newStock) { if (source == SymbolLinkSource.SwitchAccount) { if (!ApplicationInfo.IsEquityAccount) { this.SetPage(0); } else { this.SetPage(this._currentPage); } } }
private void frmMarketWatch_IDoSymbolLinked(object sender, SymbolLinkSource source, string newStock) { if (source == SymbolLinkSource.StockSymbol) { this.SetNewStock_Info(newStock, false); } else if (source == SymbolLinkSource.SwitchAccount) { if (this._mainGroupType == "My Port") { this.ReloadDataBBO(); } } }
private void frmPortfolio_IDoSymbolLinked(object sender, SymbolLinkSource source, string newStock) { if (source == SymbolLinkSource.SwitchAccount) { if (!this.bgwLoadReport.IsBusy) { if (this._currAccount != ApplicationInfo.AccInfo.CurrentAccount) { this._reportType = "Portfolio"; this._subReportType = "Summary"; this.StartReloadTimer(200, true); } } } }
public void SetSmartStock(object sender, SymbolLinkSource source, string newStock) { if (this._isInit) { if (source == SymbolLinkSource.SmartStock && Settings.Default.SmartClickLink) { this.setNewStock(newStock, false); } } }