text stringlengths 14 6.51M |
|---|
unit ExcecaoScriptDeAtualizacaoInvalido;
interface
uses
SysUtils;
type
TExcecaoScriptDeAtualizacaoInvalido = class(Exception)
public
constructor Create(const Versao :Integer; const SQL :String);
end;
implementation
{ TExcecaoScriptDeAtualizacaoInvalido }
constructor TExcecaoScriptDeAtualizacaoInvalido.... |
{ NIM : 16518332
Nama : Dhafin Rayhan Ahmad
Tanggal : 28/04/2019
Topik : Sekuensial File
Deskripsi : Unit data mahasiswa yang mengelola file of dataMhs }
unit udatamhs;
{ Memuat, mengurutkan, menghitung rata-rata, dan menyimpan suatu data mahasiswa }
{ DEKLARASI TYPE FUNGSI DAN PROSEDUR }
in... |
unit SE_ConfirmReplaceForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Vcl.Imaging.pngimage;
type
TSEConfirmReplaceForm = class(TForm)
Image1: TImage;
lblConfirm: TLabel;
btnCancel: TButton;
btnSkip: TButton;
btnRep... |
unit HlpConverters;
{$I ..\Include\HashLib.inc}
interface
uses
Classes,
StrUtils,
SysUtils,
HlpHashLibTypes,
HlpBits,
HlpBitConverter;
resourcestring
SEncodingInstanceNil = 'Encoding Instance Cannot Be Nil';
type
TConverters = class sealed(TObject)
strict private
class function SplitString(c... |
unit FConvert; // FastDIB: sourceforge.net/projects/tfastdib
// by: gordy <gordy@dynamicsdirect.com>
interface // cmr.Pent <cmr.Pent@gmail.com>
// Sapersky <sapersky@gmail.com>
{ Routines for conversion between different color depths. }
{
History:
11.03.13, Sapersk... |
unit Comp.Generator.DataProxy;
interface
uses
System.SysUtils,
System.Classes,
System.StrUtils,
System.Math,
Data.DB,
System.Generics.Collections,
Vcl.Clipbrd; // required for TDataProxyGenerator.SaveToClipboard
type
// pgmClass - generates only class (no unit items: unit, interface, implementation
... |
unit mnDialogTestCase;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework;
type
TmnDialogTestCase ... |
unit AlunoGerenciador;
{$MODE OBJFPC}
interface
uses Classes,fgl ,SysUtils,AlunoModel;
type
TMyList = specialize TFPGObjectList<TAlunoModel>;
TAlunoGerenciador = class
public
FLista : TMyList;
public
constructor Create;
destructor Destroy; override;
procedure gerenciar;
pr... |
unit MolHero.MoleculeModel;
interface
uses
System.Types,
System.Math.Vectors,
System.Generics.Collections;
type
TAtomData = record
AtomKind: integer;
Pos: TPoint3D;
Symbol: string;
end;
TAtoms = TList<TAtomData>;
TBondKind = record
const b1 = 1;
const b2 = 2;
... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit UUADCondoCarStorage;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons,... |
unit Interfaces;
interface
uses
DSharp.Collections,
DSharp.ComponentModel.Composition;
type
[InheritedExport]
IMainViewModel = interface
['{0F41E083-A86A-4EAE-B9BB-6889D17B87CE}']
end;
[InheritedExport]
IWorkingAreaViewModel = interface
['{060A761D-21FD-473E-9B9A-91F62FCE4467}']
end;
[Inh... |
///////////////////////////////////////////////////////////////////////////
// Project: CW
// Program: lightplu.pas
// Language: Object Pascal - Delphi ver 3.0
// Support: David Fahey
// Date: 01Oct97
// Purpose: This code runs in a seperate thread. It monitors
// the state of the light ... |
unit SimThyrResources;
{ SimThyr Project }
{ A numerical simulator of thyrotropic feedback control }
{ Version 4.0.5 (Merlion) }
{ (c) J. W. Dietrich, 1994 - 2022 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2022 }
{ This unit provides URLs and global strings f... |
unit UDebugTools;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted 1998 - 2011 by Bradford Technologies, Inc. }
interface
uses
Classes,
InvokeRegistry,
SoapHTTPClient,
SysUtils,
UContainer,
UForm;
... |
unit ReasonDifferencesTest;
interface
uses dbTest, dbObjectTest, TestFramework, ObjectTest;
type
TReasonDifferencesTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TReasonDifferences = class(TObjectTest)
function InsertDefault: integer; ov... |
{###############################################################################}
{ Classe KeyGuardManager - Biometria Android }
{ Janeiro de 2020 }
{#########################################################################... |
unit _EditableTimeFrame;
interface
uses
_ClickToEditFrame, PCRE,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, StrUtils, Math;
type
TEditableTime = class(TClickToEdit)
procedure TextEditExit(Sender: TObject);
private
... |
unit ForLoopsForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox,
FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Button2: TBut... |
unit Model.Country;
interface
uses
Model.Interfaces,
Model.IMyConnection,
System.Generics.Collections,
Spring.Collections,
Spring.Data.ObjectDataset,
Spring.Persistence.Criteria.Interfaces,
Spring.Persistence.Criteria.Restrictions,
Spring.Persistence.Criteria.OrderBy,
MainDM;
function CreateCountryM... |
unit UMigemo;
interface
uses
Windows;
const
MIGEMO_VERSION = '1.1';
{ for migemo_load() }
MIGEMO_DICTID_INVALID = 0;
MIGEMO_DICTID_MIGEMO = 1;
MIGEMO_DICTID_ROMA2HIRA = 2;
MIGEMO_DICTID_HIRA2KATA = 3;
MIGEMO_DICTID_HAN2ZEN = 4;
{ for migemo_set_operator()/migemo_get_operator(). se... |
unit kernel;
interface
type
TErrorType = (etMissedDeadline,
etDeadlock,
etWrongMutexAccess,
etLockedResourceDestroyed,
etRequiredResourceDestroyed,
etCannotActivateThread,
etCannotDeactivateThread,
etWrongSignalA... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Cephes Math Library Release 2.8: June, 2000
Copyright 1984, 1987, 1995, 2000 by Stephen L. Moshier
Contributors:
* Sergey Bochkanov (ALGLIB project). Translation from C to
pseudocode.
See s... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, ShellApi, Vcl.ExtCtrls,
Vcl.Imaging.pngimage, Vcl.CheckLst,filectrl, Vcl.Mask, Vcl.OleServer,
Vcl.CmAdmCtl, Vcl.Imaging.jpeg, Vcl.ComCtrls, IN... |
unit MainModule;
interface
uses
uniGUIMainModule, SysUtils, Classes;
type
TUniMainModule = class(TUniGUIMainModule)
private
{ Private declarations }
public
{ Public declarations }
end;
function UniMainModule: TUniMainModule;
implementation
{$R *.dfm}
uses
UniGUIVars, Ser... |
unit Fake;
interface
uses Classes, PluginUtil, Logger, Config, Misc;
type
TFakePlugin = class( TPlugin )
private
public
class function PluginName: string; override;
destructor Destroy; override;
procedure Init( ); override;
procedure BeginWork; override;
procedure EndWork; override;
end;... |
Program Simple_Timer;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{
Project : Simple_Timer
Source : RKRM
}
{
*****************************************************************************
*
* Simple_Timer.c
*
* A simple example of using the timer dev... |
unit umvquerydlg;
//
// routine performs mvquery function entry into spreadsheet grid cell
{
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purp... |
unit AT.OTA.Repository.Wizard.DXRibbon;
interface
uses
System.Classes, Winapi.Windows, ToolsAPI, PlatformAPI,
PlatformConst;
type
TATDXRibbonRepositoryWizard = class(TNotifierObject, IOTAWizard,
IOTARepositoryWizard, IOTARepositoryWizard60,
IOTARepositoryWizard80, IOTAProjectWizard,
IOTAProje... |
type arrayType = array[1..100] of integer;
var myArr: arrayType;
len, i: byte;
Procedure swapValue(Var arr: arrayType; i, j: byte);
var t: integer;
Begin
t:= arr[i];
arr[i]:= arr[j];
arr[j]:= t;
End;
Procedure bubbleSort(Var arr: arrayType; arrLength: byte);
var lastUnsort, i: byte;
swapped: boole... |
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, IPPeerClient,
REST.Backend.KinveyProvider, REST.Backend.PushTypes, System.JSON,
REST.Bac... |
unit JD.HolyMacro;
interface
uses
Winapi.Windows, Winapi.Messages,
System.Classes, System.SysUtils, System.Types,
Vcl.Forms, Vcl.Controls;
{ Mouse Controls }
type
THolyMacroMouse = class
public
class function GetPos: TPoint;
class function GetPosX: Integer;
class function GetPosY: Integer;
... |
unit SettingsFrmGraphic;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Spin, ComCtrls,
ColorPreviewer, ExtCtrls;
type
TSetGraphicCopyForm = class(TForm)
GroupBox1: TGroupBox;
Label1: TLabel;
ScaleTUpDown: TUpDown;
ScaleTEdit: ... |
unit DIOTA.Dto.Request.GetNeighborsRequest;
interface
uses
DIOTA.IotaAPIClasses;
type
TGetNeighborsRequest = class(TIotaAPIRequest)
protected
function GetCommand: String; override;
end;
implementation
{ TGetNeighborsRequest }
function TGetNeighborsRequest.GetCommand: String;
begin
Result := 'getNeig... |
unit Menus.Controller.Entity.Produtos;
interface
uses Menus.Controller.Entity.Interfaces, Menu.Model.Conexoes.Interfaces,
Menus.Controller.Conexoes.Factory.Conexao,
Menus.Controller.Conexoes.Factory.DataSet, Menus.Model.Entity.Interfaces,
Menus.Model.Entity.Factory, Data.DB, Menus.Controller.Conexoes.Interfaces,
... |
unit UMyFaceThread;
interface
uses UThreadUtil, classes, StrUtils, UFileSearch, IOUtils, Types, SysUtils, IniFiles;
type
{$Region ' 共享窗口 ' }
// 刷新网络计算机
TNetworkComputerRefresh = class( TThreadJob )
private
NetworkPcList : TStringList;
public
constructor Create;
procedure Update;override;
... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit OAuth2.Entity.RefreshToken;
interface
uses
OAuth2.Contract.Entity.RefreshToken,
OAuth2.Contract.Entity.AccessToken;
type
TOAuth2RefreshTokenEntity = class(TInterfacedObject, IOAuth2RefreshTokenEntity)
private
{ private declarations }
FIdentifier: string;
FExpiryDateTime: TDateTime;
FAcc... |
unit udrawbox;
interface
uses Contnrs,SysUtils,Graphics,Types;
type
TAction = (aMouseMove, aLeftDown,aLeftUp);
TDrawBox = class
links:TObjectList;
boxes:TObjectList;
public
function PerformAction(action:TAction;param:Pointer):Boolean;
procedure Paint(ACanvas:TCanvas);
constructor Create;
destructor Destroy; over... |
//-------------------------------------------------------------------
// File Name : uLinkHlp.pas
//
// General Description:
// This file defines Delphi class, TLicenseLinkHelper, that can
// be used within a Delphi/C++Builder application to access
// ProActivate License Link information stored as RCDATA r... |
unit Design2;
interface
uses windows,messages,classes,controls,Design,DragMoveUtils;
type
TDesigner2 = class(TCustomDesigner)
private
FGrabBoard: TGrabBoard;
//FCount : integer;
procedure DoSizePosChanged(sender : TObject);
procedure BoardMouseDown(sender : TGrabBoard; var msg : TWMNCLBUTTOND... |
{*******************************************************************************
Copyright (C) Christian Ulrich info@cu-tec.de
This source 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 version 2 ... |
Program air;
{ Membaca sebuah nilai T, suatu bilangan integer yang menyatakan temperatur air dalam derajat celcius
untuk kondisi tekanan 1 atm. }
{ Asumsi: A, B, C bilangan yang berbeda }
{ KAMUS }
var
T : integer;
{ ALGORITMA }
begin
{ Input T }
readln(T);
{ Penentuan kondisi air }
if (T < 0) the... |
unit ALPOP3ClientDemo_main;
interface
uses Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
StdCtrls,
ComCtrls,
Alcinoe.POP3.Client;
type
TForm1 = class(TForm)
GroupBox1: TGroupBox;
MemoDebug: TMem... |
unit RepositorioProdutoFornecedor;
interface
uses DB,
Auditoria,
Repositorio;
type
TRepositorioProdutoFornecedor = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
... |
{***************************************************************************}
{ }
{ Delphi.Mocks }
{ }
{ ... |
(*
Copyright (c) 2011-2013, Stefan Glienke
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 conditions ... |
unit DomainObjectValueListUnit;
interface
uses
SysUtils,
Classes,
DomainObjectValueUnit,
IDomainObjectValueUnit,
DomainObjectBaseListUnit,
IDomainObjectValueListUnit,
ClonableUnit,
EquatableUnit;
type
TDomainObjectValueList = class;
TDomainObjectValueListEnumerator = class (TDomainObjectBaseLi... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2013 Embarcadero Technologies, Inc. }
{ ... |
(**************************************************************************)
(* BY OSMAR DE OLIVEIRA BRAZ JUNIOR EM 09/06/94 TUBARAO - SC *)
(**************************************************************************)
UNIT MY_WAY;
INTERFACE
PROCEDURE beep1 (freq,time :INTEGER);
PROCEDURE be... |
unit DIOTA.Dto.Response.WereAddressesSpentFromResponse;
interface
uses
DIOTA.IotaAPIClasses;
type
TWereAddressesSpentFromResponse = class(TIotaAPIResponse)
private
FStates: TArray<Boolean>;
function GetStates(Index: Integer): Boolean;
function GetStatesCount: Integer;
public
constructor Creat... |
unit ReturnOutTest;
interface
uses dbTest, dbMovementTest, ObjectTest;
type
TReturnOutTest = class (TdbMovementTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TReturnOut = class(TMovementTest)
protected
function InsertDefault: integer; override;
public
... |
// ******************************************************************
//
// Program Name : $ProgramName$
// Platform(s) : $Platforms$
// Framework : VCL
//
// Filename : AT.$ShortName$.Vcl.Forms.Generic.Base.pas/.dfm
// File Version : 1.00
// Date Created : $CreateDate$
// Author : Matthew V... |
unit SystemAdministrationFormViewModel;
interface
uses
SectionStackedFormViewModel,
SectionRecordViewModel,
SystemAdministrationPrivilegeViewModel,
SystemAdministrationPrivilegeSetHolder,
SysUtils,
Classes;
type
TSystemAdministrationFormViewModel = class (TSectionStackedFormViewModel)
private
... |
// ###################################################################
// #### This file is part of the mathematics library project, and is
// #### offered under the licence agreement described on
// #### http://www.mrsoft.org/
// ####
// #### Copyright:(c) 2011, Michael R. . All rights reserved.
// ####
// ####... |
unit CatField;
interface
type
TCatField = class
private
FName: string;
FRType: Cardinal;
FRSize: Cardinal;
public
constructor Create(Name: string; RType, RSize: Cardinal);
property Name: string read FName;
property RType: Cardinal read FRType;
property RSize: Cardina... |
unit UnitMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, IniFiles,UnitTconexion, Menus;
type
TFrmMain = class(TForm)
MainMenu1: TMainMenu;
Generales1: TMenuItem;
ProcesosEspeciales1: TMenuItem;
CAmbiarContrasea1: TMenuItem;
... |
program DisplayFrames;
uses
Crt;
const
ScreenWidth = 60;
ScreenHeight = 30;
procedure DrawFrame(top_x, top_y, width, height: Integer; color: Byte);
var
i, j: Integer;
begin
TextColor(color);
// Drawing the frame
for i := top_y to top_y + height do
begin
GotoXY(top_x, i);
Write('|');
Goto... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit ClasseTanque;
interface
uses ClasseTipoCombustivel;
type
TTanque = class
private
FId_tanque: integer;
FDescricao: String;
FTipoCombustivel: TTipoCombustivel;
procedure setId_tanque(const Value: integer);
procedure setDescricao(const Value: String);
procedure setTipoCombustivel(con... |
unit replay;
interface
uses
DPlay, Classes, Forms;
type
TEntry = class
Data :pointer;
Size :integer;
Timing :integer;
Next :TEntry;
constructor Create (Data :pointer; Size :integer; Timing :integer);
end;
type
TReplay = class
Entries :TEntry;
Current :TEntry;
... |
unit ScanManager;
interface
uses SysUtils, FMX.Graphics, generics.collections, RGBLuminanceSource,
HybridBinarizer, BinaryBitmap,
MultiFormatReader, ReadResult, BarcodeFormat, DecodeHintType;
type
TScanManager = class
private
FMultiFormatReader: TMultiFormatReader;
hints: TDictionary<TDecodeHintType,... |
unit RTConfiguration;
interface
uses
Graphics;
type
TDataFormat = ( dfDB, dfDBZ );
TConfig = class
public
constructor Create( const RegistryKey : string );
destructor Destroy; override;
private
fRegistryKey : string;
fRange : cardinal;
fCellCount : cardinal;
fSe... |
unit RESTClientUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,
IdHTTP, IdHTTPOverride, uLkJSON;
const startURL = 'http://localhost:8080';
type
TSimpleRESTClientForm = class(TForm)
Button1: TButton;
Button2: TButton;
... |
// --- Copyright © 2020 Matias A. P.
// --- All rights reserved
// --- maperx@gmail.com
unit uPDF;
interface
uses mORMotReport, SynGDIPlus, Vcl.Dialogs, Vcl.DBGrids, Vcl.Graphics, System.Classes, Data.DB, System.SysUtils;
type
TTextAlign = (taLeft, taRight, taCenter, taJustified);
TPDF = class(TOb... |
unit uF8_jualResep;
interface
uses uP1_tipeBentukan, uP3_Umum, uF6_OlahBahan;
procedure mainJualResep(ID : integer;
var dataBahanMentah : tabelBahanMentah;
var dataBahanOlahan : tabelBahanOlahan;
var dataResep : tabelResep;
var dataSimulasi : tabelSimulasi);
{ Menjual baha... |
unit zCPLExt;
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, RxVerInf,
Registry, zSharedFunctions, zAVKernel, zAVZKernel;
type
// Информация о расширении системы печати
TCPLInfo = record
Name : string; // Имя
BinFile : string; // Бинарный фай... |
unit uiwindow_wndproc_startend;
interface
uses
Windows,
Messages,
uiwindow;
function UIWndProcW_StartEnd(AUIWindow: PUIWindow; AMsg: UINT; wParam: WPARAM; lParam: LPARAM; var AWndProcResult: LRESULT): Boolean;
implementation
function WndProcW_WMNCCREATE(AUIWindow:... |
unit DataBD;
interface
uses
SysUtils, Classes, DB, ADODB;
type
TData = class(TDataModule)
ADOConnection1: TADOConnection;
DataKategorii_Tovarov: TDataSource;
ADOKategorii_Tovarov: TADOTable;
DataEdinici_Izmereniya: TDataSource;
DataTip_Klienta: TDataSource;
DataKlienti: TDataSource;
D... |
program PowerminusOne;
var i: integer;
function minusOne(n: integer): integer; // Функция для вычисления (-1) в степени N
begin
if odd(n) then minusOne:=-1 else minusOne:=1;
end;
begin
cls;
//пример
for i:=1 to 7 do begin
writeln(i,' Odd=',odd(i),' -1^',i,' = ', power(-1,i),' ',minusOne(i));
... |
unit contextmenu;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
{Draft Component code by "Lazarus Android Module Wizard" [11/22/2014 1:16:21]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
{jControl template}
jContextMenu = class(jControl)
private
FOptions: TStrings... |
unit AccountDirectionTest;
interface
uses dbTest, dbObjectTest, TestFramework, ObjectTest;
type
TAccountDirectionTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TAccountDirection= class(TObjectTest)
function InsertDefault: integer; over... |
unit TableColumnMappingsUnit;
interface
uses Classes;
type
TTableColumnMapping = class
protected
FColumnName: String;
FObjectPropertyName: String;
FAllowMappingOnObjectProperty: Boolean;
public
constructor Create; overload;
constructor Create(
const ColumnName, Ob... |
unit LikiDniproeHealth;
interface
uses
Windows, System.SysUtils, System.Variants, System.Classes, System.JSON,
Vcl.Dialogs, REST.Types, REST.Client, REST.Response.Adapter, Data.DB,
Vcl.Forms, ShellApi, IdHTTP, IdSSLOpenSSL, Datasnap.DBClient;
type
TLikiDniproeHealthApi = class(TObject)
private
FRESTRe... |
{******************************************************************************}
{ Boris Damjanovic }
{ Ind. master-230/08 }
{ Faculty of Organizational Sciences (FON), Belgrade ... |
unit USpaceGameCell;
interface
uses UGameCell, Graphics, Classes, UPerson, UGameTypes;
TYPE
TSpaceGameCell = class (TGameCell) // Наш класс унаследован от базового - Игровой Клеточки
private
protected
public
constructor Create(AOwner: TComponent); override; // переопределяем КОНСТРУКТОР... |
unit RepositorioTotaisNotaFiscal;
interface
uses
DB,
Repositorio;
type
TRepositorioTotaisNotaFiscal = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetId... |
unit Settings;
interface
uses
SysUtils, Classes, INIFiles, CryptoAPI;
type
TSettings = class
private
FHost: String;
FDatabase: String;
FUserName: String;
FPassword: String;
FWindowsAuth: Boolean;
class var FSettings: TSettings; //Always put class vars at end... |
{hint: Pascal files location: ...\AppPublicFoldersAccessDemo1\jni }
unit unit1;
{$mode delphi}
interface
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, AndroidWidget, Laz_And_Controls, intentmanager, And_jni;
type
{ TAndroidModule1 }
TAndroidModule1 = class(jFor... |
unit ClientePresenter;
interface
uses ClienteIntf, ClienteMVPIntf, Cliente, Generics.Collections;
type
TClientePresenter = class(TInterfacedObject, IClientePresenter)
private
FModel: ICliente;
FView: IClienteView;
// FCliente: TCliente;
protected
function GetModel: ICliente;
procedure SetMod... |
{ --------------------------------------------------------------------------
Raspberry Pi IO library - I2C
Copyright (c) Michael Nixon 2016 - 2017.
Distributed under the MIT license, please see the LICENSE file.
-------------------------------------------------------------------------- }
unit rpii2c;
interfac... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: PerlinNoise.<p>
Classes and function for generation of PerlinNoise.<p>
<b>History : </b><font size=-1><ul>
<li>30/03/07 - DaStr - Added $I GLScene.inc
<li>14/04/04 - EG - Creation
</ul></font>
Loosely based on Tom Nuyden... |
unit Sample1.Settings;
interface
uses
DSharp.Core.PropertyChangedBase,
Graphics;
type
TSettings = class(TPropertyChangedBase)
private
FCaption: string;
FColor: TColor;
FDate: TDate;
procedure SetCaption(const Value: string);
procedure SetColor(const Value: TColor);
public
property C... |
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.)
@author(Tomas Krysl)
Copyright (c) 2020 Tomas Krysl<BR><BR>
<B>License:</B><BR>
This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html.
}
... |
unit uqmsettings;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, tisQMClient;
type
{ TFrmQmSettings }
TFrmQmSettings = class(TForm)
BtnConnect: TButton;
BtnDisconnect: TButton;
EdtAccount: TEdit;
EdtPasswrd: TEdit;
... |
unit ConfiguracoesSistema;
interface
uses SysUtils, Contnrs;
type
TConfiguracoesSistema = class
private
Fcodigo :Integer;
Fpossui_boliche :Boolean;
Fpossui_dispensadora :Boolean;
Fduas_vias_pedido :Boolean;
Fpreco_produto_alteravel :Boolean;
FUtiliza_comandas :Boolea... |
unit Download.Controller.Dados;
interface
uses
Download.Controller.Interfaces, Download.Model.Dados, Data.DB;
type
TControllerDados = class(TInterfacedObject, iControllerDados)
private
FModelDados: TDados;
public
constructor Create;
destructor Destroy; override;
class function Ne... |
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
btnPublishSend: TButton;
edtTopic: TEdit;
edtMessage: TEdit;
edtHost: TEdit... |
unit AndroidProjOptions;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Types, LazFileUtils, laz2_XMLRead, Laz2_DOM, LCLVersion,
AvgLvlTree, LazIDEIntf, IDEOptionsIntf, ProjectIntf, SourceChanger, Forms, Controls,
Dialogs, Grids, StdCtrls, LResources, ExtCtrls, Spin, ComCtrls, Buttons,
The... |
unit ProductionUnionTest;
interface
uses dbTest, dbMovementTest, ObjectTest;
type
TProductionUnionTest = class (TdbMovementTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TProductionUnion = class(TMovementTest)
private
function InsertDefault: integer; over... |
unit UAMC_BuildX26;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2012 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Di... |
unit Builder.Concretes.Director;
interface
uses
Builder.Interfaces.IDirector, Builder.Interfaces.IBuilder;
// The Director is only responsible for executing the building steps in a
// particular sequence. It is helpful when producing products according to a
// specific order or configuration. Strictly speaking, t... |
unit UnitOrderDetail;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Spin, ComCtrls, Buttons, ADODB, DB;
type
TFormOrderDetail = class(TForm)
grpDesign: TGroupBox;
lblDesignName: TLabel;
cbbDesignName: TComboBox;
lblDesignS... |
unit unit1;
//
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, And_jni_Bridge, Laz_And_Controls,
Laz_And_Controls_Events, AndroidWidget, drawingview, uData;
type
{ TAndroidModule1 }
TAndroidModule1 = class(jForm)
jBitmap1: jBitmap;
jButton1: jButton;
jDrawingView1: jDrawingView;
... |
unit Classe.Funcoes;
interface
uses
Winapi.ShellAPI, ClipBrd, System.SysUtils, System.Classes, Winapi.Windows,
Vcl.ExtCtrls, Vcl.Forms, VCL.Graphics;
type
TFuncoes = class
private
pnlMensagem: TPanel;
public
function ObterPathClipBoard: string;
procedure AguardeOff;
procedure A... |
unit uCaixa;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uPadrao, StdCtrls, Mask, ToolEdit, CurrEdit, ExtCtrls, ComCtrls, AcbrDevice,
ImgList, pngimage, Buttons, Contnrs, Caixa, AcbrEcf, ConfiguracaoECF, StringUtilitario;
type
TfrmCaixa = class(TfrmPadra... |
unit ULocalCopy;
(* Copyright (c) 2002 Twiddle <hetareprog@hotmail.com> *)
interface
uses
Classes,
SysUtils,
FileSub,
StrSub;
type
TLocalCopy = class(TPSStream)
protected
FInfo: TStringList;
FObjPath: string;
FInfoPath: string;
FUpdated: TDateTime;
public
constructor Create(const pat... |
unit UAMC_UserID_RELS;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
... |
unit Download.Exception.TrataException;
interface
uses
System.SysUtils;
type
TTrataException = class
private
FLogFile: String;
public
constructor Create;
procedure TrataException(Sender: TObject; E: Exception);
procedure GravarLog(Value: String);
end;
implementation
uses
Vc... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.