예제 #1
0
파일: Form2.cs 프로젝트: mariuszg82/JiP_app
 public Form2(List <Uczestnik> ls, int ind, Action action)
 {
     InitializeComponent();
     this.ls  = ls;
     this.ind = ind;
     this.uc  = ls[ind];
     this.tsk = new Task(action);
     showRecord();
 }
예제 #2
0
파일: Form2.cs 프로젝트: mariuszg82/JiP_app
 private void button1_Click(object sender, EventArgs e)
 {
     ls[ind] = new Uczestnik(textBox1.Text, textBox2.Text, textBox3.Text, numericUpDown1.Value);
     tsk.RunSynchronously();
     this.Close();
 }