Пример #1
0
        public MainWindow()
        {
            engine             = new QuotesEngine(UpdateQuoteLabelText);
            QuoteGroups        = new ObservableCollection <QuotesGroup>();
            SwitchGroupCommand = new SwitchGroupCommand(engine);

            InitializeComponent();

            DataContext = this;
            engine.Start();
        }
Пример #2
0
 public SwitchGroupCommand(QuotesEngine engine)
 {
     this.engine = engine;
 }