public MainWindow()
 {
     InitializeComponent();
     TM          = new TradeMan();
     DataContext = this;
     DbgSett.Options.Add(DbgSett.DbgOption.ApiEmulate);
     DbgSett.Options.Add(DbgSett.DbgOption.ShowBuy);
     DbgSett.Options.Add(DbgSett.DbgOption.ShowSell);
     DbgSett.Options.Add(DbgSett.DbgOption.ShowCourse);
 }
Exemple #2
0
        private void BtnLoadMarkets_OnClick(object sender, RoutedEventArgs e)
        {
            var f = new OpenFileDialog();

            if (f.ShowDialog(this) != true)
            {
                return;
            }
            TM = FileIO.deserializeDataContract <TradeMan>(f.FileName);
            OnPropertyChanged(nameof(TM));
        }
Exemple #3
0
 public MainWindow()
 {
     InitializeComponent();
     TM          = new TradeMan();
     DataContext = this;
 }