Пример #1
0
        public virtual object Show()
        {
			if (FormXml != null)
			{
				_form = FormController.GenerateForm(FormXml, FormID, FormCount);
			}
            else if (SrdSrfFile != null)
            {
                _form = FormController.GenerateForm(SrdSrfFile, FormID, FormCount);
            }
            else
            {
                _form = FormController.GenerateForm(SrfFolder, FormID, FormCount);
            }

            if (!String.IsNullOrEmpty(BrowseBy))
            {
                _form.DataBrowser.BrowseBy = BrowseBy;
            }

            return _form;
        }
 public f2000001001(ItemEvent itemEvent)
 {
     this.ItemEventInfo = itemEvent;            
     form = SBOApp.Application.Forms.GetFormByTypeAndCount(itemEvent.FormType, itemEvent.FormTypeCount);
 }