Login() public method

public Login ( ) : void
return void
示例#1
0
        private void LoadService(Service service)
        {
            songList.Items.Clear();

            Client client = new Client(service);
            client.Login();

            foreach (Song song in client.Databases[0].Songs)
            {
                songList.Items.Add (String.Format ("{0} - {1} - {2}",
                    song.Artist, song.Album, song.Title));
            }
        }