public Form1() { InitializeComponent(); InitStrategyMenu(); xiadan = XiaDan.Instance; xiadan.Init(); }
public Form1() { InitializeComponent(); InitStrategyMenu(); InitListView(); xiadan = Stock.Trader.XiaDan.Instance; }
public Form1() { InitializeComponent(); InitStrategyMenu(); InitListView(); xiadan = Stock.Trader.XiaDan.Instance; // nextClipboardViewer = (IntPtr)Win32API.SetClipboardViewer(this.Handle); }
private void button16_Click(object sender, EventArgs e) { xiadan = Stock.Trader.XiaDan.Instance; xiadan.Init(); }
private void _Start() { xiadan = Stock.Trader.XiaDan.Instance; int span = int.Parse(Configure.GetStockTraderItem(Configure.KEEP_TIME_SPAN)); this.keepLoginTimer.Interval = span; this.keepLoginTimer.Enabled = true; StockMarketManager smm = StockMarketManager.Instance; IStrategy[] strategies = StrategyManager.Instance.ReadMyStrategies(); foreach (IStrategy strategy in strategies) { smm.RegisterStrategy(strategy); } smm.Start(); }