public GenericDocumentFormController(GenericDocumentForm frmGenericDocument) : base(frmGenericDocument) { FormConfigurationParameters pmtFormConfiguration = new FormConfigurationParameters(); this.frmGenericDocument = frmGenericDocument; this.frmGenericDocument.grdPrincipal.InitializeLayout += new InitializeLayoutEventHandler(grdPrincipal_InitializeLayout); this.frmGenericDocument.ulblSchUsername.Text = Session.User.Username; if (this.FormConfiguration != null) { this.frmGenericDocument.Text = this.FormConfiguration.FormEndUserName; } if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvGeneric = SamsaraAppContext.Resolve <IGenericService>(); } this.FormStatus = FormStatusEnum.Search; this.ShowDetail(false); }
public GenericDocumentFormController(GenericDocumentForm frmGenericDocument) : base(frmGenericDocument) { FormConfigurationParameters pmtFormConfiguration = new FormConfigurationParameters(); this.frmGenericDocument = frmGenericDocument; this.frmGenericDocument.grdPrincipal.InitializeLayout += new InitializeLayoutEventHandler(grdPrincipal_InitializeLayout); this.frmGenericDocument.ulblSchUsername.Text = Session.User.Username; if (this.FormConfiguration != null) { this.frmGenericDocument.Text = this.FormConfiguration.FormEndUserName; } this.FormStatus = FormStatusEnum.Search; this.ShowDetail(false); }