public EmployeeListUI(IncentiveUI frmIncentive) { InitializeComponent(); employeeRepository = EntityContainer.GetType <IEmployeeRepository>(); this.frmIncentive = frmIncentive; formActive = "Incentive"; }
private void tsbIncentive_Click(object sender, EventArgs e) { var frmIncentive = new IncentiveUI(); frmIncentive.MdiParent = this; frmIncentive.Show(); }