
26.02.2010, 14:01
|
Прохожий
|
|
Регистрация: 23.02.2010
Сообщения: 32
Репутация: 9
|
|
Да есть, чтоб постоянно не париться вот набросок
Код:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Menus;
type
tform1 = class(TForm)
Label1: TLabel;
Subject: TEdit;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Load: TButton;
Start: TButton;
Cancel: TButton;
CheckBox1: TCheckBox;
Label5: TLabel;
Edit1: TEdit;
Label6: TLabel;
Edit2: TEdit;
MainMenu1: TMainMenu;
File1: TMenuItem;
About1: TMenuItem;
N1: TMenuItem;
N2: TMenuItem;
N3: TMenuItem;
N4: TMenuItem;
N5: TMenuItem;
Memo1: TMemo;
OpenDialog1: TOpenDialog;
Label7: TLabel;
Label8: TLabel;
Label9: TLabel;
procedure Loadclick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure Loadclick(Sender: TObject);
begin
if OpenDialog1.Execute then
ListBox1.Items.LoadFromFile(OpenDialog1.FileName);
end;
end.
|