Before using the business logic display interface, you must register the interface and register it with the system, the main program displays the authorization-related interface based on user authorization.
IBeamUIAttribute must be used for interface registration:
Definition:
/// <Summary>
/// Register the flag attributes on the page
/// </Summary>
[AttributeUsageAttribute (AttributeTargets. Class, AllowMultiple = true)]
Public sealed class IBeamUIAttribute: Attribute
Component:IBeamMDAACore. dll
Namespace:IBeam. MDAA. Objects
Example:
Interface Definition, marked on the class definition of the interface:
[IBeamUI (Guid = UIConstent. productsGuid, Category = UIConstent. productsCatalog, Name = UIConstent. productsName, DisplayMode = DisplayMode. dependOnPurview, UIType = UIType. form, Icon = UIConstent. productsIcon, IsDefault = false, sortindex= 518, FunctionIDs = UIConstent. productsFunctionIDs)]
Public partial class FrmProductsManager: Form
Serial number |
Attribute name |
Description |
1 |
Guid |
Is the unique ID of the interface |
2 |
Category |
The group to which the interface belongs. It is used to classify and organize the main interface. |
3 |
Name |
Friendly name displayed on the page |
4 |
DisplayMode |
The display mode of the interface is displayed based on permissions or to all users. |
5 |
UIType |
Interface Type: Page, form, control, hyperlink, Flash, Applet |
6 |
Icon |
Interface-related icons. The default icons are displayed at a scheduled time. |
7 |
IsDefault |
Indicates whether to display the first default Interface in a category. |
8 |
SortIndex |
Interface sorting ID |
9 |
FunctionIDs |
Function ID contained in the interface |