Exemplo n.º 1
0
 public Update(myservice.Service1SoapClient abc, String ID, String title, String artist, String album, String genre)
 {
     InitializeComponent();
     this.abc      = abc;
     this.title    = title;
     this.artist   = artist;
     this.playlist = ID;
     this.genre    = genre;
     this.album    = album;
     textBox1.Text = title;
     textBox2.Text = artist;
     textBox3.Text = album;
     textBox4.Text = genre;
 }
Exemplo n.º 2
0
 public Rankings(myservice.Service1SoapClient abc)
 {
     //show tables
     InitializeComponent();
     this.abc = abc;
     dataGridView1.DataSource = abc.RankTrack();
     dataGridView2.DataSource = abc.RankList();
     chart1.DataSource        = abc.RankTrackTop3();
     chart2.DataSource        = abc.RankListTop3();
     //draw histograms
     chart1.Series["Series1"].XValueMember  = "title";
     chart1.Series["Series1"].YValueMembers = "rank";
     chart2.Series["Series1"].XValueMember  = "Playlist";
     chart2.Series["Series1"].YValueMembers = "rank";
 }
Exemplo n.º 3
0
 public Add_Track(myservice.Service1SoapClient abc, String ID)
 {
     InitializeComponent();
     this.abc      = abc;
     this.playlist = ID;
 }
Exemplo n.º 4
0
 public Add_Playlist(myservice.Service1SoapClient abc)
 {
     InitializeComponent();
     this.abc = abc;
 }