public frmNewEntry(string employeeId) { InitializeComponent(); this.employeeId = employeeId; dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); }
public frmLogin() { InitializeComponent(); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); dtUsers = new DataTable("Employees"); }
public frmTaskDetails(DataRow drTask) { InitializeComponent(); this.drTask = drTask; dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); }
public frmTimesheet(DataRow drEmployee) { InitializeComponent(); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); this.drEmployee = drEmployee; employeeType = drEmployee["EmployeeType"].ToString(); }
/// <summary> /// Initializes the form with the values from the provided datarow. /// </summary> /// <param name="drEmployee">A datarow containing valid employee information.</param> public frmEmployeeDetails(DataRow drEmployee) { InitializeComponent(); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); this.drEmployee = drEmployee; employeeExists = true; }
/// <summary> /// Initializes the form with all fields empty. /// </summary> public frmEmployeeDetails() { InitializeComponent(); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); drEmployee = null; employeeExists = false; }
/// <summary> /// Initializes the form with the values from the provided datarow. /// </summary> /// <param name="drProject">A datarow containing valid project information.</param> public frmProjectDetails(DataRow drProject) { InitializeComponent(); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); this.drProject = drProject; projectExists = true; }
public frmProjects() { InitializeComponent(); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); dtProjects = new DataTable("Projects"); dtClients = new DataTable("Clients"); dtTasks = new DataTable("Tasks"); }
public frmSelectEmployee(DataRow drProject) { InitializeComponent(); dtEmployees = new DataTable("Employees"); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); this.drProject = drProject; }
/// <summary> /// Initializes the form with all fields empty. /// </summary> public frmProjectDetails() { InitializeComponent(); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); dtProjectEmployees = new DataTable("ProjectEmployees"); drProject = null; projectExists = false; }
public frmClientDetails() { InitializeComponent(); dbFunctions = new DatabaseFunctions(Properties.Settings.Default.timesheetConnectionString); }