示例#1
0
        public void addEmpSalary(int i, ETYPE et, string en, decimal ms)
        {
            int x = i % SIZE;

            _empArray[x] = new Salary(i, et, en, ms);
        }
 /// <summary>
 /// Purpose to add an Salary Employee
 /// </summary>
 /// <param name="i"></param>
 /// <param name="et"></param>
 /// <param name="en"></param>
 /// <param name="ms"></param>
 public void addEmpSalary(uint i, ETYPE et, string en, decimal ms)
 {
     newSalry = new Salary(i, et, en, ms);
     empDictionary.Add(newSalry._EmpID, newSalry);
 }
        private void button6_Click(object sender, EventArgs e)
        {
            Salary form = new Salary();

            form.Show();
        }