コード例 #1
0
 private void SaveExecute()
 {
     try
     {
         tblEmployee newEmployee = service.AddEmployee(Employee);
         MessageBox.Show("Employee saved.");
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }