Example #1
0
        public StatsPage()
        {
            InitializeComponent();

            ude          = new UserDataEditor();
            myTracksList = new List <Track>();
        }
        public TracksPage()
        {
            InitializeComponent();

            ude        = new UserDataEditor();
            tracksList = new List <Track>();
            myTracks   = new List <Track>();

            conn       = new SqlConnector();
            tracksList = conn.Connect(connStr, query);

            myTracks = ude.ReadUserData(myTracks);

            BindingContext = this;
        }