public EmployeeDebtDetailUI(EmployeeDebtUI employeeDebt) { this.employeeDebt = employeeDebt; employeeDebtItemRepository = EntityContainer.GetType <IEmployeeDebtItemRepository>(); InitializeComponent(); }
public EmployeeListUI(EmployeeDebtUI frmEmployeeDebt) { InitializeComponent(); employeeRepository = EntityContainer.GetType <IEmployeeRepository>(); this.frmEmployeeDebt = frmEmployeeDebt; formActive = "EmployeeDebt"; }
private void tsbEmployeeDebt_Click(object sender, EventArgs e) { var frmEmployeeDebt = new EmployeeDebtUI(); frmEmployeeDebt.MdiParent = this; frmEmployeeDebt.Show(); }