예제 #1
0
 /// <summary>
 /// Purpose: to load the data into the form
 /// returns: void
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Form_Employee_Load(object sender, EventArgs e)
 {
     MessageBox.Show(_OpenAFile);
     busRule = Business_Rules.Rules;
     busRule.openFile();
     txt_empFName.Text = blank._FirstName;
     txt_empLName.Text = blank._LastName;
     txt_empID.Text    = Convert.ToString(blank._EmpID);
     dbox_empType.Text = Convert.ToString(blank._EmpType);
     txt_info1.Text    = Convert.ToString(blank._HourlyRate);
     txt_info2.Text    = Convert.ToString(blank._HoursWorked);
     txt_info3.Text    = Convert.ToString(blank._MonthlySalary);
     busRule.startup();
 }
예제 #2
0
 private void openToolStripMenuItem_Click(object sender, EventArgs e)
 {
     busRule.openFile();
 }