text stringlengths 14 6.51M |
|---|
unit SessaoUsuario;
interface
uses Classes, Forms, Windows, IniFiles, SysUtils, UsuarioVO, EmpresaVO, EmpresaEnderecoVO,
Biblioteca, md5, VO;
type
TSessaoUsuario = class
private
FUrl: String;
FIdSessao: String;
FCamadas: Integer;
FUsuario: TUsuarioVO;
FEmpresa: TEmpresaVO;
class var FI... |
{
@abstract Implements @link(TNtLanguageDialog) dialog that lets the user to choose a new language.
VCL only.
You don't have to manually create a dialog and call its ShowModal function but
you can use @link(TNtLanguageDialog.Select) function that creates a language dialog,
shows it, and finally turn on the ... |
{-------------------------------------------------------------------------------
Copyright 2012 Ethea S.r.l.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apa... |
unit UnitOpenGLShadingShader;
{$ifdef fpc}
{$mode delphi}
{$ifdef cpui386}
{$define cpu386}
{$endif}
{$ifdef cpuamd64}
{$define cpux86_64}
{$endif}
{$ifdef cpu386}
{$define cpux86}
{$define cpu32}
{$asmmode intel}
{$endif}
{$ifdef cpux86_64}
{$define cpux64}
{$define cpu64}
{$as... |
unit TiWaitForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxControls, cxContainer, cxEdit, cxTextEdit, cxMemo, ExtCtrls;
type TWaitFormType = (wfLoadPackage,wfLocateFunction,wfSelectData,wfPrepareData, wfImportData);
type
TWaitForm = class(T... |
unit UMensagem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons, pngimage;
Type
TImagens = (ImPergunta, ImInfo, ImErro, ImAlert);
type
TFrMensagem = class(TForm)
Panel1: TPanel;
PnMensagem: TPanel;
BtConfirma: TSpeedB... |
unit common;
interface
uses Windows, Classes, SysUtils, Forms, ScktComp;
const
ServerPort = 49999;
MSG_REQUEST_FILE = $00010001;
MSG_FILE_FOLLOWS = $00010002;
MSG_REQUEST_LIST = $00020001;
MSG_LIST_FOLLOWS = $00020002;
MSG_ERR_DOES_NOT_EXIST = $00030001;
MSG_ERR_NO_FILES ... |
{
ItemStroage 및 CommandManager를 컨트롤
Form등의 외부인터페이스에서 접근하여 처리 하는 클래스
}
unit ThothController;
interface
uses
System.Classes,
ThTypes, ThClasses, ThCommandManager, ThItemStorage;
type
TThothController = class(TThInterfacedObject, IThSubject)
private
FObservers: TInterfaceList;
FItemStorage: TThItem... |
unit Antlr.Runtime.Tree;
(*
[The "BSD licence"]
Copyright (c) 2008 Erik van Bilsen
Copyright (c) 2005-2007 Kunle Odutola
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code ... |
{
//
// Components : TwwPictureValidator
//
// Copyright (c) 1996 by Woll2Woll Software
//
// Components : TwwPictureValidator
//
// Description: Implement Paradox style PictureMask support
//
}
unit Wwpict;
interface
type
TwwPicResult = (prComplete, prIncomplete, prEmpty, prError, prSyntax,
prAmbiguous, prInc... |
unit uFrmModelImage;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentSub, siComp, siLangRT, ExtCtrls, DB, ADODB, Buttons,
StdCtrls, ExtDlgs, uParentAll;
type
TSubModelImage = class(TFrmParentAll)
imgItem: TImage;
quModelImage: TADODataSet;
... |
{******************************************************************}
{ GDIPPathText }
{ }
{ home page : http://www.mwcs.de }
{ email : ... |
unit svm_grabber;
{$mode objfpc}
{$inline on}
interface
uses
SysUtils, Classes, svm_common;
const
GrabberStackBlockSize = 1024 * 8;
type
TGrabberStack = object
public
items: array of pointer;
size, i_pos: cardinal;
procedure init;
procedure push(p: pointer); i... |
// A Unit that provides classes and functions for using periods of times
// inluding workdays etc...
// NOTE: The periods are sometimes called "weeks" in the code, but dont have
// to be a real world week. They are just a list of (maybe random) days.
unit workdays;
interface
uses Classes, SysUtils, DateUtils,... |
unit ObsInterfaceUnit;
interface
type
ITimeObservationItem = interface(IUnknown)
function GetName: string;
function GetObservedValue: double;
function GetTime: double;
function GetWeight: Double;
function GetObservationGroup: string;
procedure SetObservedValue(const Value: double);
proc... |
unit uFrmStockGoodsIni; //定义基本信息表格的相关数据
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFrmMDI, ComCtrls, cxStyles, cxCustomData, cxGraphics, cxFilter,
cxData, cxDataStorage, cxEdit, dxBar, dxBarExtItems, cxClasses, ImgList,
ActnList, DB, DBClient, cxGridLe... |
unit ServerMethodsUnit1;
interface
uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth, unit1, DBXJSON,
Data.DB, system.JSON, uclasses, dialogs;
type
{$METHODINFO ON}
TServerMethods1 = class(TComponent)
private
{ Private declarations }
public
{ Public declarations }
erro : int... |
unit uFrameFioAbit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxTextEdit, cxMaskEdit, cxButtonEdit, cxControls, cxContainer,
cxEdit, cxLabel,uPrK_Resources;
type
TFrameFioAbit = class(TFrame)
cxLabelFioAbit: TcxLabel;
cxButtonEditFioAbit: TcxB... |
//
// Generated by JavaToPas v1.5 20171018 - 171306
////////////////////////////////////////////////////////////////////////////////
unit android.provider.FontsContract_FontFamilyResult;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.provider.FontsContract_FontInfo;
type
JFontsContrac... |
program QuickSort;
type
arrInt = array[1..50] of integer;
var
arr : arrInt;
n : integer;
procedure arrayInput(var n:integer; var x:arrInt);
var
i : integer;
begin
write('Broj clanova: ');
readln(n);
for i:=1 to n do
begin
write('x[', i, '] = ');
readln(x[i]);
end;
end;
procedure ar... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clDCUtils;
interface
{$I clVer.inc}
{$IFDEF DELPHI6}
{$WARN SYMBOL_PLATFORM OFF}
{$ENDIF}
uses
Classes, SysUtils, clWinInet, Windows;
type
EclInternetError = class(Exception)
private
FE... |
unit CreateConfig;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
type
TFormCreateConfig = class(TForm)
Label1: TLabel;
edtType: TEdit;
Label2: TLabel;
edtRelease: TEdit;
Label3: TLabel;
edtDesc: TMemo... |
unit SpotCornerUtils;
interface
uses
ThTypes;
const
HORIZON_CORNERS = TSpotCorner(Ord(scLeft) or Ord(scRight));
VERTICAL_CORNERS = TSpotCorner(Ord(scTop) or Ord(scBottom));
function AndSpotCorner(D1, D2: TSpotCorner): TSpotCorner;
function IfThenSpotCorner(AValue: Boolean; const ATrue: TSpotCorner; const A... |
(*
Category: SWAG Title: POINTERS, LINKING, LISTS, TREES
Original name: 0019.PAS
Description: Linked List Routine
Author: SWAG SUPPORT TEAM
Date: 08-24-94 13:45
*)
type
PDataRec = ^TDataRec;
TDataRec = record
Name: String;
Next: PDataRec;
end;
const
DataRecList: PDataRec = nil;
CurRec :PD... |
unit ImageDocument;
interface
uses
Classes, Graphics,
LrDocument;
type
TImageDocument = class(TLrDocument)
public
Picture: TPicture;
constructor Create; override;
destructor Destroy; override;
procedure Activate; override;
procedure Deactivate; override;
procedure Open(const inFilenam... |
unit BMP;
interface
type
TBMP = record
header: record
Signature: string;
FileSize: LongWord;
Reserved: array [0..3] of byte;
DataOffset: LongWord;
end;
info: record
Size: LongWord;
Width: LongWord;
Height: L... |
unit DSA.Tree.Trie;
interface
uses
System.SysUtils,
System.Classes,
DSA.Tree.BSTMap,
DSA.Utils,
DSA.Tree.BSTSet;
type
TTrie = class
private type
TNode = class
private type
TreeMap = TBSTMap<char, TNode>;
public
IsWord: boolean;
Next: TreeMap;
constructor Create(ne... |
unit TpODBC;
interface
uses
SysUtils, Classes,
ThHtmlDocument, ThHeaderComponent, ThTag,
TpDb, TpControls, TpInterfaces;
type
TTpODBC = class(TTpDb, ITpConfigWriter)
private
FDatabase: string;
FHost: string;
FOnGenerate: TTpEvent;
FPassword: string;
FPersistent: Boolean;
FUserName: ... |
unit fre_zfs;
{
(§LIC)
(c) Autor,Copyright
Dipl.Ing.- Helmut Hartl, Dipl.Ing.- Franz Schober, Dipl.Ing.- Christian Koch
FirmOS Business Solutions GmbH
www.openfirmos.org
New Style BSD Licence (OSI)
Copyright (c) 2001-2013, FirmOS Business Solutions GmbH
All rights reserved.
Redistribu... |
{: Solar system planetary elements and positions utility unit.<p>
Based on document by Paul Schlyter (Stockholm, Sweden)<br>
http://www.stjarnhimlen.se/comp/ppcomp.html<p>
Coordinates system takes Z as "up", ie. normal to the ecliptic plane,
"axis" around which the planets turn.<p>
Eric Grange... |
unit globConfig;
{
Global configuration of SW.
}
interface
uses IniFiles, SysUtils, Types, Generics.Collections, Classes;
type
TServerConfig = record
host:string;
port:Word;
end;
TGlobConfigData = record
server:TServerConfig;
seconds:boolean;
end;
TGlobConfig = class
public const
... |
unit System_Rtc;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ExtCtrls;
type
{ TSystemRtc }
TSystemRtc = class
private // Attribute
type
TBitReg8 = bitpacked record
case byte of
0: (Value: byte); // 8Bit Register Value
2: (bit... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clTlsSocket;
interface
{$I clVer.inc}
{$IFDEF DELPHI7}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}
{$ENDIF}
uses
Windows, Classes, clSocket, clSspi, clCert;
type... |
unit MT5.Deal;
{$SCOPEDENUMS ON}
interface
uses
System.SysUtils, System.JSON, REST.JSON, System.Generics.Collections,
MT5.Connect, MT5.RetCode;
type
TMTDealProtocol = class;
TMTDeal = class;
TMTDealTotalAnswer = class;
TMTDealPageAnswer = class;
TMTDealAnswer = class;
TMTDealJson = class;
TMTDeal... |
unit ibSHSQLMonitorEditors;
interface
uses
SysUtils, Classes, DesignIntf, TypInfo, StrUtils,
SHDesignIntf, ibSHDesignIntf, ibSHCommonEditors;
type
TibSHSQLMonitorPropEditor = class(TibBTPropertyEditor)
public
function GetAttributes: TPropertyAttributes; override;
function GetValue: string... |
unit BasicRenderingTypes;
interface
type
PVertexItem = ^TVertexItem;
TVertexItem = record
ID: integer;
x,y,z: single;
Next: PVertexItem;
end;
PTriangleItem = ^TTriangleItem;
TTriangleItem = record
v1, v2, v3: integer;
Color: cardinal;
Next: PTriangle... |
unit frmFNEditCarNo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, Buttons, ExtCtrls, cxGridLevel,
cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView,
c... |
// Wheberson Hudson Migueletti, em Brasília, 11 de dezembro de 1998.
unit DelphiBitmap;
interface
uses Windows, SysUtils, Classes, Graphics, DelphiImage;
type
TBitmap= class (DelphiImage.TImage)
protected
Bitmap: Graphics.TBitmap;
Stream: TStream;
public
constructor Create; override;
... |
unit Forms.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvMemo, Vcl.StdCtrls;
const
DEMO_TITLE = 'FNC Core Utils - Base64 encoding and decoding';
DEMO_BUTTON = 'Execute';
type
TFrmMain = class(TFor... |
unit Pospolite.View.DOM.Screen;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
...
}
{$mode objfpc}{$H+}
{$modeswitch advancedrecords}
interface
uses
Classes, SysUt... |
unit FreeOTFEfmeOptions_Hotkeys;
interface
uses
Classes, ComCtrls, fmeBaseOptions,
Controls, Dialogs, Forms,
fmeLcOptions, MainSettings,
Graphics, Messages, SDUStdCtrls, StdCtrls, SysUtils, Variants, Windows;
type
TfmeHotKeysOptions = class (TfmeLcOptions)
gbHotkeys: TGroupBox;
... |
unit FormCustom360DegAnimation;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TFrmCustom360DegAnimation = class(TForm)
LbNumFrames: TLabel;
EdNumFrames: TEdit;
Bevel1: TBevel;
BtOK: TButton;
BtCancel... |
// ###################################################################
// #### This file is part of the mathematics library project, and is
// #### offered under the licence agreement described on
// #### http://www.mrsoft.org/
// ####
// #### Copyright:(c) 2019, Michael R. . All rights reserved.
// ####
// ####... |
unit uLineProps;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls,
iexColorButton, imageenview, iexLayers, ieview, hyiedefs, ExtCtrls, Buttons;
type
TLineProps = class(TForm)
lblHeading: TLabel;
btnOK: TButton;
btnCancel: TButto... |
unit PrefConfig;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Spin,IniFiles;
type
TfrmPrefConfig = class(TForm)
GroupBoxServer: TGroupBox;
EditServerCheckTimeOut: TSpinEdit;
LabelCheckTimeOut: TLabel;
Label1: TLabel;
GroupBox1:... |
unit Server.Controller.Game;
interface
uses Server.Entities.Game,
Common.Entities.Card,
Common.Entities.Round,
Common.Entities.Bet, Common.Entities.Player;
type
TGameController=class
private
FGame:TGame;
function DetermineWinner(ACards: TCardsThrown): String;
function CheckBetTerminated... |
{..............................................................................}
{ Summary Creating different PCB Objects }
{ }
{ CreateStrings procedure creates two different text objects on a new PCB ... |
unit Transfer;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs, IdFTP, IdComponent, IdURI, Contnrs;
type
TOnTransferStart = procedure (Sender: TObject; const AWorkCountMax: Integer)
of object;
TOnTransfer = procedure (Sender: TObject; const AWorkCount: Integ... |
unit uFilePersistence;
interface
uses Classes, DB, uStringFunctions, SysUtils, Variants, Math, DBClient, IniFiles, Windows;
const
FMT_DATE = 'YYYYMMDDHHNNSS';
TAM_DATE = Length(FMT_DATE);
TAM_INT = 11;
TAM_REAL = 21;
TAM_BOOLEAN = 1;
TAM_DEC = 4;
CHR_SPACE = ' ';
CHR_ZERO = '0'... |
unit uSystemConst;
interface
uses Messages;
const
//SOFTVAR CONST
PDV_MD5 = '00fe96bc61c96a87414ab6874098b584';
//Main Retail Const
STORE_MARK = '#STORE_ACCESS_LIST#';
TEMP_TABLE = '*TempTable*';
REGISTRY_PATH = 'SOFTWARE\... |
unit DataConnection;
interface
uses
Aurelius.Drivers.Interfaces,
Aurelius.SQL.MySql,
Aurelius.Schema.MySql,
Aurelius.Drivers.MyDac,
System.SysUtils,
System.Classes, Data.DB, DBAccess, MyAccess;
type
TMyDacConnection = class(TDataModule)
Connection: TMyConnection;
private
public
class functi... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit Dmitry.Graphics.Utils;
interface
uses
System.Types,
System.SysUtils,
System.Classes,
System.Math,
Winapi.Windows,
Vcl.Graphics,
Dmitry.Graphics.Types;
const
CHalf64: Double = 0.5;
MaxBrushRadius = 250;
type
TBrushToDraw = record
Mask: array [-MaxBrushRadius .. MaxBrus... |
unit MyKonversi;
{
Component : MyKonversi
Version : 1.0
Coder : Much. Yusron Arif <yusron.arif4@gmail.com>
Copyright © Mata Air Teknologi - Januari 2017
}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TBahasa = (Indonesia, Inggris);... |
unit ibSHWizardConstraintFrm;
interface
uses
SHDesignIntf, ibSHDesignIntf, ibSHDDLWizardCustomFrm,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, SynEdit, pSHSynEdit, StdCtrls, ExtCtrls, ComCtrls, CheckLst,
Buttons, StrUtils;
type
TibSHWizardConstraintForm = ... |
{
Copyright (c) 2021 Adrian Siekierka
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, distri... |
unit TestUContasPagarVO;
interface
uses
TestFramework, SysUtils, Atributos, UCondominioVO, Generics.Collections, UGenericVO,
Classes, Constantes, UHistoricoVO, UPessoasVO, UContasPagarVO, UPlanoContasVO;
type
TestTContasPagarVO = class(TTestCase)
strict private
FContasPagarVO: TContasPagarVO;
public
... |
unit UnitFunctions;
interface
uses SysUtils, Classes, Windows, IdFTPList, Math;
function CalcSpeed(eOld, eNew: Integer): String;
// local
function GetAllFiles(Mask: String; Attr: Integer; Recursive: Boolean; ShowDirs: Boolean; ShowPath: Boolean = True): TStringList;
// ftp
function GetAllDirs: TStringList;
implemen... |
unit DBGrid_DBNavigator_MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Themes, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.ComCtrls,
Vcl.Tabs, Vcl.Menus, System.Actions, Vcl.ActnList, Vcl.ActnCtrls,
V... |
unit fre_configuration;
{
(§LIC)
(c) Autor,Copyright
Dipl.Ing.- Helmut Hartl, Dipl.Ing.- Franz Schober, Dipl.Ing.- Christian Koch
FirmOS Business Solutions GmbH
www.openfirmos.org
New Style BSD Licence (OSI)
Copyright (c) 2001-2013, FirmOS Business Solutions GmbH
All rights reserved.
... |
unit UtilLib;
interface
uses
SysUtils,ADODB,Variants,Forms,Windows,AdvGrid,StrUtils,Dialogs;
function GetExePath:string;
function TryCheckField(AADOCon:TADOConnection;AField,ATable:string;Args:array of Variant):Integer;
function TryCheckExist(AADOCon:TADOConnection;ATable:string;Args:array of Variant... |
{..............................................................................}
{ Summary Demo how to create a new footprint in the PCB library }
{ }
{ Creates a Resistor footprint and has a Resistor name ... |
unit FmWarErr;
{
Exports TWarningBox which can display warnings while the application
keeps running. and terminate the application when its method
Error is called.
C.A. van Beest, R.P. Sterkenburg, TNO-PML, Rijswijk, The Netherlands
28 Feb 97: - replaced Windows with Wintypes, WinProcs in uses clause
to ... |
unit LCMOpTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntX;
type
{ TTestLCMOp }
TTestLCMOp = class(TTestCase)
published
procedure LCMIntXBothPositive();
procedure LCMIntXBothNegative();
procedure LCMIntXBothSigns();
end;
implementation
{ TTestLCMOp }
procedu... |
unit Gr_Stud_IndexEdit_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxLabel, cxDropDownEdit, cxControls,
cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxSpinEdit, ActnList,
StdCtrls, cxButtons, ExtCtrls,gr_uCommonConsts,gr_u... |
unit ModflowMawWriterUnit;
interface
uses
System.UITypes, Winapi.Windows, System.Classes, Vcl.Forms, System.SysUtils,
System.Generics.Collections, CustomModflowWriterUnit, ScreenObjectUnit,
GoPhastTypes, ModflowPackageSelectionUnit, PhastModelUnit, ModflowMawUnit,
ModflowBoundaryDisplayUnit, Modflow6ObsUnit;
... |
//------------------------------------------------------------------------------
//GMCommands UNIT
//------------------------------------------------------------------------------
// What it does-
// Holds all of our GMCommand related routines.
/... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Cliente relacionado à tabela [VIEW_FIN_CHEQUE_NAO_COMPENSADO]
... |
unit uoptions;
interface
uses
SysUtils, IniFiles;
type
TOptions = class
private
FIniFile: TIniFile;
FCommPort: integer;
FCommBps: integer;
FSmsc: AnsiString;
FOraSID: AnsiString;
FOraIPAddress: AnsiString;
FOraPwd: AnsiString;
FOraUser: AnsiString;
FOraIPPo... |
unit uDadosAssinantes;
interface
uses
System.SysUtils, System.Classes, Data.FMTBcd, Data.DB, Datasnap.DBClient,
Datasnap.Provider, Data.SqlExpr, Vcl.Dialogs, System.UITypes,
System.DateUtils, Data.DBXCommon, Math, System.Variants;
const
NENHUM_ASSINANTE_SELECIONADA = 'Nenhum assinante está selecionado.';
N... |
unit PageController;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls,
dcfdes,
dxDockControl, dxDockPanel,
EasyEditState,
LrDockUtils, LrDocument,
PageDocument, PageView,
DesignScrollBox, IEView, InspectorView, ComponentTreeView, DesignVie... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls, Menus, GdipApi, GdipClass, XPMan;
type
TFrmMain = class(TForm)
PaintBoxTop : TPaintBox;
PMRenderProperties : TPopupMenu; // PaintBoxTop po... |
{------------------------------------------------------------------------------}
{ 单元名称: Wil.pas }
{ }
{ 单元作者: 清清 (QQ:272987775 Email:272987775@QQ.com) }
{ 创建日期... |
(*
Category: SWAG Title: BITWISE TRANSLATIONS ROUTINES
Original name: 0089.PAS
Description: Numbers up to 255 digits
Author: ALEKSANDAR DLABAC
Date: 01-02-98 07:35
*)
{ Unit LongNum;}
{
██████████████████████████████████████████████████
███▌▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄... |
unit DPM.IDE.ProjectNotifier;
interface
uses
System.Classes,
ToolsApi,
DPM.IDE.Logger;
//not used at the moment, but the plan is to use it to detect active platform changes.
type
TDPMProjectNotifier = class(TInterfacedObject,IOTAProjectNotifier, IOTAModuleNotifier,IOTANotifier )
private
FLogger : IDP... |
unit uWholeOrderOrTradePointDlg;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, DBCtrls, DB, ADODB, UtilsBase, Variants;
type
TWholeOrderOrTPointParams = record
Caption: string;
OrderId: Integer;
TradePointId: Variant;
end;
TWholeOrderOrTradeP... |
unit SDK;
interface
uses
Windows, Classes, SysUtils;
type
TGList = class(TList)
private
GLock: TRTLCriticalSection;
public
constructor Create;
destructor Destroy; override;
procedure Lock;
procedure UnLock;
end;
implementation
constructor TGList.Create;
begin
inherited Create;
Initia... |
unit LLevel;
{$mode objfpc}{$H+}{$Define LLEVEL}
interface
uses
Classes, SysUtils, IniFiles, Graphics, LMap, LTypes, LIniFiles, LPosition,
LSize;
type
TLLevel=class(TObject)
private
{types and vars}
var
FIni: TLIniFile;
FMap: TLMap;
FPlayerPosition: TLPlayerPosition;
public
{... |
{: Loading NURBS into a GLScene FreeForm/Actor object<p>
A very simple parametric model of a duck, comprised of 3 NURBS
surfaces. The Nurbs format is essentially the NurbsSurface geometry
type used in VRML. One limitation at the moment is the Control points
must each be on a separate line. Inverted surface... |
unit Documents;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls,
JvTabBar,
Desktop;
const
CM_CLOSE = WM_APP + $02;
type
TDocumentsForm = class(TForm)
DocumentTabs: TJvTabBar;
DocumentPanel: TPanel;
procedure FormCreate(Sender: ... |
{
Bicubic Interpolation for Image Scaling
http://paulbourke.net/texture_colour/imageprocess/
Original C code Written by Paul Bourke
http://paulbourke.net/libraries/bitmaplib.c
Pascal version by Cirec 2012
add: Callback methode to step a ProgressBar
}
unit Bicubics;
interface
uses Windows, Graphi... |
{
Laz-Model
Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde
Portions (C) 2016 Peter Dyson. Initial Lazarus port
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either versi... |
unit Glass;
interface
uses
Winapi.Windows,
System.SysUtils, System.Classes, FMX.Types, FMX.Controls,
FMX.Graphics, FMX.Effects;
type
TGlass = class(TControl)
private
FParentScreenshotBitmap: TBitmap;
FParentWidth: Single;
FParentHeight: Single;
FBitmapCRC: Integer;
FCachedBitmap: TBitma... |
unit API_MVC_VCL;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.ExtCtrls,
API_MVC;
type
TViewVCLBase = class(TForm, IViewAbstract)
private
{ Private declarations }
FController: TControllerA... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
// Copyright (c) 2009, ConTEXT Project Ltd
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this list of condition... |
//------------------------------------------------------------------------------
//LoginServer UNIT
//------------------------------------------------------------------------------
// What it does-
// The Login Server Class.
// An object type th... |
program MultiLogger;
{$IFDEF MSWINDOWS}
{$APPTYPE CONSOLE}
{$ENDIF}
{$MODE DELPHI}
{$R *.res}
uses
{$IFDEF UNIX}
CThreads,
{$ENDIF}
Classes,
SysUtils,
Quick.Console,
Quick.Logger,
Quick.Logger.Provider.Console,
Quick.Logger.Provider.Files,
Quick.Logger.Provider.Email,
Quick.Logger.Provider.Eve... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, DDetours;
type
TMain = class(TForm)
MemLog: TMemo;
BtnEnableHook1: TButton;
BtnEnableHook2: TButton;
BtnEn... |
(*
* Copyright (c) 2004
* HouSisong@gmail.com
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies... |
unit dmNationalityMain;
interface
uses
SysUtils, Classes, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase;
type
TMainDM = class(TDataModule)
Database: TpFIBDatabase;
ReadTransaction: TpFIBTransaction;
ReportDataSet: TpFIBDataSet;
ReportDataSource: TDataSource;
NationalityDataSet: TpFIB... |
//*******************************************************//
// //
// DelphiFlash.com //
// Copyright (c) 2004-2008 FeatherySoft, Inc. //
// info@delphiflash.com //
// ... |
{циклический сдвиг при помощи нод,
используя одну переменную для запоминания последущей перестановки}
program displacement3;
uses crt;
const N=6;
type arr=array[1..N] of integer;
function max(a,b:integer):integer;
begin
if (a>=b) then max:=a
else max:=b
end;
function min(... |
unit uMainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls, OleCtrls, SHDocVw,
ExtCtrls;
type
TfrmMain = class(TForm)
pnlTop: TPanel;
lblScanURL: TLabel;
edtScanURL: TEdit;
btnLoadPage: TButton;
btnScan: TButt... |
unit HCSocket;
interface
uses
System.Classes, System.Generics.Collections, Net.CrossSocket, Net.CrossSocket.Base,
utils_buffer;
type
THCRDataEvent = procedure(const AConnection: ICrossConnection; const ADataStream: TBytesStream) of object;
THCRErrorEvent = procedure(const AError: string) of object;... |
unit ini_Group_unitM_Form;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Buttons, ToolWin, ComCtrls, Db, FIBDataSet, pFIBDataSet, FIBQuery, pFIBQuery,
pFIBStoredProc, Menus, ActnList, cxGridCustomTableView, cxGridTableView,
cxGridDBTableView, cxClasses, cxCon... |
program HowToUseVectorToDetermineAPath;
uses
SwinGame, sgTypes;
procedure Main();
var
origin: Point2D;
planetVector, ufoVector, resultant: Vector;
distance: LineSegment;
begin
OpenGraphicsWindow('Determine Vector Path', 800, 600);
ClearScreen(ColorWhite);
origin := PointAt(0, ... |
unit LogNTest;
interface
uses
DUnitX.TestFramework,
Math,
uIntX;
type
[TestFixture]
TLogNTest = class(TObject)
public
[Test]
procedure LogNBase10();
[Test]
procedure LogNBase2();
end;
implementation
[Test]
procedure TLogNTest.LogNBase10();
var
based, numberd, ans: Double;
number:... |
unit EditVideo;
interface
uses
Generics.Collections, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Layouts, FMX.Objects,
FMX.Edit, FMX.ListBox,
EditVideoController,
Video;
type
TfrmEditVideo = class(TForm)
TopLabel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.