Example #1
0
        private void showAll_Click(object sender, EventArgs e)
        {
            List <Employee> employeeList = new List <Employee>();

            employeeList = ApiFunctions.ShowAllEmployees();
            CleanAllText();
            foreach (var employee in employeeList)
            {
                lableShow.Text += employee.ID + "   " + employee.name + "   " + employee.sex + "\n";
            }
        }