Ejemplo n.º 1
0
 private void buttonOk_Click(object sender, EventArgs e)
 {
     if (textBoxName.Text.Length != 0)
     {
         Profile t = new Profile();
         t.initialize(textBoxName.Text);
         dm.Profiles.Add(t);
         this.Close();
     }
 }