Ejemplo n.º 1
0
 private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (tvlData.players.Count > 0)
     {
         AddEditPlayer aep = new AddEditPlayer(3, search_by_id((Int32)numericUpDown1.Value));
     }
 }
Ejemplo n.º 2
0
 private void PlayerslistView_DoubleClick(object sender, EventArgs e)
 {
     if (PlayerslistView.SelectedIndices.Count > 0)
     {
         AddEditPlayer aep = new AddEditPlayer(3, PlayerslistView.SelectedIndices[0]);
     }
 }
Ejemplo n.º 3
0
        private void Addbutton_Click(object sender, EventArgs e)
        {
            AddEditPlayer aep = new AddEditPlayer(1);

            aep.onAddbutton_Click += this.Refresh_playerstable;
            Refresh_playerstable();
        }
Ejemplo n.º 4
0
 private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (tvlData.players.Count > 0)
     {
         AddEditPlayer aep = new AddEditPlayer(3, second);
         aep.Show();
     }
 }
Ejemplo n.º 5
0
 private void Editbutton_Click(object sender, EventArgs e)
 {
     if (PlayerslistView.SelectedIndices.Count > 0)
     {
         AddEditPlayer aep = new AddEditPlayer(2, PlayerslistView.SelectedIndices[0]);
         Refresh_playerstable();
         aep.onAddbutton_Click += this.Refresh_playerstable;
     }
 }