public frmEmployee(long pLongID) { InitializeComponent(); _employee = new Employee(pLongID); mnuSave.Enabled = true; mnuDelete.Enabled = true; mnuWindow.Enabled = true; displayRecord(); }
public frm_Employee(long pLongID, Boolean pblnCanWrite) { InitializeComponent(); _employee = new Employee(pLongID); _validate = new Validate(); tsi_save.Enabled = pblnCanWrite; displayRecord(); }
public frm_Employee(Boolean pblnCanWrite) { InitializeComponent(); this.Text = "New " + this.Text; _employee = new Employee(); _validate = new Validate(); tsi_save.Enabled = pblnCanWrite; }
public frmEmployee(long pLongID, Boolean pBlnReadOnly) { InitializeComponent(); _employee = new Employee(pLongID); _blnReadOnly = pBlnReadOnly; displayRecord(); OrganizeMenuButtons(); }
public frmEmployee() { InitializeComponent(); _employee = new Employee(); }
/// <summary> /// Description: Handles all the events called by the menu strip /// </summary> private void vts_Employee_Search_Click(object sender, EventArgs e) { if (!isDenied("frm_Employee")) { Employee _employee = new Employee(); frm_Search _search = new frm_Search(_employee.employeeDataset, "Employee", canWrite("frm_Employee")); _search.MdiParent = this; _search.Show(); } else MessageBox.Show("Access denied. Contact network administrator to gain access"); }
public frmEmployee() { InitializeComponent(); _employee = new Employee(); _blnReadOnly = false; }