Exemplo n.º 1
0
        public SearchPage()
        {
            InitializeComponent();
            _mainWindow        = (MainWindow)Application.Current.MainWindow;;
            _beatmapDbOperator = new BeatmapDbOperator();

            ViewModel      = (SearchPageViewModel)DataContext;
            SearchBox.Text = "";
        }
Exemplo n.º 2
0
 public SearchPageViewModel()
 {
     _dbOperator = new BeatmapDbOperator();
 }