Exemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     nameTextBox.Enabled    = true;
     surnameTextBox.Enabled = true;
     patrTextBox.Enabled    = true;
     telTextBox.Enabled     = true;
     clearElenents();
     clientInfo = new ClInfo();
 }
Exemplo n.º 2
0
 private void ChildFormClosed(object sender, FormClosedEventArgs e)
 {
     clientInfo             = acf.Info;
     nameTextBox.Text       = clientInfo.Name;
     surnameTextBox.Text    = clientInfo.Surname;
     patrTextBox.Text       = clientInfo.Patronymic;
     telTextBox.Text        = clientInfo.TelNumber;
     nameTextBox.Enabled    = false;
     surnameTextBox.Enabled = false;
     patrTextBox.Enabled    = false;
     telTextBox.Enabled     = false;
 }
Exemplo n.º 3
0
 public AddClientForm(ClInfo c)
 {
     InitializeComponent();
     clientInfo = c;
 }