Ejemplo n.º 1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     HelpFacade help = new HelpFacade();
     string first = txtFirstName.Text.ToString();
     string last = txtLastName.Text.ToString();
     string userName = txtUserName.Text.ToString();
     help.AddEmployee(first, last, userName);
 }
Ejemplo n.º 2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     HelpFacade help = new HelpFacade();
     string name = txtCustName.Text.ToString();
     string address = txtCustAddress.Text.ToString();
     string state = txtCustState.Text.ToString();
     int zip = int.Parse(txtCustZip.Text);
     help.AddCustomer(name, address, state, zip);
 }