private void mnuInsurance_Click(object sender, EventArgs e) { var frmInsurance = new InsuranceUI(); frmInsurance.MdiParent = this; frmInsurance.Show(); }
public InsuranceProgramUI(InsuranceUI frmInsurance) { this.frmInsurance = frmInsurance; insuranceProgramRepository = EntityContainer.GetType <IInsuranceProgramRepository>(); userAccessRepository = EntityContainer.GetType <IUserAccessRepository>(); InitializeComponent(); }