Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unit View.Pages.Menu.Principal003;
- interface
- uses
- Winapi.Windows,
- Winapi.Messages,
- System.SysUtils,
- System.Variants,
- System.Classes,
- Vcl.Graphics,
- Vcl.Controls,
- Vcl.Forms,
- Vcl.Dialogs,
- Vcl.ExtCtrls,
- View.Components.Helpers,
- View.Styles.Colors;
- type
- TPageMenuPrincipal003 = class(TForm)
- Panel1: TPanel;
- Panel2: TPanel;
- private
- { Private declarations }
- FPanelMenu : TPanel;
- public
- { Public declarations }
- function Component : TWinControl;
- function PanelMenu(aValue : TPanel) : TPageMenuPrincipal003;
- end;
- var
- PageMenuPrincipal003: TPageMenuPrincipal003;
- implementation
- {$R *.dfm}
- { TPageMenuPrincipal003 }
- function TPageMenuPrincipal003.Component: TWinControl;
- begin
- Result := Panel1;
- Panel1.Align:=alClient;
- Panel1.Parent:=FPanelMenu;
- Panel1.Visible:=True;
- Panel2.Components
- .Clocks.Clock002(Self)
- .Attributes
- .BackGround($482925)
- .FontColor(INFO)
- .Align(alClient)
- .&End
- .Component;
- Panel1.Components
- .Buttons.Button005(Self)
- .Attributes
- .BackGround(SECONDARY)
- .FontColor(INFO)
- .Title('Clientes')
- .Image('ico_people')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component;
- Panel1.Components
- .Buttons.Button005(Self)
- .Attributes
- .BackGround(SECONDARY)
- .FontColor(INFO)
- .Title('Fornecceddores')
- .Image('ico_people')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component;
- Panel1.Components
- .Buttons.Button005(Self)
- .Attributes
- .BackGround(SECONDARY)
- .FontColor(INFO)
- .Title('Produtos')
- .Image('ico_people')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component;
- Panel1.Components
- .Buttons.Button005(Self)
- .Attributes
- .BackGround(SECONDARY)
- .FontColor(INFO)
- .Title('Usuários')
- .Image('ico_people')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component;
- Panel1.Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(SECONDARY)
- .DestBackGround(PRIMARY)
- .FontColor(INFO)
- .Title('Tributação')
- .Image('ico_keydown')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .&End
- .AddSubMenu(
- Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(LIGHT3)
- .DestBackGround(PRIMARY)
- .FontColor(LIGHT)
- .Title('Tributação ICMS')
- .Image('ico_control')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component
- )
- .AddSubMenu(
- Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(LIGHT3)
- .DestBackGround(PRIMARY)
- .FontColor(LIGHT)
- .Title('Tributação IPI')
- .Image('ico_control')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component
- )
- .AddSubMenu(
- Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(LIGHT3)
- .DestBackGround(PRIMARY)
- .FontColor(LIGHT)
- .Title('Tributação PIS/Cofins')
- .Image('ico_control')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component
- )
- .Component;
- Panel1.Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(SECONDARY)
- .DestBackGround(PRIMARY)
- .FontColor(LIGHT)
- .Title('Tabelas Tributarias')
- .Image('ico_keydown')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .&End
- .AddSubMenu(
- Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(LIGHT3)
- .DestBackGround(PRIMARY)
- .FontColor(LIGHT)
- .Title('Operações Fiscais')
- .Image('ico_control')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component
- )
- .AddSubMenu(
- Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(LIGHT3)
- .DestBackGround(PRIMARY)
- .FontColor(LIGHT)
- .Title('Tabela de CRT')
- .Image('ico_control')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component
- )
- .AddSubMenu(
- Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(LIGHT3)
- .DestBackGround(PRIMARY)
- .FontColor(LIGHT)
- .Title('Tabela de CST')
- .Image('ico_control')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component
- )
- .AddSubMenu(
- Components.Accordions.Accordion001(Self)
- .Attributes
- .BackGround(LIGHT3)
- .DestBackGround(PRIMARY)
- .FontColor(LIGHT)
- .Title('Tabela de CFOP')
- .Image('ico_control')
- .Align(alTop)
- .TitleAlignment(taCenter)
- .Onclick(
- procedure (Sender : TObject)
- begin
- //
- end
- )
- .&End
- .Component
- )
- .Component;
- end;
- function TPageMenuPrincipal003.PanelMenu(aValue: TPanel): TPageMenuPrincipal003;
- begin
- Result := Self;
- FPanelMenu:=aValue;
- end;
- end.
Add Comment
Please, Sign In to add comment