text stringlengths 14 6.51M |
|---|
unit InfraView;
interface
uses
InfraCommon,
InfraMVPIntf;
type
TView = class(TElement, IView)
private
FParentView: IView;
FPresenter: IPresenter;
FSubViews: IViewList;
protected
FRenderer: IRenderer;
function GetParentView: IView;
function GetSubViews: IViewList;
... |
unit _Script;
/////////////////////////////////////////////////////////////////////
//
// Hi-Files Version 2
// Copyright (c) 1997-2004 Dmitry Liman [2:461/79]
//
// http://hi-files.narod.ru
//
/////////////////////////////////////////////////////////////////////
interface
uses Objects, _Report, _CFG;
... |
{******
单 元:uImportC.pas
作 者:刘景威
日 期:2009-3-16
说 明:从Excel中导入员工合同单元
更 新:
******}
unit uImportC;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBase, StdCtrls, Buttons, ExtCtrls, DBGridEh, Mask, RzEdit, ExcelXP,
RzBtnEdt, Grids, ComCtr... |
unit Utils.IniFile;
interface
uses
System.SysUtils,
System.IniFiles;
type
TIniFileConfig = class(TIniFile)
private
function GetDatabaseHostname: String;
function GetDatabaseUsername: String;
function GetDatabasePassword: String;
function GetDatabasePort: String;
function GetDatabasePath: ... |
unit FMain;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.Memo.Types,
FMX.ScrollBox,
FMX.Memo,
FMX.Controls.Presentation,
FMX.StdCtrls;
type
TFormMain = class(TForm)
... |
unit CreateSequence;
interface
uses
System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CreateObjectDialog, Vcl.StdCtrls,
BCControls.Edit, Vcl.ImgList, SynEditHighlighter, SynHighlighterSQL, ActnList, ComCtrls, ToolWin, JvExComCtrls,
SynEdit, Vcl.ExtCtrls, JvComCtrls, BCC... |
{ This unit defines the structure of the model. There are four functions. The
first function, called counts, defines the number, names, and units of the
model, the state variables, the process variables, the driver variables and
the parameters. The second function, called processes, is the actual equations
whic... |
unit untFrmExercicio2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, untFrmBase, Data.DB, Vcl.Grids,
Vcl.DBGrids, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ExtCtrls, untDtmExercicio2,
Vcl.Mask, Vcl.DBCtrls, FireDAC.C... |
unit dao.PedidoItem;
interface
uses
UConstantes,
classes.ScriptDDL,
model.PedidoItem,
System.StrUtils,
System.Math,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
Data.DB, FireDAC.Comp.Client, FireDAC.Comp.DataSet,
FMX.Graphics;
type
TPedidoItemDa... |
{-------------------------------------------------------------------------------
DEVIUM Content Management System
Copyright (C) 2004 by DEIV Development Team.
http://www.deiv.com/
Image Editor
Жалобы и предложения кидать сюда:
ICQ: 177439483
e-mail: irvis@deiv.com
-------------------... |
unit MainFMXU;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
System.Bluetooth, System.Bluetooth.Components, FMX.Layouts, FMX.Memo;
type
TForm2 = class(TForm)
Button1: TButton;
... |
{
Re-Evaluator v1.0
created by matortheeternal
* CHANGES *
- Removed redundant the Bethesda Files listing - it's inherited from
mteFunctions.pas.
- Saving and loading of function lists.
- HasItem and HasPerkCondition have been moved to mteFunctions.
* DESCRIPTION *
This script with re-evaluat... |
unit POOCalculadora.View.Principal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
POOCalculadora.Model.Calculadora.Interfaces,
POOCalculadora.Model.Classs.Helpers;
type
TFrmPrincipal = clas... |
{ File : HrdTypes.pas *}
unit HrdTypes;
interface
const
// Success Code
S_HRD_OK : HResult = HResult($00000000);
// End of Success Code
// Information Code
I_HRD_RESULT_NOTPRESENT : HResult = HResult($40002000);
// En... |
{ ***************************************************************************** }
{ * fpc Unicode string support,writen by QQ 600585@qq.com * }
{ * https://github.com/PassByYou888/CoreCipher * }
{ * https://github.com/PassByYou888/ZServer4D ... |
unit WynikiIDodatki;
interface
uses
Spin;
type
TGra = record
Nazwa : String[255];
Skrot : String[255];
Prefiks : String[255];
PlikWyniki : String[255];
IloscLiczbGry : integer;
IloscLiczbLosowanych : integer;
ZakresLiczbOd : integer;
LiczbySortowane : boolean;
URLWyniki : Str... |
{ wakaru
Copyright (c) 2019 mr-highball
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish... |
unit fListaProduto;
interface
uses
Generics.Collections,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, AdvObj, BaseGrid, AdvGrid, DBAdvGrid, StdCtrls, Mask, DBCtrls,
ExtCtrls, DB,
Aurelius.Bind.Dataset,
Aurelius.Engine.ObjectManager,
Entidades.Cadastro;
type... |
Unit Adler32;
{
Written 1995 by Oliver Fromme <fromme@rz.tu-clausthal.de>.
Donated to the public domain.
Freely usable, freely distributable.
Nobody may claim copyright on this code.
This unit provides an Adler32 check, as specified in the ziplib library.
}
{$A+,B-,D+,I-,l+,T-,V+,X+,Y+,S-,R-,Q-}
{$U... |
unit uDataRestore;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBase, StdCtrls, Buttons, ExtCtrls, ComCtrls, Mask, RzEdit,
RzBtnEdt, RzPrgres;
type
TfrmDataRestore = class(TfrmBase)
Label3: TLabel;
Label1: TLabel;
pb: TProgressBa... |
{*******************************************************}
{ }
{ NTS Code Library }
{ Created by GooD-NTS ( good.nts@gmail.com ) }
{ http://ntscorp.ru/ Copyright(c) 2011 }
{ License: Mozilla Pu... |
unit RT_Print;
interface
uses
Windows, Classes, SysUtils, Printers, Grids, Graphics;
type
PPrintGridData = ^TPrintGridData;
TPrintGridData = record
Grid: TStringGrid;
PageMark: String;
Title: String;
TitleHeight: Integer;
Margins: record
Left : Double;
Top : D... |
unit Numbers;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
Range = record
rangeFrom: integer;
rangeTo: integer;
end;
TArrayRanges = array of Range;
var
hasError: boolean;
errorMessage: string;
procedure setRange(_from: string; _to: string; var range: Range);
function isPerfect(V... |
unit UMemoHandler;
interface
uses UxlDialog, UMemoPage, UxlList, UxlClasses, UPageFactory, UxlWinclasses, UTypeDef;
type
TReminderPopupBox = class (TxlDialogML)
private
FItem: TMemoItem;
protected
procedure OnInitialize (); override;
procedure OnOpen (); override;
procedure OnCo... |
unit VE;
interface
type TVector = class // Kartesischer 2D-Vektor
public
x, y: real;
constructor Create(x, y: real); // Neuen Vektor erzeugen
constructor Clone(a: TVector); // Vektor a klonen
function Abs(): real; ... |
{
ID: ndchiph1
PROG: checker
LANG: PASCAL
}
uses math;
const MAX = 13;
var
fi,fo: text;
d: array[1..MAX] of integer;
a: array[1..MAX] of boolean;
b: array[2..2*MAX] of boolean;
c: array[1-MAX..MAX-1] of boolean;
n,res: longint;
procedure print;
var i: integer;
first: boolean;
begin
inc(res... |
unit urlencoder;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
function EncodeUrl(url: string): string;
function DecodeUrl(url: string): string;
implementation
function EncodeUrl(url: string): string;
var
x: integer;
sBuff: string;
const
SafeMask = ['A'..'Z', '0'..'9', 'a'..'z', '*', '@', '.', '_'... |
{*******************************************************}
{ }
{ HCView V1.1 作者:荆通 }
{ }
{ 本代码遵循BSD协议,你可以加入QQ群 649023932 }
{ 来获取更多的技术交流 2018-5-4 }
{... |
unit RepairNewFRMUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ClientDMUnit, StdCtrls, Buttons, DBCtrls, Menus, cxMaskEdit,
cxDropDownEdit, cxDBEdit, cxContainer, cxEdit, cxControls, cxTextEdit,
cxClasses, cxGraphics, cxLookAndFeels, cxLookAndFeelPain... |
unit ipwatchwinshoe;
////////////////////////////////////////////////////////////////////////////////
// *************************************************************
// Simple component determines Online status,
// returns current IP address, and keeps history on IP's issued.
// ********************************... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [PESSOA]
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated document... |
unit FastUtils;
{ Optimized Delphi routines for RGBA<>BGRA conversion, YV12>RGBA conversion and
bitmap rotation }
interface
{ Swaps the Red and Blue components of pixels in a memory buffer.
Parameters:
ASrc: points to the source buffer containing the pixels to convert.
ADst: points to the destination buf... |
unit TBGZeosDriver.Model.Conexao;
interface
uses
TBGConnection.Model.Interfaces, System.Classes,
ZConnection, Data.DB, TBGConnection.Model.DataSet.Interfaces;
Type
TZeosDriverModelConexao = class(TInterfacedObject, iConexao)
private
FConnection : TZConnection;
FDriver : iDriver;
public
... |
unit U_CadastroDenuncias;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
U_CADASTROPADRAO, System.Actions, FMX.ActnList, FMX.Controls.Presentation,
FMX.Layouts, FMX.Edit, FMX... |
unit EmployeForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.DBGrids, dm,
Vcl.StdCtrls, Vcl.ToolWin, Vcl.ComCtrls, EmployeRecordForm;
type
TForm3 = class(TForm)
DBGridEmplo... |
Type
BoolProc = function (s: string): boolean;
PBoolProc = ^BoolProc;
Const
HashSum: longint = 3412;
var
str: string;
Function Hash (Key: string): Longint;
Var
I,
Sum:Integer;
Begin
Sum := 0;
For I := 1 To Length (Key) Do
Sum := Sum + (Ord (Key[I]) * (1 shl I));
Result := Sum;
End;
function Passed (... |
unit CRCollectionSampleEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CommonFrame, ComCtrls, CoreCollection, StdCtrls, ExtCtrls;
type
TfrmCollectionSampleEdit = class(TfrmCommonFrame)
gbxAllProperties: TGroupBox;
txtWell: TStaticText;
edtSam... |
unit pcre;
{ .Net-style Regular Expression Library for use with Delphi 2009 or later.
Copyright (C) 2009 by Erik van Bilsen.
Email: erik@bilsen.com
Website: www.bilsen.com/regularexpressions
License in plain English:
1. I don't promise that this software works. (But if you find any bugs,
please let me know!... |
unit UxlFile;
interface
uses Windows, SysUtils, UxlClasses, UxlFunctions, UxlStrUtils;
type TFileMode = (fmRead, fmWrite);
TEncode = (enUnknown, enAnsi, enUTF8, enUTF8_BOM, enUTF16LE, enUTF16BE);
type
TxlFile = class
private
function f_GetPosition (): cardinal;
procedure f_SetPositio... |
unit Expedicao.Models.uVeiculo;
interface
uses
System.JSON,
System.Generics.Collections,
Expedicao.Models.uCombustivel,
Expedicao.Models.uSeguro;
type
TVeiculo = class
private
FCor: string;
FModelo: string;
FVeiculoOID: Integer;
FAno: string;
FMarca: string;
FRenavam:... |
unit ConfirmReplace;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls;
type
TConfirmReplaceDialog = class(TForm)
CancelButton: TButton;
ConfirmationLabel: TLabel;
Image: TImage... |
program baitap_134;
const
MAX = 1000;
LINK = 'SCHOLAR.';
IP = 'INP';
OP = 'OUT';
type
Studen = record
sName : string[25];
score : real;
end;
var
f : text;
n, _reslt: Integer;
A : array[1..MAX] of Studen;
procedure Input();
var
i: Integer;
begin
assign(f,LINK+IP);
reset(f);
readln(f,n);
for i := 1 to n... |
{*******************************************************************************
作者: dmzn@163.com 2019-05-21
描述: 常量定义
*******************************************************************************}
unit USysConst;
interface
uses
Winapi.Windows, System.Classes, System.IniFiles, Vcl.Forms, System.SysUti... |
(*
@abstract(Contient les classes de base devant être hérité pour l'application de filtres graphique)
-------------------------------------------------------------------------------------------------------------
@created(2017-08-22)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
@i... |
unit drvedit;
interface
procedure Register;
implementation
uses classes,DesignIntf,sysutils,vfw,videocap,DesignEditors;
// Property Editor for driver selection in Video-Cap
type TDrivereditor= class (TPropertyEditor)
function GetAttributes:TPropertyAttributes;override;
procedure GetValues(P... |
unit Unit2;
interface
uses
System.SysUtils, System.Classes, JS, Web, WEBLib.Graphics, WEBLib.Controls,
WEBLib.Forms, WEBLib.Dialogs, Vcl.StdCtrls, WEBLib.StdCtrls, Vcl.Controls,
XData.Web.Client, XData.Web.Connection;
type
TForm2 = class(TWebForm)
txtCelsius: TWebEdit;
txtFahrenheit: TWebEdit;
bt... |
program test_auger;
{$APPTYPE CONSOLE}
{$IFDEF FPC}
{$linklib libxrl}
{$ENDIF}
{$mode objfpc}
{$h+}
uses xraylib, xrltest, Classes, SysUtils, fpcunit, testreport, testregistry;
type
TestAugerRate = class(TTestCase)
private
procedure _Test_bad_Z;
procedure _Test_bad_trans;
procedure _Test_invalid_trans;
publ... |
{***************************************************************************}
{ }
{ DMemCached - Copyright (C) 2014 - Víctor de Souza Faria }
{ }
{ victo... |
unit InifileMan;
interface
USES inifiles, Classes, registry ;
Function ReadStrFromInifile(filename,Section,Ident:String):String;
Procedure WriteStrToInifile(filename,Section,Ident,Value:String);
Function ReadSectionFromIniFile(FileName,Section:String):TStringList;
Function ReadStrFromRegistry(Section,Ident:... |
unit uMainForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs,
BZColors, BZGraphic, BZBitmap, BZStopWatch, BZCadencer;
type
{ TMainForm }
TMainForm = class(TForm)
procedure FormShow(Sender : TObject);
procedure FormKeyPress(Sender : TObject; var Key : cha... |
unit XLSReadWriteII;
{
********************************************************************************
******* XLSReadWriteII V1.15 *******
******* *******
******* Copyright(C) 1999,2004 Lars Arvidsson, ... |
program LazBlockCoding;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp
{ you can add units after this };
type
{ TBlockCoding }
TBlockCoding = class(TCustomApplication)
protected
procedure DoRun; override;
public
constructor... |
unit Classe.Pessoa;
interface
uses
System.dateutils, System.SysUtils;
type
TPessoa = class
private
fnascimento: tdate;
fid: integer;
FIdade: integer;
fnome: string;
fSalario: double;
procedure SetIdade(const Value: integer);
procedure setnascimento(const Value: tdate);
public
... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
unit TextEditor.Search.Highlighter;
interface
uses
System.Classes, Vcl.Graphics, TextEditor.Search.Highlighter.Colors, TextEditor.Types;
type
TTextEditorSearchHighlighter = class(TPersistent)
strict private
FColors: TTextEditorSearchColors;
FOnChange: TTextEditorSearchChangeEvent;
procedure SetCol... |
unit uColour;
interface
type
Colour = record
red, green, blue, special: Double;
class function Create: Colour; overload; static;
class function Create(r,g,b,s: Double): Colour; overload; static;
function brightness: Double;
function colorScalar(scalar: Double): Colour;
function co... |
(* KWTBL - prepare keyword tables for use in lexical analyzers
USAGE: kwtbl [<input-file] [>output-file]
DESCRIPTION
KWTBL is a tiny utility that helps you prepare keyword tables for use
in lexical analyzers, such as yylex routines prepared with the TP Lex
program.
In languages with a large numbe... |
unit wizardsource;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Tabs,
Vcl.ComCtrls, Data.DB, Data.Win.ADODB, Vcl.Imaging.jpeg, Vcl.Imaging.pngimage;
type
TfrmWizardSource =... |
{*******************************************************************************
作者: dmzn 2009-2-2
描述: 带图片平铺功能的自绘组件
*******************************************************************************}
unit UImgControl;
interface
uses
Windows, Classes, Controls, Graphics, SysUtils;
type
TZnImageContro... |
unit CrossUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ToolWin, ComCtrls, ExtCtrls, CrossMainFrame, CrossDetailedFrame,
Buttons, StdCtrls;
type
{ TCrossForm }
TMainFrameClass = class of TMainFrame;
TDetailedFrameClass = class of TDetailedFrame;
... |
unit GBJSON.DateTime.Helper;
interface
uses System.sysUtils, System.DateUtils;
type TGBJSONDatetimeHelper = record helper for TDateTime
private
function Iso8601ToDateTime(AValue: String): TDateTime;
public
function DateTimeToIso8601: string;
function Format(ADateFormat: String): String;
functi... |
unit pathlib;
{$mode objfpc}{$H+}
{$ModeSwitch advancedrecords}
interface
uses
Classes, SysUtils, CustomPath;
type
EInvalidPathException = CustomPath.EInvalidPathException;
EPathNotRelativeException = CustomPath.EPathNotRelativeException;
EPathNotExistsException = class(Exception);
EPathAlreadyExistsExcep... |
unit remote.command.ResizeWindow;
interface
uses
superobject,
dco.framework.Command;
type
TResizeWindow = class(TCommand)
private
FWidth: Cardinal;
FHeight: Cardinal;
public
property Width: Cardinal read FWidth;
property Height: Cardinal read FHeight;
public
constructor Create(Width, ... |
{ Este exemplo foi baixado no site www.andrecelestino.com
Passe por lá a qualquer momento para conferir os novos artigos! :)
contato@andrecelestino.com }
unit untTabelaTemporaria;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DB, StdCtrls, Butt... |
unit InputF;
interface
uses
StdCtrls,
Spin,
Forms,
Controls,
Classes;
type
TInputForm = class(TForm)
CancelButton : TButton;
InputEdit : TEdit;
InputLabel : TLabel;
InputSpinEdit : TSpinEdit;
OKButton : TButton;
procedure CancelButtonClick(Sender :... |
unit TBGConnection.Model.Helper;
interface
type
THelperString = record helper for String
function ToExtractTableName : String;
end;
implementation
uses
System.SysUtils;
{ THelperString }
function THelperString.ToExtractTableName: String;
var
Aux : String;
begin
if Pos('INSERT', Self) > 0 then
... |
unit sMaskEdit;
{$I sDefs.inc}
{.$DEFINE LOGGED}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs{$IFNDEF DELPHI5}, types{$ENDIF},
StdCtrls, Mask, sCommonData, sConst, sDefaults{$IFDEF LOGGED}, sDebugMsgs{$ENDIF};
type
TsMaskEdit = class(TMaskEdit)
{$IFNDEF NOTFORHELP}
... |
unit test05.UnitWithClass;
interface
uses
System.SysUtils,
System.Classes,
System.JSON,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
{}
test05.Support;
type
TDataIngestorForm = class(TForm)
btnLoadData: TButton;
btnProcessData: TButton;
btnClearLog: TButton;
memJSONData: TMemo;
edtFile... |
unit AddBusStop;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Maps, FMX.Objects, Aurelius.Engine.ObjectManager,
DBConnection, Aurelius.Schema.SQ... |
(*
@abstract(Contient des classes de bases conçues à des fins génériques pour gérer et afficher des textes
en UTF-8 et WideString suivant la police de de craractères choisie.)
-------------------------------------------------------------------------------------------------------------
@created(2016-11-16)
... |
unit frmProjectTicket_u;
// Craig Stroberg
// 70854
// Project Ticket form allows the user to interact with the data
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Data.DB, Vcl.Menus, ProjectTick... |
(*======================================================================*
| unitCallbackComponent |
| |
| The contents of this file are subject to the Mozilla Public License |
| Version 1.1 (the ... |
unit DAO.MovimentoEstoqueVA;
interface
uses DAO.Base, Model.MovimentoEstoqueVA, Generics.Collections, System.Classes;
type
TMovimentoEstoqueVADAO = class(TDAO)
public
function Insert(aMovimento: TMovimentoEstoqueVA): Boolean;
function Update(amovimento: TMovimentoEstoqueVA): Boolean;
function Delete(... |
unit PLAT_GroupLink;
interface
uses Classes, PLAT_QuickLink, Sysutils, Windows, Menus, PLAT_Utils, Forms;
type
TGroupLink = class(TQuickLink)
private
FItems: TList;
FOpened: Boolean;
PopupMenu: TPopupMenu;
procedure ToMenuItems(mi: TMenuItem);
procedure RefreshPopupMenu;
procedu... |
unit ULogin;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Buttons, Vcl.StdCtrls,
Vcl.DBCtrls, Data.DB, Vcl.AppEvnts, Vcl.ComCtrls;
type
TFLogin = class(TForm)
Panel1: TPanel;
Pan... |
unit UEditBox;
interface
uses UxlDialog, UxlStdCtrls, UPageSuper, UTypeDef;
type
TEditBoxSuper = class (TxlDialog)
private
FItemID: integer;
FInsertBeforeId: integer;
FParentPage: TPageSuper;
procedure f_LoadRec ();
procedure f_OnCbIconRightClicked (Sender: TObject);
... |
unit AreaPoster;
interface
uses PersistentObjects, DBGate, BaseObjects, DB, SysUtils;
type
TAreaDataPoster = class(TImplementedDataPoster)
public
function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override;
function PostToDB(AObject: TIDObject; ACollection: TIDObjects): integer; override... |
{
Remove a percentage amount (iRemovePercents) of references of specific object (sBaseObjectID)
}
unit RemovePercentageOfRefs;
const
iRemovePercents = 30; // percents of references to remove
sBaseObjectID = 'CaveGBoulderL02'; // editor id of object
sRefSignatures = 'REFR,ACHR,PGRE,PMIS,PHZD,PARW,PBAR,PBEA,PCON... |
unit UBoard;
interface
uses Windows, UxlWinControl;
type
TShape = (esSquare, esRound, esOval);
TElement = record
Text: widestring;
Shape: TShape;
Position: TPoint;
end;
TBoard = class (TxlControl)
private
FElements: array of TElement;
procedure f_Draw ();
pr... |
unit UCliente;
interface
uses
System.StrUtils,
System.Math,
System.Generics.Collections,
model.Cliente,
dao.Cliente,
interfaces.Cliente,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.St... |
(*======================================================================*
| unitExGraphics unit |
| |
| Simple graphics functions to convert HSL to RGB. Provides 2-color |
| 256 color palette... |
unit TestFastStringBuilder;
interface
uses
DUnitX.TestFramework,
FastStringBuilder;
type
[TestFixture]
TTestFastStringBuilder<T> = class
public
[Setup]
procedure Setup;
[Teardown]
procedure TearDown;
[Test]
//[Testcase('RandomIntSort 8','10000000')]
//[Testcase('RandomIntSort 1... |
unit uFormMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TFormMain = class(TForm)
Button1: TButton;
Button2: TButton;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
privat... |
unit uFrmEditCurso;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.CheckLst, uCurso,
uCursoDAO, usalaDAO, FireDac.Comp.Client;
type
TFrmEditarCurso = class(TForm)
BtnSave: TButton;
... |
(*
Составьте программу, которая по номеру введенного месяца
выводит квартал года.
*)
program Kvartal;
uses crt,math;
var
month:Integer; { Номер месяца }
begin
clrscr;
WriteLn('Введите номер месяца');
WriteLn('Month = ');
ReadLn(month); { Ввод номера месяца}
case month of
1:WriteLn('Пер... |
unit uGBEUtils3D;
interface
uses System.Math.Vectors, System.Types, FMX.Objects3D, Math, FMX.Controls3D, FMX.Graphics, FMX.Types3D, System.UITypes, FMX.Effects,
System.UIConsts, System.SysUtils, System.RTLConsts, FMX.Types, FMX.Ani;
function Barycentre(p1, p2, p3 : TPoint3D; p4 : TPointF):single;
function C... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela de Cadastro de Índices para o módulo Contabilidade
The MIT License
Copyright: Copyright (C) 2016 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software... |
unit uSalaryChanger;
interface
uses
Spring.Interception
;
type
TSalaryChanger = class
procedure ChangeSalary(const aNewSalary: Integer); virtual;
end;
TMinSalaryChangerInterceptor = class(TInterfacedObject, IInterceptor)
procedure Intercept(const Invoker: IInvocation);
end;
TSalaryCha... |
unit sStatusBar;
{$I sDefs.inc}
{.$DEFINE LOGGED}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, sConst, {$IFDEF LOGGED}sDebugMsgs,{$ENDIF}
ComCtrls, sCommonData{$IFDEF TNTUNICODE}, TntComCtrls{$ENDIF};
type
{$IFDEF TNTUNICODE}
TsStatusBar = class(TTntStatusBar)
{$ELSE... |
{
This software is Copyright (c) 2016 by Doddy Hackman.
This is free software, licensed under:
The Artistic License 2.0
The Artistic License
Preamble
This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that th... |
unit unitVersionInfo;
interface
uses Windows, Classes, SysUtils;
type
TVersionInfo = class
fModule : THandle;
fVersionInfo : PChar;
fVersionHeader : PChar;
fChildStrings : TStringList;
fTranslations : TList;
fFixedInfo : PVSFixedFileInfo;
fVersionResHandle : THandle;
fModuleLoaded : bo... |
unit Neslib.MultiPrecision;
{ Multi-precision floating-point library.
Uses QD 2.3.22 (https://www.davidhbailey.com/dhbsoftware/)
Adds support for 128-bit (DoubleDouble) and 256-bit (QuadDouble) floating-
point types.
These types offer the same range as the Double type (+/- 10e308) but a lot
more precision (... |
(******************************************************************************
* *
* XP Usermanager *
* TabDlgs, Tabdialogs dialog function *
... |
unit TBGFirebaseConnection.Interfaces;
interface
uses System.JSON, Data.DB;
type
iFirebaseConnect = interface;
iFirebasePut = interface;
iFirebaseGet = interface;
iFirebasePatch = interface;
iFirebaseDelete = interface;
iFirebaseConnection = interface
['{D24B1AB1-2AA9-46E3-8DB8-5CB550A2BD17}']
f... |
unit PessoaService;
interface
uses
System.SysUtils, System.Generics.Collections, ServiceBase, MVCFramework.DataSet.Utils,
//
Pessoa, PessoaFisica, PessoaJuridica, PessoaContato, PessoaTelefone, PessoaEndereco;
type
TPessoaService = class(TServiceBase)
private
class procedure AnexarObjetosVinculados(co... |
unit DialogSearchCustFRMUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DBClient, StdCtrls, Buttons, cxTextEdit, cxControls,
cxContainer, cxEdit, cxDBEdit,
cxClasses, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters;
type
TFormSelectCust = class... |
unit DevMax.View.Factory;
interface
uses
System.Classes,
System.Generics.Collections, FMX.Controls,
DevMax.View.Types;
type
TViewItemClassInfo = record
Id: string;
ViewItemClass: TViewItemClass;
constructor Create(AId: string; AItemClass: TViewItemClass);
end;
TViewItemFactory = class
pri... |
{ Module of routines that manipulate internet-related strings.
}
module string_inet;
define string_f_inetadr;
define string_t_inetadr;
%include 'string2.ins.pas';
{
*******************************************************************
}
procedure string_f_inetadr ( {binary internet address to dot notation str... |
unit uHandlerClientDM;
interface
uses
uClientDM,
IdTCPConnection,
Generics.Collections,
uRequestDM,
SyncObjs;
type
THandlerClient = class
protected
Section: TCriticalSection;
Clients: TList<TClient>;
public
constructor Create(Clients1: TList<TClient>);
... |
{**********************************
Console Input\Output module
v 1.0
***********************************}
unit ConioEngine;
interface
uses Video, Crt;
procedure UConioEngineInit;
procedure UConioEngineDone;
procedure UConioEngineRefresh;
procedure ConioEngineWriteChar(X,Y:integer; c:char; c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.