Beispiel #1
0
        public MainForm()
        {
            Thread.CurrentThread.CurrentUICulture = new CultureInfo(Properties.Settings.Default.CultureName);

            InitializeComponent();

            this.updateSymbolListItemDelegate = new UpdateSymbolListItemDelegate(this.UpdateSymbolListItemMethod);
            this.addSymbolListRangeDelegate   = new AddSymbolListRangeDelegate(this.AddSymbolListRangeMethod);

            this.symbolListRefresher = new SymbolListRefresher(this);
            this.symbolListRefresher.RefreshFinished += new RefreshFinished(symbolListRefresher_RefreshFinished);
        }
Beispiel #2
0
        public SymbolPickerForm(int currentSymbolId)
        {
            InitializeComponent();

            this.updateSymbolListItemDelegate = new UpdateSymbolListItemDelegate(this.UpdateSymbolListItemMethod);
            this.addSymbolListRangeDelegate   = new AddSymbolListRangeDelegate(this.AddSymbolListRangeMethod);

            this.symbolListRefresher = new SymbolListRefresher(this);
            this.symbolListRefresher.RefreshFinished += new RefreshFinished(symbolListRefresher_RefreshFinished);

            this.currentSymbolId = currentSymbolId;
        }