text stringlengths 14 6.51M |
|---|
unit UfmPractice;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DBAccess, Uni, UniProvider, InterBaseUniProvider, cxGraphics,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore,
dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxS... |
unit NewFrontiers.Utility.StringUtil;
interface
uses System.Classes;
type
TStringUtil = class
public
/// <summary>
/// Prüft, ob ein übergebener String mit einem bestimmten Substring
/// beginnt
/// </summary>
class function startsWith(aSubString, aString:... |
unit Stud_Terms_Ctrl_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, ExtCtrls, cxMaskEdit, cxDropDownEdit,
cxCalendar, cxTextEdit, cxButtonEdit, cxContainer, cxEdit, cxLabel,
cxControls, cxGroupBox, StdCtrls, cxButtons, gr_uCo... |
unit OverviewForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls,
CountedDynArrayString,
InflatablesList_Manager;
type
TfOverviewForm = class(TForm)
sgOverview: TStringGrid;
cbStayOnTop: TCheckBox;
procedure FormCreate(Sender:... |
//******************************************************************************
// Проект "Контракты"
// Справочник периодичностей оплат
// Чернявский А.Э. 2005г.
// последние изменения Перчак А.Л. 28/09/2010
//******************************************************************************
unit IniTypeStage_Unit;
int... |
unit uDlgTypesSelect;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBASE_DialogForm, Menus, cxLookAndFeelPainters, StdCtrls,
cxButtons, ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit,
cxMaskEdit, cxButtonEdit;
type
TdlgTypesSelect = cl... |
//
// Generated by JavaToPas v1.4 20140515 - 181126
////////////////////////////////////////////////////////////////////////////////
unit java.sql.Timestamp;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JTimestamp = interface;
JTimestampClass = interface(JObjectClass)
['{8CCA0589-... |
program HowToReadingTextToScreen;
uses
SwinGame;
procedure Main();
var
fnt: Font;
bmp: Bitmap;
begin
OpenGraphicsWindow('Read Text To Screen', 240, 160);
LoadDefaultColors();
fnt := LoadFont('arial.ttf', 12);
StartReadingText(ColorRed, 40, fnt, 50, 10);
bmp := DrawTextTo(fnt, 'Hello'... |
unit OTFEScramDiskDismountVolumes_U;
// Description: Dismount ScramDisk Volumes
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, G... |
{ Author: Christopher Lee }
program ProgrammingPast(output);
var
sentence, encrypted, decrypted: string;
key, maxshiftvalue: integer;
procedure encrypt(var sen: string; key: integer);
var
i: integer;
begin
for i := 1 to length(sen) do
case sen[i] of
'a'..'z': sen[i] := chr(ord('a') + (ord(sen[i]) - o... |
unit JavaScriptDocumentController;
interface
uses
LrDocument,
CodeDocumentController, CodeEdit;
type
TJavaScriptDocumentController = class(TCodeDocumentController)
public
class function GetDescription: string; override;
class function GetExt: string; override;
protected
function GetEditForm:... |
(*
* 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 Demo.MaterialColumnChart.Sample;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_MaterialColumnChart_Sample = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_MaterialColumnChart_Sample.GenerateChart;
var
Chart: IcfsGChart... |
unit SDUWinHttp_API;
// Description: Sarah Dean's WinHttp port
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// This file contains a Delphi port of WinHttp.h
interface
uses
Window... |
namespace WinFormsApplication;
interface
uses
System.IO,
System.Drawing,
System.Collections,
System.Collections.Generic,
System.Windows.Forms,
System.ComponentModel,
System.Reflection;
type
/// <summary>
/// Summary description for UpdateDialog.
/// </summary>
UpdateDialog = p... |
unit DXPPanelDegrade;
interface
uses
Windows, Graphics, Messages, SysUtils, Classes, Controls, ExtCtrls, Types,
Forms, DXPUtils, DXPGradients;
type
TDXPDegradeDirection=(ddVertical, ddHorizontal);
//
TDXPPanelDegrade = class(TCustomPanel)
private
FInvert: boolean;
FDirection: TDXPDegradeDirection... |
{..............................................................................}
{ Summary This unit is used by the ValuesCheckerUnit unit. }
{ Copyright (c) 2004 by Altium Limited }
{............................................................................... |
unit uSubOrderHistory;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentSub, siComp, siLangRT, DB, ADODB, Grids, DBGrids,
SMDBGrid;
type
TSubOrderHistory = class(TParentSub)
quOrder: TADOQuery;
quOrderIDFornecedor: TIntegerField;
quOrderMov... |
{
Double Commander
-------------------------------------------------------------------------
Base64 archiver plugin
Copyright (C) 2022 Alexander Koblov (alexx2000@mail.ru)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as ... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* Software distr... |
unit uMallCompareFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBaseEditFrm, DB, DBClient, Menus, cxLookAndFeelPainters,
cxGraphics, cxButtonEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit,
cxLabel, cxCheckBox, StdCtrls, cxRadioGroup, cxControls, ... |
(*
Category: SWAG Title: OOP/TURBO VISION ROUTINES
Original name: 0071.PAS
Description: More On T.V. Listboxes
Author: SWAG SUPPORT TEAM
Date: 09-04-95 10:52
*)
{
The following example will demonstrate how to create a listbox
of file items and enable the user to double click on any item and
produce a Messa... |
{*******************************************************}
{ }
{ FormSetType.pas
{ Copyright @2014/5/15 10:34:05 by 姜梁
{ }
{ 功能描述:设置需要修改排除的文件类型
{ 函数说明:
{******************************************... |
unit nfsCheckListEdit;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls, clisted;
type
TOnClickCheckObject = procedure(sender: TObject; aObject: TObject) of object;
TOnStateChanged = procedure(Sender: TObject; var aText: string) of object;
type
TNfsCheckListEdit = class(TCheckList... |
{--------------------------------------------------------------}
program compiler;
{--------------------------------------------------------------}
{ Constant Declarations }
const TAB = ^I;
const CR = '\n';
{--------------------------------------------------------------}
{ Variable Declarations }
var Look: char; {... |
unit Objekt.DHLLabelData;
interface
uses
SysUtils, Classes, geschaeftskundenversand_api_2, Objekt.DHLStatusinformation,
System.Types;
type
TDHLLabelData = class
private
fCodLabelData: string;
fReturnLabelData: string;
fLabelUrl: string;
fLabelData: string;
fStatus: TDHLStatusinformation;
... |
namespace Indigo;
interface
uses
System.Collections.Generic,
System.Linq,
System.Text, System.ServiceModel;
type
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribu... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.ListBox;
type
TForm1 = class(TForm)
Label1: TLabel;
SkiLabel: TLabel;
SkiCombo: TC... |
unit CRTWrapper;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
//This unit is a wrapper of sorts for the linux and windows api overrides for
//console coloring and such.
interface
const
//The color codes are different per OS, "abstracted"
CRTBlack = 0;
CRTBlue = 01;
CRTGreen = 02;
C... |
unit JsEditData1;
interface
uses
SysUtils, Classes, Controls, StdCtrls, Graphics, Windows, Messages, Forms, contnrs,
Dialogs, Buttons, Mask, JsEdit1;
type
JsEditData = class(TMaskEdit)
private
FOldBackColor : TColor;
FColorOnEnter : TColor;
valida, compData : boolean;
property OldBackColor :... |
{
ALGO: Triangle de nombres decroissants
BUT: Afficher un triangle de nombres decroissants
ENTREE:
SORTIE: Affichage du tableau correcte
CONST
MAX<- 10 //Taille max du tableau
Type
Tableau2int: Tableau [1..MAX,1..MAX] DE entier //Tableau d'entier
Fonction Initialisation : ENTIER //Fonction nous donnant... |
unit TestThCommandHistory;
interface
uses
TestFramework, BaseTestUnit,
System.Types, System.SysUtils, FMX.Types, FMX.Objects, System.UIConsts;
type
// #23 Undo/Redo기능을 이용하여 명령을 되돌린다.
TestTThCommandHistory = class(TBaseCommandHistoryTestUnit)
published
// #123 사각형을 추가하고 Undo명령하면 도형이 선택되지 않아야 한다.
pro... |
{
http://w-shadow.com/blog/2006/08/27/how-to-get-the-cpu-usage-of-a-process/
(c) Janis Elsts, http://w-shadow.com/
Last Updated : 27.08.2006
uCpuUsage.pas provides some functions that let you
get the CPU usage (in percent) of a given process. Note that
the usage is calculated for a *period of time* elapsed since
last ... |
unit GenericThread;
interface
uses Classes;
type
TGenericFunction = function (const _args: pointer): integer;
PGenericFunction = ^TGenericFunction;
TGenericMethod = function (const _args: pointer): integer of object;
PGenericMethod = ^TGenericMethod;
TGenericThread = class (TThread)
... |
namespace ListBox;
interface
uses
System.Windows.Forms, System.Drawing;
type
MainForm = class(System.Windows.Forms.Form)
{$REGION Windows Form Designer generated fields}
private
btn_Add: System.Windows.Forms.Button;
method btn_Add_Click(sender: System.Object; e: System.EventArgs);
ed_Text: Syste... |
unit FormMainDynamicTests;
interface
{$define TEST_NEW}
uses
SysUtils, Windows, Messages, Variants, Classes, Graphics, Controls, Forms,
Types,
Math, Dialogs, StdCtrls, ExtCtrls, ComCtrls,
AStar64.DynImport, AStar64.Typ, Geo.Pos, Geo.Hash,
ILSMapControlEx_TLB, System.Win.ComObj, ActiveX,
Ils.Logger, IdSo... |
unit uEvsSyncObjs;
{$IFDEF FPC} {$MODE DELPHI} {$MODESWITCH advancedrecords}{$H+}
{$ELSE}
{$IFDEF WIN32} {$DEFINE WINDOWS}{$ENDIF}
{$ENDIF}
{$DEFINE TestSuite}
// an effort to write a small unit of synchronization objects that could be used instead of the build in objects.
// so far I have a ligth wrapper around the... |
unit uParentTree;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
uParentFixedFrm, Db, DBTables, ComCtrls, DBTreeView, Buttons,
ExtCtrls, uParentFch, StdCtrls, dxBar, Grids, ImgList, ADODB, siComp,
siLangRT;
type
TParentTree = class(TParentFixedFrm)
DBTreeView: ... |
unit UFrmCadastroMarca;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, UFrmCRUD, Menus, Buttons,
StdCtrls, ExtCtrls
, UMarca
, URegraCRUDMarca
, UUtilitarios
;
type
TFrmCadastroMarca = class(TFrmCRUD)
gbInformacoes: TGroupBox;
edNome: TLabel... |
// RemObjects CS to Pascal 0.1
namespace UT3Bots.UTItems;
interface
uses
System,
System.Collections.Generic,
System.Linq,
System.Text,
System.ComponentModel;
type
UTPlayerScore = public class(IComparable<UTPlayerScore>, INotifyPropertyChanged)
private
//Private members
var _id: UTIdent... |
unit MyCat.Statistic.Generics.HeartBeatRecord;
interface
uses
System.SysUtils;
// 结构的容器的声明模版
{$I DGLCfg.inc_h}
type
THeartBeatRecord = record
private
FTime: Int64;
FValue: Int64;
public
constructor Create(Time: Int64; Value: Int64);
property Time: Int64 read FTime write FTime;
property ... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as ... |
PROGRAM CharCount;
TYPE
CharCountArray = ARRAY[Char] OF BYTE;
PROCEDURE CountCharacters(s: STRING; VAR charCount: CharCountArray);
VAR
c: Char;
i: Byte;
BEGIN
(* initialisieren der charCounts anzahlen auf 0 *)
FOR c:= Low(c) TO High(c) DO
charCount[c] := 0;
FOR i := 1 TO Length(s) DO
charCount[s... |
namespace BasicWindowsApp;
interface
uses
System.Windows.Forms,
System.Drawing;
type
MainForm = class(System.Windows.Forms.Form)
private
{$REGION Windows Form Designer generated fields}
bHelloWorld: System.Windows.Forms.Button;
components: System.ComponentModel.Container := nil;
method bHelloW... |
unit microtimer;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
function getMiliTime: int64;
function getMicroTime: int64;
var
PerformanceFrequency: int64;
implementation
{$IFDEF MSWINDOWS}
uses windows;
{$ELSE}
uses unix;
{$ENDIF}
function getMicroTime: int64;
{$IFDEF MSWI... |
unit parsecmdline;
{$mode objfpc}{$H+}
interface
uses
SysUtils,mainclass;
CONST
{$IFDEF UNIX}
EXENAME = 'apwgc';
CRLF = #10;
{$ELSE}
EXENAME = 'apwgc';
CRLF = #13#10;
{$ENDIF}
RESOURCESTRING
HELPSTRING =
PROJECTNAME+CRLF+
COPYRIGHT+CRLF+CRLF+
' For... |
unit uPromises;
{$MODE objfpc}
{$MODESWITCH externalclass}
interface
uses JS, Web;
type
TJSValueDynArray = array of JSValue;
JDeferred = class;
TJPromiseCallback = procedure(Value: JSValue);
TJDeferredObject_fn = function(d: TJPromiseCallback): JSValue;
TJDeferredObject = procedure(resolve... |
(*
Simple task managment application (c) Vlad Zolotoy 2014
Yeah, it's written in Pascal! Why? For fun! Pascal was
my first programing language. I miss it. I decide to use it
for developing small UNIX-style CLI application.
Commands:
todo -v --version : display software version
todo -h --help : show help index... |
unit ModelRebuildLODCommand;
interface
{$INCLUDE source/Global_Conditionals.inc}
{$ifdef VOXEL_SUPPORT}
uses ControllerDataTypes, ActorActionCommandBase, Actor;
type
TModelRebuildLODCommand = class (TActorActionCommandBase)
protected
FQuality: longint;
FLODID: longint;
p... |
{A partir de las notas obtenidas en dos parciales, se determina la situación del alumno en la
materia : PROMOVIDO, HABILITADO o DESAPROBADO.
Los parciales se aprueban con 4 o mas.
-Promueve el alumno que habiendo aprobado los dos parciales, obtuvo con ambos una suma de
14 y en el segundo puntaje superior a 6.
-Habilita... |
{
******************************************************
Escape From Monkey Island Launcher
Copyright (c) 2004-2008 Ben Gorman
Http://quick.mixnmojo.com
******************************************************
}
{
This program is free software; you can redistribute it and/or
modify it under the terms of the GN... |
unit HelpView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ToolWin, ImgList, OleCtrls, SHDocVw;
type
THelpForm = class(TForm)
WebBrowser: TWebBrowser;
ImageList1: TImageList;
ToolBar1: TToolBar;
RefreshButton: TToolButton;
... |
unit uSubGridLayout;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentSub, cxStyles, cxCustomData, cxGraphics, cxFilter,
cxData, cxEdit, DB, cxDBData, cxGridLevel, cxGridCustomTableView,
cxGridTableView, cxGridDBTableView, cxClasses, cxControls,
cxGri... |
unit E_Pairs;
//------------------------------------------------------------------------------
// Модуль реализует класс парных значений Integer - Integer
//------------------------------------------------------------------------------
//
// содержит пары "ключ - значение" типов Integer - Integer
//
// !!! НИ ключ, НИ... |
unit uFrmCustomerAddCredit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaideTodosGeral, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls,
Mask, SuperComboADO, DateBox;
type
TFrmCustomerAddCredit = class(TFrmParentAll)
btnSave: TButton;
lblUser: TLa... |
unit uDissDog_Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uCommon_Types, uDissDog_DM, StdCtrls, cxContainer, cxEdit,
cxTextEdit, cxControls, cxGroupBox, cxMaskEdit, cxDropDownEdit,
cxCalendar, cxLookAndFeelPainters, cxButtons, uCommon_Funcs, uConsts... |
unit Alerts;
interface
// Shows an error message dialog with fixed title (Error)
procedure ShowErrorDialog(msg : String); overload;
// Shows an error message dialog
procedure ShowErrorDialog(title, msg : String); overload;
// Shows an information message dialog with fixed title (Information)
procedure ShowInfoDialog... |
unit system;
interface
type
HRESULT = type Longint; { from WTYPES.H }
SYSUINT = LongWord;
WordBool = boolean;
PChar = ^char;
PWidechar = ^Widechar;
PWChar = PWidechar;
Real = double;
TDateTime = double;
float = single;
short = smallint;
Variant = OleVariant;
tagSAFEARRAYBOUND = record
... |
unit UMixer;
interface
uses UFlow;
type
Mixer = class
function calculate(flows: array of Flow): Flow;
end;
implementation
function Mixer.calculate(flows: array of Flow): Flow;
begin
var mass_flow_rate := 0.0;
var mass_fractions := ArrFill(flows[0].mass_fractions.Length, 0.0);
var temperature := 0.0;... |
unit splash_preprocess_main;
interface
procedure Main;
implementation
uses
Windows, SysUtils, Graphics;
procedure BitmapColorPremultiply(BMP: TBitmap);
type
TRGBQuadArray = array[0..High(Word) - 1] of TRGBQuad;
PRGBQuadArray = ^TRGBQuadArray;
var
BlendValues: Array[Byte,Byte] of Byte;
BMPColor: PRGB... |
unit Pospolite.View.CSS.Declaration;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
...
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Pospolite.View.Basic... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.Logger.Provider.IDEDebug
Description : Log Output IDE Debug log Provider
Author : Kike Pérez
Version : 1.25
Created : 02/10/2017
Modified : 14/09/2019
T... |
unit uSoliReceita;
interface
type
TSoliReceita = class
strict private
FSTATUS: string;
FNUM_PEDIDO: integer;
FCOD_PRODUTO: string;
FNOME_TEC : string;
FDESCRICAO : STRING;
procedure SetFSTATUS(val: string);
function GetFSTATUS: string;
procedure SetNUMPEDIDO(val: integer);
... |
unit GLD3dsShadow;
interface
uses
Classes, GL, GLDTypes, GLDClasses, GLD3dsTypes, GLD3dsChunk, GLD3dsIo;
type
TGLD3dsShadow = class(TGLDSysClass)
private
FMapSize: GLshort;
FLoBias: GLfloat;
FHiBias: GLfloat;
FSamples: GLshort;
FRange: GLint;
FFilter: GLfloat;
FRayBi... |
unit ExEffectsUnitW;
interface
uses
ExEffects,
Effects,
Graphics,
StdCtrls,
ComCtrls,
uDBThread,
Classes,
SysUtils,
ExtCtrls,
Controls,
uGOM,
uEditorTypes,
uMemory;
type
TExEffectOneParamCustom = class(TExEffect)
private
{ Private declarations }
FS, FD... |
unit cl_pirit;
interface
uses
intrf_FiscalRegister,
cs_FiscalManager,
intrf_pirit,
cs_pirit,
cl_pirit_parser,
cl_pirit_aboutdevice,
cl_pirit_params,
cl_pirit_operations,
System.Classes, System.Generics.Collections, cl_pirit_dll, cl_pirit_bep,
cl_pirit_controltape, cl_pirit_extdevice, cl_pirit_sys... |
unit EmpresaController;
interface
uses
System.Generics.Collections,
//
Aurelius.Engine.ObjectManager, Aurelius.Criteria.Base, Aurelius.Criteria.Expression, Aurelius.Criteria.Linq, Aurelius.Criteria.Projections,
//
Empresa;
type
TEmpresaController = class
private
class var FManager: TObjectManager;
... |
unit tsSettings;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Samples.Spin,
tsTaskMan, Vcl.CheckLst, System.DateUtils;
type
TTaskApplySettingEvent =... |
unit Design;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dcfdes;
type
TDesignForm = class(TForm)
DCDesigner: TDCLiteDesigner;
procedure DCDesignerSelectionChanged(Sender: TObject);
procedure FormPaint(Sender: TObject);
procedure DCDesigne... |
unit ufrmDialogProductTypeNBD;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, StdCtrls, ufraFooterDialog2Button, ExtCtrls,
ufraFooterDialog3Button, System.Actions, Vcl.ActnList;
type
TFormMode = (fmAdd, fmEdit);
TfrmDialogProduct... |
unit ChecksumTests;
interface
{$IFDEF FPC}
{$WARNINGS OFF}
{$NOTES OFF}
{$ENDIF FPC}
uses
Classes,
SysUtils,
{$IFDEF FPC}
fpcunit,
testregistry,
{$ELSE}
TestFramework,
{$ENDIF FPC}
HashLibTestBase,
HlpHashFactory,
HlpIHash,
HlpConverters;
type
TTestAlder32 = class(THashLibAlgorithmTestCase)
... |
unit MainMenu;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
REST.Client,
System.Rtti, System.Bindings.Outputs, Vcl.Bind.Editors, Data.Bind.EngExt,
Vcl.Bind.DBE... |
unit frmHolidayWorkOff;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, dbfunc, uKernel;
type
TfNonWorkingDays = class(TForm)
bClose: TButton;
Panel1: TPanel... |
program HelloWorld;
//{IFNDEF UNIX} {r GameLauncher.res} {ENDIF}
uses
SwinGame, sgShared, Classes, SysUtils;
procedure CatchUnhandledException(Obj: TObject; Addr: Pointer; FrameCount: Longint; Frames: PPointer);
var
Message: string;
i: LongInt;
hstdout: ^Text;
begin
hstdout := @stdout;
Writeln(hstdout^, 'A... |
unit uniteServeur;
interface
uses
SysUtils,
uniteConsigneurStub,
uniteProtocole,
uniteRequete,
uniteReponse;
type
//Un serveur HTTP minimaliste, supportant la méthode GET du protocole HTTP 1.1 uniquement.
Serveur = class
private
public
// Permet d'initialiser le serveur... |
procedure SaveDeskTopImageToBitmap (aFileName:String);
//
// Salva o Desktop Capturado em um arquivo
//
procedure CaptureDesktop(aBitmap:TBitMap);
var
Canvas : TCanvas;
begin
Canvas:=Tcanvas.Create;
try
Canvas.Handle:=GetDc(0);
aBitMap.Canvas.CopyRect(Canvas.ClipRect,Canvas,Canvas.ClipRect);
fi... |
unit OTFEStrongDiskConsts_U;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Classes, SysUtils, Windows;
type
EStrongDiskError = Exception;
/... |
unit uLogin;
interface
{$Region 'usesInterface'}
uses
Data.DB,
SysUtils,
StrUtils,
Math;
{$endregion}
type
TLogin = class
private
FNomeUsuarioLogado: String;
FCodigoUsuarioLogado: Integer;
FSenhaUsuarioLogado: String;
constructor Create;
procedure SetCodigoUsuarioLogado(const Valu... |
unit unContaCorrente;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, unModelBase;
type
{ TContaCorrente }
TContaCorrente = class(TModelBase)
private
FDataAbertura: TDateTime;
FIdBanco: string;
FNomeConta: string;
FNumero: string;
FObservacao: string;
FSaldoInicial: Extended;
... |
unit tSolverEngine;
// JAKL, ta razred je podoben kot JaklArSOLV, razen da so dostranjene procedure
// procedure settings ; override ;
// procedure shMsgOsebe(o: smallint ) ; override ;
// function steviloKrsitevKrit: integer ; // dodatno za izracun stevila krsitev krit.
// Dodano pa je tudi (kot komentar) Kon... |
(*
Category: SWAG Title: STRING HANDLING ROUTINES
Original name: 0003.PAS
Description: COMMA.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:58
*)
{ CB> ...I work For a bank and would like to create a Program to
CB> maintain better Record of our Cashier Checks and also any
CB> stop payments on them..I hav... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit SDUNamedPipe_U;
// Description: Named Pipes
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// A simple component to wrap up named pipes
// Only tested under NT, but you should be ab... |
{..............................................................................}
{ Summary Demo the use of TIniFile object and the Read/Write methods }
{ Copyright (c) 2004 by Altium Limited }
{............................................................................... |
namespace GLExample;
interface
uses
rtl,
GlHelper,
OpenGL;
type
GL_Example_1 = class(IAppInterface)
private
shader : Shader;
fVertexArray : VertexArray;
public
method initialize : Boolean;
method Update(width, Height : Integer; const ATotalTimeSec : Double := 0.3);
method ChangeFill... |
{
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 UnitCryptImageForm;
interface
uses
Windows,
Messages,
SysUtils,
Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.StdCtrls,
Vcl.Menus,
Vcl.ActnPopup,
Vcl.PlatformDefaultStyleActnCtrls,
Dmitry.Utils.Files,
Dmitry.Controls.Base,
Dmitry.Controls.WebLink,
Dmitry.C... |
unit Mp3Player_Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ACS_Classes, ACS_WinMedia, ACS_smpeg, ACS_DXAudio, Buttons,
ComCtrls, StdCtrls, ExtCtrls, HTTPSend, IdBaseComponent, IdComponent,
IdTCPConnection, IdTCPClient, IdHTTP;
type
TMp3PlayPosEve... |
unit uMainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.TitleBarCtrls,
System.ImageList, Vcl.ImgList, Vcl.VirtualImageList, Vcl.BaseImageCollection,
Vcl.ImageCollection, Vcl.ComCtrls, V... |
unit ufrmMemberActivation;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterBrowse, StdCtrls, ExtCtrls, ActnList, Mask,
System.Actions, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, dxBarBuiltInMenu, cxStyles, cxCustomData, cxFilter,... |
unit uPai;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, siComp, siLangRT;
type
TFrmPai = class(TForm)
pnlButtom: TPanel;
lblUserName: TLabel;
Label15: TLabel;
hhh: TPanel;
spHelp: TSpeedButton;
btClose: T... |
unit UDReportOptions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UCrpe32;
type
TCrpeReportOptionsDlg = class(TForm)
btnOk: TButton;
btnCancel: TButton;
btnClear: TButton;
gbROptions: TGroupBox;
lblConvertDateTimeType: TLabel;... |
unit AddAction;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, MainDM, Action;
type
TFormAddAction = class(TForm)
EditName: TEdit;
EditFullName: TEdit;
ButtonOk: TButton;
ButtonCancel: TButton;
LabelAdd: TLabel;
LabelFullName: TLabel;... |
// Compute (max(X, Y+W, Y-W))^2 - Y^3 * W
uses Math;
function getDouble(x: Double; s: String): Double;
begin
Write(Concat(s, ': '));
Readln(x);
Result := x;
end;
function max3(x, y, z: Double): Double;
begin
Result := Max(Max(x,y), z);
end;
var x, y, w: Double;
begin
Writeln('Enter three real numbers:');
... |
//
// Created by the DataSnap proxy generator.
// 24/09/2017 09:28:55 p.m.
//
unit uITCmxStatistics;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Dat... |
unit Dialog_EditPref;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, BaseGrid, AdvGrid, StdCtrls, Mask, RzEdit,Class_PrefRecd,
Class_Pref;
type
TDialogEditPref = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
... |
unit ufrmDialogTrader;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ExtCtrls, StdCtrls, ComCtrls,
uRetnoUnit, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, cxMaskEdit, cxDropDownEdit,
cxLookupEdit, ... |
unit CFAPrincipal;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, nbEdits, nbCombos, nbLabels, ExtCtrls, Buttons, BEdit;
type
TFAPrincipal = class(TForm)
pEmpresa: TPanel;
nbLabel1: TnbLabel;
eEmpresa: TnbDBSQLCombo;
btnSalir: TBitBt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.