Пример #1
0
 private void Add_button_Click(object sender, EventArgs e)
 {
     entiteState            = EntiteState.Add;
     PhotoPic.Image         = null;
     PanelConteiner.Enabled = true;
     personsBindingSource.Add(new Persons());
     personsBindingSource.MoveLast();
     FullName_textBox.Focus();
 }
Пример #2
0
 private void Edit_button_Click(object sender, EventArgs e)
 {
     entiteState            = EntiteState.Changed;
     PanelConteiner.Enabled = true;
     FullName_textBox.Focus();
 }