Exemplo n.º 1
0
        public MainWindow()
        {
            engine             = new QuotesEngine(UpdateQuoteLabelText);
            QuoteGroups        = new ObservableCollection <QuotesGroup>();
            SwitchGroupCommand = new SwitchGroupCommand(engine);

            InitializeComponent();

            DataContext = this;
            engine.Start();
        }
Exemplo n.º 2
0
 public SwitchGroupCommand(QuotesEngine engine)
 {
     this.engine = engine;
 }