text stringlengths 14 6.51M |
|---|
unit SaleOrder;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGridEh, ExtCtrls, StdCtrls, ComCtrls, ToolWin,
DateUtils;
type
TSaleOrderForm = class(TForm)
Panel1: TPanel;
CloseButton: TButton;
DBGridEh1: TDBGridEh;
DB... |
unit uTurtle;
{$mode delphi}{$H+}
interface
uses
Classes, SysUtils, fgl, uGrammatik, uStringEntwickler, uZeichnerBase,
fpjson, jsonparser, jsonConf, uZeichnerInit;
// Die Entitaet, die sich auf dem Bildschirm herumbewegt,
// um den L-Baum zu zeichnen
type TTurtle = class
private
FGrammatik: TGrammatik;
... |
program calcfivenubmers;
const
numbersCount:integer = 5;
number1:integer = 45;
number2:integer = 7;
number3:integer = 68;
number4:integer = 2;
number5:integer = 34;
var
sum:integer;
average:real;
begin
writeln('Number of integers = ', numbersCoun... |
unit UCompression;
interface
uses ZLib, Classes;
procedure CompressionStream(var ASrcStream: TMemoryStream;
ACompressionLevel: integer = 2); // 压缩流
procedure UnCompressionStream(var ASrcStream: TMemoryStream); // 解压缩
implementation
procedure UnCompressionStream(var ASrcStream: TMemoryStream); // 解压缩
... |
{****************************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 2000-2002 Borland Software Co... |
unit UMyWin;
{$mode objfpc}{$H+}
interface
uses
Classes, Windows,SysUtils, Registry, ShellAPI, ComObj;
type
TMyWin=class
Public
function IsAdministrator(): Boolean;
function IsAdministratorAccount(): Boolean;
function IsUACEnabled(): Boolean;
Function IsElevated(): Boolean;
Private
// Procedure GenWarDir(... |
unit LongFilenameOperations;
interface
// These procedures should replace the Delphi internal AssignFile(), Reset(), etc.
// functions. These functions should be able to support long file names
// by using the WinAPI (the "long filename" mode is switched when the file
// name format \\?\ is used).
procedure... |
unit pkc11302;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, Datelib, db, Func, OnEditBaseCtrl,
OnEditStdCtrl, OnEditBtnCtrl, OnEditCombo, OnEditNumCtl, Mask;
type
TAllData = Record
Empno :array[1..3000] of String[04]... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC db command preprocessor }
{ }
{ Copyright(c) 2004-2018 Embar... |
{* ======================= Program Header ======================================
PROGRAM-NAME : PZN2000A(도급인력관리)
SYSTEM-NAME : 기타
SUBSYSTEM-NAME : 도급인력관리
Programmer :
Version :
Date :
Update Contents
Version date(yy.mm.dd) programmer description relev... |
unit UnitProfiles;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Menus, INIFiles;
type
TFormProfiles = class(TForm)
CbProfile: TComboBox;
BtSave: TButton;
BtDelete: TButton;
procedure FindProfiles;
procedure SaveProfile(pName: S... |
unit MessageIntf;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, StdCtrls;
type
{ TMessageIntf }
TMessageIntf = class
private
FMessageView: TMemo;
public
constructor Create;
destructor Destroy; override;
procedure RegisterView(MessageView: TMemo);
procedure Log(Msg: string... |
unit JTimer;
interface
uses Windows;
type
TJTimer = packed record
Inicio: DWord;
Termino: DWord;
Extrapolou: Boolean;
end;
procedure JTInicia(var JT: TJTimer; Intervalo: DWord);
function JTFaltam(JT: TJTimer): DWord;
function JTExpirou(JT: TJTimer): Boolean;
const
JTMinTime = 1; // 1 ... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
// **************************************************************************************************
// Delphi Aio Library.
// Unit GInterfaces
// https://github.com/Purik/AIO
// The contents of this file are subject to the Apache License 2.0 (the "License");
// you may not use this file except in compliance wi... |
(*
** $Id: lualib.h,v 1.28 2003/03/18 12:24:26 roberto Exp $
** Lua standard libraries
** See Copyright Notice in lua.h
*)
(*
** Translated to pascal by Lavergne Thomas
** Bug reports :
** - thomas.lavergne@laposte.net
** In french or in english
*)
(* $Updated by foofighter69@gmail.com -> 5.1.1 2008-03-26 $ *)
uni... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2015-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit AioIndyTests;
interface
uses
Greenlets,
IdHTTP,
AioIndy,
TestFramework;
type
TAioIndyTests = class(TTestCase)
published
procedure HttpGet;
end;
implementation
{ TAioIndyTests }
procedure TAioIndyTests.HttpGet;
var
Client: TIdHTTP;
Response: string;
begin
Client := TIdHTTP.Create(nil);... |
unit Player;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, SDL2, Utility, Options;
type
rPlayerAction = record
MousePressed,
Left, Right, Forwards, Backwards, Up, Down,
PitchDown, PitchUp,
YawLeft, YawRight,
RollLeft, RollRight,
WireFrame,
DrawFrame,
Paused: Boolean;
... |
unit Scripts;
interface
uses
Values, Codes, Variables, Functions, ClassDefs, Strings;
type
TScript = class
private
FVariables: TVariables;
FFunctions: TFunctions;
FClassDefs: TClassDefs;
FOnVariable: TVariableFunc;
FOnFunction: TFunctionFunc;
procedure DoDefine(const AID: TID; AType_: ... |
unit uDependente;
interface
uses System.Classes;
type
TDependente = class
private
FIsCalculaINSS: Boolean;
FNome: String;
FIsCalculaIR: Boolean;
FId_Funcionario: integer;
public
property Nome: String read FNome write FNome;
property IsCalculaIR: Boolean read FIsCalculaIR write FIsCalcul... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
u... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{
Skyrim: Display Model 2
Speed up the process of creating Idles with Packages that use them.
}
Unit
UserScript;
Const
TemplateIdle = $1d97;
TemplatePkg = $1d98;
///////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////... |
unit RepositoryDataModule;
interface
uses
System.SysUtils, System.Classes, cxEditRepositoryItems,
cxExtEditRepositoryItems, cxEdit, cxClasses, cxLocalization,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async... |
{-----------------------------------------------------------------------------
Unit Name: SettingTemplate
This software and source code are distributed on an as is basis, without
warranty of any kind, either express or implied.
This file can be redistributed, modified if you keep this header.
Copyright ... |
unit FC.StockData.StockTempValueCollection;
interface
uses SysUtils,Classes, Contnrs, FC.Definitions,Collections.List;
type
TStockTempValue = class
public
DateTime : TDateTime;
Value : TStockRealNumber;
BarNo : integer;
Comment: string;
constructor Create(const aDateTime : TDateTime; const ... |
unit ServiceManager;
interface
uses
SysUtils, Windows, WinSvc;
type
TInstallType = ( Install, Uninstall );
TServiceManager = class
private
{ Private declarations }
ServiceControlManager: SC_Handle;
ServiceHandle: SC_Handle;
protected
function DoStartService(NumberOfArgument: DWORD; Service... |
unit JAPolygon;
{$mode objfpc}{$H+}
{$PACKRECORDS 2} {required for compatibility with various amiga APIs}
{$i JA.inc}
{Polygons wrap up the storage of Vertex data along with with the polygon
style. Shadow Hull data is stored here as polygons can be shadow casters,
so it's a good spot for now.}
interface
u... |
unit Jet.CommandLine;
{
Command line parsing home.
}
interface
uses SysUtils, UniStrUtils;
type
EUsage = class(Exception);
procedure BadUsage(msg: UniString='');
procedure Redefined(term: string; old, new: UniString);
procedure Define(var Term: UniString; TermName: string; Value: UniString);
type... |
{*******************************************************}
{ }
{ Windows Firewall example }
{ }
{ Copyright © 2014 }
{ ... |
{----------------------------------------------------------------------------}
{ Written by Nguyen Le Quang Duy }
{ Nguyen Quang Dieu High School, An Giang }
{----------------------------------------------------------------------------}
... |
unit ContactBox;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, StdCtrls, Controls, Graphics, LCLType;
type
{ TContactBox }
TContactBox = class(TListBox)
private
fMsgCount: array of integer;
procedure ResizeArray;
public
constructor Create(TheOwner: TComponent); override;
procedur... |
unit ATipoCorte;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, BotaoCadastro, StdCtrls,
Buttons, Db, DBTables, Tabela, CBancoDados, Mask, DBCtrls, DBKeyViolation,
Grids, DBGrids, Localizacao, DBClient;
... |
PROGRAM WorkWithQueryString(INPUT, OUTPUT);
USES
GPC;
FUNCTION GetQueryStringParameter(Key: STRING): STRING;
VAR
KeyCheck, QueryString : STRING;
BEGIN
KeyCheck := '';
QueryString := GetEnv('QUERY_STRING');
KeyCheck := Copy(QueryString, pos(key, QueryString), length(key));
IF Key = KeyCheck
THEN ... |
unit FormClientMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TabControl,
FMX.StdCtrls, FMX.Controls.Presentation, FMX.Gestures, System.Actions,
FMX.ActnList, FMX.ScrollBox, FMX.Memo, IdBaseCom... |
{ Some routines for string handling on a higher level than those
provided by the RTS.
Copyright (C) 1999-2005 Free Software Foundation, Inc.
Author: Frank Heckenbach <frank@pascal.gnu.de>
This file is part of GNU Pascal.
GNU Pascal is free software; you can redistribute it and/or modify
it under the ter... |
unit BootloaderDialog;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Internal, Dialogs, JvDialogs, QTypes;
ResourceString
rsSelectBootloader = '-- Select Bootloader --';
rsConfigNone = '-- None --';
rsConfigBoot = '-- Configuration from Bootload... |
unit TraceportCodeToName;
interface
uses
ExtCtrls, Classes, SysUtils;
type
TTrancportCode = class
private
StringList : TStringList;
public
Constructor Create;
Function ConversionCodeToName(Value : String) : String;
Class Function GetObject: TTrancportCode;
end;
implementation
uses
uDMclie... |
(**
This module contains a class to manage the global options of the application.
@Author David Hoyle
@Version 1.0
@Date 05 Jan 2018
**)
Unit ITHelper.GlobalOptions;
Interface
Uses
Graphics,
Classes,
IniFiles,
ToolsAPI,
ITHelper.Interfaces,
ITHelper.Types;
Type
(** A class to manage th... |
unit frame_Filter;
{$mode objfpc}
{$r *.lfm}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, StdCtrls, ExtCtrls,
RTTICtrls, KGrids, u_xpl_filter_Message;
type
{ TTFilterFrame }
TTFilterFrame = class(TFrame)
edtBody: TTIMemo;
edtSchema: TTIEdit;
edtSou... |
unit TestDllIndex;
interface
uses WIndows;
function Spaces(n : Cardinal): String;
function RestartDialog(Wnd: HWnd; Reason: PChar; Flags: Integer): Integer; stdcall; external 'shell32.dll' index 59;
implementation
uses SysUtils;
{*-------------------------------------------
Returns a string fille... |
unit uMain;
interface
uses
ShareMem, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ActnList, Menus, uTypes, uLibraries, ComCtrls,uFunctions,uErrorConst,
ImgList ;
type
TfmMain = class(TForm)
pnTop: TPanel;
pnBottom: TPanel;
pn... |
unit CalcTimeQuantUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, CheckLst, MMSystem;
type
TCalcQuantThread = class(TThread)
private
// Добавляет длительность интервала активности (квант времени)
procedure AddTo... |
unit Unit2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Actions, Vcl.ActnList,
Vcl.StdCtrls;
type
TForm2 = class(TForm)
ActionList1: TActionList;
actFormat: TAction;
Button1: TButton;
... |
{
LaKraven Studios Standard Library [LKSL]
Copyright (c) 2014, LaKraven Studios Ltd, All Rights Reserved
Original Source Location: https://github.com/LaKraven/LKSL
License:
- You may use this library as you see fit, including use within commercial applications.
- You may modify this library to suit yo... |
unit u_EPGOV_Upload;
interface
uses
Classes, Windows, SysUtils;
type
PStrInfo = PAnsiChar;
TWeightInfo = Record
WeighingTime: TSystemTime;
Weight: Double;
End;
PWeightInfo = ^TWeightInfo;
function epgov_WeightInfo_Upload(
Token : PStrInfo;
ManifestNo: PStrInfo;
PlateNumber: PSt... |
unit UAtualizador;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection,
IdTCPClient, IdExplicitTLSClientServerBase, IdFTP, Buttons, IdException,
IniFiles, ShellAPI, ZipMstr;
type
TAtu... |
////////////////////////////////////////////////////////////////////////////////
//
// FileName : SUIThemeFile.pas
// Creator : Shen Min
// Date : 2003-05-14
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Email: support@sunisoft.com
//
//////////////////... |
unit FC.Trade.Trader.TRSIMA.M15_48;
{$I Compiler.inc}
interface
uses
Classes, Math,Contnrs, Forms, Controls, SysUtils, BaseUtils, ActnList, Properties.Obj, Properties.Definitions,
StockChart.Definitions, StockChart.Definitions.Units, Properties.Controls, StockChart.Indicators,
Serialization, FC.Definitions, FC.... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ SOAP Attachment Interfaces }
{ }
{ Copyright (c) 2001 Inp... |
unit fNoteCslt;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
fAutoSz, StdCtrls, ORCtrls, ORFn, VA508AccessibilityManager;
type
TfrmNoteConsult = class(TfrmAutoSz)
Label1: TStaticText;
Label2: TStaticText;
lstRequests: TORListBox;
Label3: TLabel;
L... |
namespace RemObjects.SDK.CodeGen4;
uses
RemObjects.Elements.RTL;
type
RodlEnum = public class(RodlComplexEntity<RodlEnumValue>)
public
constructor;
begin
inherited constructor("EnumValue", "Values");
end;
method LoadFromXmlNode(node: XmlElement); override;
begin
LoadFromXmlNode... |
unit XMLBuilderComp;
interface
uses
Windows, Messages, SysUtils, Classes, WebComp, MidComp, SiteComp, XMLDoc, XMLIntf, HTTPProd, HTTPApp;
type
IXMLWriter = interface
['{3CA5F192-0A5C-4AE4-98B9-05D31A847ABB}']
procedure PushNode;
procedure PopNode;
procedure AddNode(const AName: WideString);
pr... |
unit Diff;
{$IFDEF FPC}
{$mode delphi}{$H+}
{$ENDIF}
(*******************************************************************************
* Component TDiff *
* Version: 1.0 *
* Date: ... |
unit Form.SQLMonitoring;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
Form.BaseForm,
cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinMetropolis,
cxT... |
unit UProdutoCompra;
interface
uses UProduto, UCfop;
type ProdutoCompra = class(Produto)
private
protected
umCfop : Cfop;
ncm_sh : string[8];
cst_compra : string[3];
unidade_compra : string[3];
quantidade_compra : Re... |
unit amqp_tcp_socket;
{$INCLUDE config.inc}
//DEFINE EAGAIN Operation would have caused the process to be suspended.
interface
uses AMQP.Types,
{$IFDEF CrossSocket}
Net.Winsock2, Net.Wship6,
{$ELSE}
Winsock2, IdWship6,
{$ENDIF}
amqp.socket, System.SysUtils;
function amqp_t... |
unit TeeMalaysian;
{$I TeeDefs.inc}
interface
Uses Classes;
Var TeeMalaysianLanguage:TStringList=nil;
Procedure TeeSetMalaysian;
Procedure TeeCreateMalaysian;
implementation
Uses SysUtils, TeeConst, TeeProCo {$IFNDEF D5},TeCanvas{$ENDIF};
Procedure TeeMalaysianConstants;
begin
{ TeeConst }
TeeMsg_Copyright ... |
unit CopyToStoreCmd;
interface
procedure CopyToStore(fqFileName, StoreName : string;
userId, password : String;
hostName : String;
hostPort : Integer);
implementation
uses
Classes,
SysUtils,
SessionManager;
procedure CopyToStore(fqFileName, StoreName : string;
... |
unit uReports;
interface
uses sysutils, classes, ORFN, ComCtrls, Forms, Graphics;
type
TCellObject = class //Data Object for each Cell in ListView
private
FName : string; //Column Name
FSite : string; //Site (#;name)
FInclude : string; //Set if data is to be included i... |
{
AD.A.P.T. Library
Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved
Original Source Location: https://github.com/LaKraven/ADAPT
Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md
}
unit ADAPT.Streams.Intf;
{$I ADAPT.inc}
interface
uses
{$IFDEF ... |
unit fOrdersRefill;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
fAutoSz, StdCtrls, ORFn, ORCtrls, ExtCtrls, VA508AccessibilityManager;
type
TfrmRefillOrders = class(TfrmAutoSz)
pnlBottom: TPanel;
cmdOK: TButton;
cmdCancel: TButton;
grbPickUp: TGroupB... |
unit ncChromeUtils;
interface
procedure Chrome_Install_Ext(aID, aPath, aVersion: String);
procedure Chrome_Remove_Ext(aID: String);
function Chrome_BaseExt_Folder: String;
function Chrome_Ext_Folder(aID, aVersion: String): String;
function Chrome_Pref_Folder: String;
procedure Chrome_Change_Open_URL(aURL: String);
fu... |
unit MKnob;
{ TmKnob : Marco Caselli's Knob Control rel. 1.0
This component emulate the volume knob you could find on some HiFi devices;
**********************************************************************
* Feel free to use or give away this software as you see fit. *
* Please leave the credits in place if ... |
unit ExtScrollingWinControlUnit;
interface
uses Messages, Windows, SysUtils, Classes, Graphics, Menus, Imm, Controls,
ActnList, MultiMon, Dialogs, HelpIntfs, ExtCtrls, StdCtrls, Forms, Grids;
type
{ Forward declarations }
TExScrollingWinControl = class;
TExControlScrollBar = class(TPersistent)
private
... |
unit uSavePicThread;
interface
uses
System.Classes, SysUtils, uGlobal, uCommon;
type
TSavePicThread = class(TThread)
private
function GetPic(url: String; var fileName: String): Boolean;
function PutPic(fileName, ftpPath: String): Boolean;
function UpdateVioUrl(id, p1, p2, p3, path: String): Boolean... |
unit ErrorMessage;
interface
const
ID_ERROR = '사번이 틀렸습니다';
ID_ERROR_C = '사번 오류';
PASS_ERROR = '비밀번호가 틀렸습니다.' + #13#10 + '비밀번호는 주민등록번호입니다';
PASS_ERROR_C = '비번 오류';
implementation
end.
|
unit adot.Tools.IO;
interface
{
TCustomStreamExt = class
Extensions of TStream.
TDelegatedMemoryStream = class
Readonly stream for specified memory block.
TArrayStream<T: record> = class
Makes any array of ordinal type to be accessable as stream of bytes.
TStreamUtils = class
Block reader a... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit port_RWStreams;
interface
uses
SysUtils, Classes;
type
{ TRWStream }
TRWStream = class
private
FChar: Char;
FHasChar: Boolean;
FStream: TStream;
function GetCurrentChar: Char;
public
constructor Create(Stream: TStream);
destructor Destroy; override;
function ReaderHasChar:... |
unit nii_mat;
//basic Matrix and Vector Types and Transforms
//{$D-,O+,Q-,R-,S-} // L-,Y-,
{$H+}
{$IFDEF FPC}{$mode delphi}{$ENDIF}
interface
uses dialogs;
type
TMatrix = record
matrix: array [1..4, 1..4] of single;
end;
TVector = record
vector: array [1..4] of single;
end;
fun... |
unit uInterfaces;
interface
type
IConversao = Interface
function Converter(Texto : String) : String;
end;
IFactoryMethod = interface
function TipoConversao(const Tipo: string): IConversao;
end;
implementation
end.
|
unit uDatos;
interface
uses
SysUtils, Classes, DB, dbTables, dbisamtb, frxClass, frxDBSet, pngimage, Dialogs,
JvBaseDlg, JvProgressDialog, Variants, frxDesgn, frxChart,
frxDCtrl, frxDMPExport, frxGradient, frxChBox, frxCross, frxRich, frxBarcode,
frxExportCSV, frxExportText, frxExportRTF, frxExportPDF, frxDBI... |
////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SUIListBox.pas
// Creator : Shen Min
// Date : 2002-08-21 V1-V3
// 2003-07-02 V4
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Email: s... |
(* **************************************************************** *)
(* Copyright (C) 1999-2010, Jon Gentle, All right reserved. *)
(* **************************************************************** *)
(* This program is free software; you can redistribute it under the *)
(* terms of the Artistic License, as... |
{
Find Faces Of A Planar Graph
Greedy Alg. O(N3)
Input:
N: Number of vertices
G[I]: List of vertices adjacent to I in counter-clockwise order
D[I]: Degree of vertex I
P[I]: Position of Vertex P
Output:
Edge[I][J]: Number of the face that lies to the left of edge (I,J)
FaceNum: Number of faces, includ... |
unit BitPatternHelp;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, JvExStdCtrls, JvRichEdit, ExtCtrls;
type
TFormBitPatternHelp = class(TForm)
JvRichEditUsage: TJvRichEdit;
PanelMemoContainer: TPanel;
procedure FormCreate(Se... |
unit BrickCamp.Resources.TProduct;
interface
uses
System.Classes,
System.SysUtils,
Spring.Container.Common,
Spring.Container,
MARS.Core.Registry,
MARS.Core.Attributes,
MARS.Core.MediaType,
MARS.Core.JSON,
MARS.Core.MessageBodyWriters,
MARS.Core.MessageBodyReaders,
BrickCamp.Repositories.IProduct... |
unit Clavier_AZERTY;
interface
type
TKeys = Record
Key : Word;
Note : string;
Down: boolean;
end;
var
// Paramétrage des touches pour un clavier AZERTY (La2 -> Mi4)
Keys: Array[0..19] of TKeys =(
// Touches du clavier :
(Key:81; Note:'La... |
//=============================================//
// uDate //
//---------------------------------------------//
// Unit yang menangani tanggal dalam program //
//=============================================//
unit uDate;
interface
uses parsertuanyon;
{* KAMUS *}
{ *** De... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit Unit1;
interface
use... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Db, DBTables, Grids, DBGrids, ComCtrls, ExtCtrls,
ToolWin, ImgList, ADODB;
type
TForm1 = class(TForm)
DBGrid1: TDBGrid;
CustSource: TDataSource;
Panel1: TPanel;
Label3: TLabe... |
unit export_form;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls, sf_export, CheckLst, metadata, query_filter, Buttons, Spin,
fpspreadsheet;
type
{ TExportForm }
TExportForm = class(TForm)
private
FColsCount: integer;
FRow... |
unit ncGuidUtils;
interface
uses SysUtils;
type
TGuidEx = class
//Creates and returns a new globally unique identifier
class function NewGuid : TGuid;
class function New: TGuid;
//sometimes we need to have an "empty" value, like NULL
class function EmptyGuid : TGuid;
class function Empty: T... |
{$INCLUDE ..\cDefines.inc}
unit cRandom;
{ }
{ Random number functions v3.08 }
{ }
{ This unit is copyright... |
unit nifti_hdr;
{$include opts.inc}
{$D-,O+,Q-,R-,S-}
interface
uses
{$H+}
{$Include isgui.inc}
{$IFNDEF FPC}
gziod,
{$ELSE}
gzio2,
{$ENDIF}
{$IFNDEF FPC} Windows, {$ENDIF}
{$IFDEF DGL} dglOpenGL, {$ELSE} gl, {$ENDIF}
nifti_types, clipbrd,
define_types,SysUtils,nii_mat,nifti_foreign, //GLMisc, //GL... |
unit Main;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.Forms, Winapi.Windows, Winapi.Messages,
Vcl.StdCtrls, DirectShow9, DXSUtil, DSPack, Vcl.ExtCtrls, AdvPanel, dxGDIPlusClasses;
type
TfrmMain = class(TForm)
shMain: TShape;
pnlMain: TPanel;
VideoSourceFilter: TFilter;
Ca... |
unit ncaTermID;
interface
uses
SysUtils, Classes, ncGuidUtils, Windows, ncDebug, ShlObj;
procedure GetTermID;
procedure RenewTermID;
var
gTermID: String;
implementation
function GetSpecialFolderPath(Folder: Integer; CanCreate: Boolean): string;
// Gets path of special system folders
//
// Call this routine ... |
unit uWindows;
interface
uses Vcl.FileCtrl, System.SysUtils, Winapi.Windows, Vcl.Forms, ShellAPI, System.Classes,
Variants, Controls, Dialogs, ComObj, ExtCtrls;
procedure barraDeTarefasEsconder;
procedure barraDeTarefasMostrar;
////////////////////////////////////////////////////////////////////////////////
/// A... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
{/*
* (c) Copyright 1993, ... |
UNIT ZugriffszahlenUnit;
INTERFACE
const IP4MAX = 4;
type
IpAddr = array[1..IP4MAX] of byte;
IPAddrNodePtr = ^IPAddrNode;
IPAddrNode = record
prev, next: IPAddrNodePtr;
addr: IpAddr;
count: integer;
end; (* RECORD *)
IPAddrList... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
//Nama: Morgen Sudyanto
//NIM: 16518380
{ Lengkapi dengan identitas }
Program ProsesLingkaran;
{ Input: 2 buah Lingkaran }
{ Output: luas, keliling, dan hubungan lingkaran A dan B }
{ KAMUS }
const
PI : real = 3.1415;
type
{ Definisi Type Koordinat }
Koordinat = record
x,y: real ... |
UNIT ControladorPokedex;
{$mode objfpc}{$H+}
INTERFACE
USES
DT_Pokedex, GUI_Pokedex, Crt, SysUtils;
CONST
TECLA_ESC= #27;
TECLA_ENTER= #13;
//Comandos teclas especiales.
TECLA_ESPECIAL_PRESIONADA= #0; //Al presionar una tecla especial primero se lanza este caracter.
TECLA_FLECHA_ARRIBA= #72; ... |
unit URepositorioProximaVacina;
interface
uses
UProximaVacina
, UEntidade
, URepositorioDB
, SqlExpr
;
type
TRepositorioProximaVacina = class(TRepositorioDB<TPROXIMAVACINA>)
private
public
constructor Create;
//destructor Destroy; override;
procedure AtribuiDBParaEntidade(const coPROX... |
unit ncafbTarifas;
{
ResourceString: Dario 10/03/13
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufmFormBase, dxPSGlbl, dxPSUtl, dxPSEngn, dxPrnPg, dxBkgnd,
dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns, dxPSEdgePatterns,
dxPSCore, cxGridCust... |
unit Resource;
interface
uses Types;
procedure rInit;
procedure rDone;
procedure rPut(const Name: String; var Data; Size: Longint); {$IFNDEF SOLID}export;{$ENDIF}
procedure rGet(const Name: String; var Data); {$IFNDEF SOLID}export;{$ENDIF}
procedure rPutStream(const Name: String; S: PStream; Size: Longint); {$IFNDEF... |
unit untEasyNumeration;
interface
uses
SysUtils, Math;
type
TEasyNumeration = class
public
//10 进制 to 2,8,16 进制
class function IntToBin(Value: Integer): string;
class function IntToHex(Value: Integer): String;//10 = 2
class function IntToO(Value: Integer): string;
//2进制 to 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.