} // end method Main // return string that contains Employee information public static string GetString(Employee worker) { return(worker.ToString() + " earned " + worker.Earnings().ToString("C") + "\n"); }
public DeleteEmployeeForm(Employee employee) { InitializeComponent(); _employee = employee; labelEmployeeInfo.Text = employee.ToString(); }