/// <summary> /// Formulário Customizado /// </summary> /// <param name="pType"></param> public FormSystem(SAPbouiCOM.BoFormBorderStyle pBorderStyle) : this() { var creationPackage = SboApp.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams) as SAPbouiCOM.FormCreationParams; creationPackage.UniqueID = this.GetHashCode().ToString(); creationPackage.FormType = string.Format("{0}_{1}", Application.GetInstance().NameSpace, this.GetType().Name); creationPackage.BorderStyle = pBorderStyle; FormBind = SboApp.Forms.AddEx(creationPackage) as SAPbouiCOM.Form; GetEvents(); FormSystemManager.Instance().AddFormOpen(this); }
public void ShowSystemModel() { Show(); FormSystemManager.Instance().FormSystemModal = this; }