Ejemplo n.º 1
0
        private void getListScoreOfUser()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.doGetListScoreOfUser);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + this.userId + "/scores/own");
        }
Ejemplo n.º 2
0
        private void requestGetUserInformation()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.populateView);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + this.userId);
        }
Ejemplo n.º 3
0
        private void getListAbonne()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.getListAbo);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + my_user.PersonalData.Id + "/subscriptions");
        }
Ejemplo n.º 4
0
        private void getListFavouriteScore()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.doGetListFavouriteScore);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + my_user.PersonalData.Id + "/scores/favourites");
        }
Ejemplo n.º 5
0
        private void getListScore()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.dogetListScore);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/scores?title=" + SearchTextBox.Text);
        }
Ejemplo n.º 6
0
        private void getListUser()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.dogetListUser);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users?uname=" + SearchTextBox.Text);
        }
Ejemplo n.º 7
0
        private void getListAbonne()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.getListAbo);
            System.Diagnostics.Debug.WriteLine("https://musicsheetwriter.tk/api/users/" + this.userId + "/subscribers");
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + this.userId + "/subscribers");
        }
Ejemplo n.º 8
0
        private void testUser()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.dotestuser);
            System.Diagnostics.Debug.WriteLine("https://musicsheetwriter.tk/api/users/" + this.userId);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + this.userId);
        }