Esempio n. 1
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var buttonConfig = ConfigManager.Instance.GetButtonConfig();

            TDFQuote quote = new TDFQuote();

            quote.Start();

            //while (true)
            //{
            //    autoResetEvent.WaitOne();
            //}

            Application.Run(new TDFQuoteForm(quote));
        }
Esempio n. 2
0
        public TDFQuoteForm(TDFQuote quote)
        {
            InitializeComponent();

            _quote = quote;
        }
Esempio n. 3
0
 //private Connected _connectCallback;
 //private Notify _notify = null;
 public QuoteService(IQuote quote, Connected cb, Notify notify)
 {
     _tdfQuote = new TDFQuote(quote);
     _tdfQuote.Connected(cb);
     _tdfQuote.Notify(notify);
 }