unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ActnMan, ActnColorMaps, ExtCtrls;

type
  TForm1 = class(TForm)
    Label1: TLabel;
    txtCompName: TEdit;
    Label2: TLabel;
    txtUserName: TEdit;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

//Возвращает сетевое имя компьютера
function GetComputerName(): String;
begin

end;

//Возвращает имя текущего пользователя
function GetUserName(): String;
begin

end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  txtCompName := GetComputerName();
  txtUserName := GetUserName();
end;

end.
