Beispiel #1
0
 private void btnAddNewSportmen_Click(object sender, EventArgs e)
 {
     ActivateButton(btnAddNewSportmen);
     Forms.FormAddNewSpotsmen form = new Forms.FormAddNewSpotsmen(this);
     form.ShowDialog();
     update(spmList);
 }
Beispiel #2
0
        //відновити
        private void button2_Click(object sender, EventArgs e)
        {
            int temp = spmList.Update(sportsmenListVie);

            if (temp != -1)
            {
                Sportsmen s = spmList.list[temp];
                Forms.FormAddNewSpotsmen form = new Forms.FormAddNewSpotsmen(s, this, temp);
                form.ShowDialog();
                update(spmList);
            }
        }