Example #1
0
 private void btnCreateTrainee_Click(object sender, EventArgs e)
 {
     trainee   = new Trainee(Convert.ToInt32(tbAge.Text), tbName.Text);
     this.Text = "Created by Kaloyan::Details for " + trainee.Name;
 }
Example #2
0
 private void btnCreateTrainee_Click(object sender, EventArgs e)
 {
     trainee    = new Trainee(tbName.Text, Convert.ToInt32(tbAge.Text));
     this.Text += " :: Details for " + trainee.Name;
 }