Пример #1
0
 public FrmCompanyEdit(ICompanyService companyService, FrmActivityEdit frmActivityEdit, FrmActivityAdd frmActivityAdd, IActivityService activityService)
 {
     this.frmActivityEdit = frmActivityEdit;
     this.frmActivityAdd  = frmActivityAdd;
     this.activityService = activityService;
     this.companyService  = companyService;
     InitializeComponent();
     frmActivityAdd.MdiParent   = this.MdiParent;
     frmActivityAdd.MasterForm  = this;
     frmActivityEdit.MdiParent  = this.MdiParent;
     frmActivityEdit.MasterForm = this;
 }