unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, StdCtrls, XPMAN, ExtCtrls;
type
TForm1 = class(TForm)
MainMenu1: TMainMenu;
N1: TMenuItem;
N2: TMenuItem;
N3: TMenuItem;
N4: TMenuItem;
Button1: TButton;
N5: TMenuItem;
Panel1: TPanel;
Panel2: TPanel;
Panel3: TPanel;
Panel4: TPanel;
Panel5: TPanel;
Panel6: TPanel;
Panel7: TPanel;
Panel8: TPanel;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
Label7: TLabel;
Label8: TLabel;
RadioButton1: TRadioButton;
RadioButton2: TRadioButton;
RadioButton3: TRadioButton;
RadioButton4: TRadioButton;
RadioButton5: TRadioButton;
RadioButton6: TRadioButton;
RadioButton7: TRadioButton;
RadioButton8: TRadioButton;
RadioButton9: TRadioButton;
RadioButton10: TRadioButton;
RadioButton11: TRadioButton;
RadioButton12: TRadioButton;
RadioButton13: TRadioButton;
RadioButton14: TRadioButton;
RadioButton15: TRadioButton;
RadioButton16: TRadioButton;
RadioButton17: TRadioButton;
RadioButton18: TRadioButton;
RadioButton19: TRadioButton;
RadioButton20: TRadioButton;
RadioButton21: TRadioButton;
RadioButton22: TRadioButton;
RadioButton23: TRadioButton;
RadioButton24: TRadioButton;
RadioButton25: TRadioButton;
RadioButton26: TRadioButton;
procedure N5Click(Sender: TObject);
procedure RadioButton1Click(Sender: TObject);
procedure RadioButton2Click(Sender: TObject);
procedure RadioButton3Click(Sender: TObject);
procedure RadioButton4Click(Sender: TObject);
procedure RadioButton5Click(Sender: TObject);
procedure RadioButton6Click(Sender: TObject);
procedure RadioButton7Click(Sender: TObject);
procedure RadioButton8Click(Sender: TObject);
procedure RadioButton9Click(Sender: TObject);
procedure RadioButton10Click(Sender: TObject);
procedure RadioButton11Click(Sender: TObject);
procedure RadioButton12Click(Sender: TObject);
procedure RadioButton13Click(Sender: TObject);
procedure RadioButton14Click(Sender: TObject);
procedure RadioButton15Click(Sender: TObject);
procedure RadioButton16Click(Sender: TObject);
procedure RadioButton17Click(Sender: TObject);
procedure RadioButton18Click(Sender: TObject);
procedure RadioButton19Click(Sender: TObject);
procedure RadioButton20Click(Sender: TObject);
procedure RadioButton21Click(Sender: TObject);
procedure RadioButton22Click(Sender: TObject);
procedure RadioButton23Click(Sender: TObject);
procedure RadioButton24Click(Sender: TObject);
procedure RadioButton25Click(Sender: TObject);
procedure RadioButton26Click(Sender: TObject);
procedure N1Click(Sender: TObject);
procedure N3Click(Sender: TObject);
procedure N4Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
o: integer;
implementation
uses Unit2, Unit3, Unit4;
{$R *.dfm}
procedure TForm1.N5Click(Sender: TObject);
begin
Close;
end;
procedure TForm1.RadioButton1Click(Sender: TObject);
begin
o:=3;
end;
procedure TForm1.RadioButton2Click(Sender: TObject);
begin
o:=2;
end;
procedure TForm1.RadioButton3Click(Sender: TObject);
begin
o:=1;
end;
procedure TForm1.RadioButton4Click(Sender: TObject);
begin
o:=0;
end;
procedure TForm1.RadioButton5Click(Sender: TObject);
begin
o:=o+3;
end;
procedure TForm1.RadioButton6Click(Sender: TObject);
begin
o:=o+2;
end;
procedure TForm1.RadioButton7Click(Sender: TObject);
begin
o:=o+1;
end;
procedure TForm1.RadioButton8Click(Sender: TObject);
begin
o:=o+0;
end;
procedure TForm1.RadioButton9Click(Sender: TObject);
begin
o:=o+3;
end;
procedure TForm1.RadioButton10Click(Sender: TObject);
begin
o:=o+2;
end;
procedure TForm1.RadioButton11Click(Sender: TObject);
begin
o:=o+1;
end;
procedure TForm1.RadioButton12Click(Sender: TObject);
begin
o:=o+0;
end;
procedure TForm1.RadioButton13Click(Sender: TObject);
begin
o:=o+1;
end;
procedure TForm1.RadioButton14Click(Sender: TObject);
begin
o:=o+0;
end;
procedure TForm1.RadioButton15Click(Sender: TObject);
begin
o:=o+2;
end;
procedure TForm1.RadioButton16Click(Sender: TObject);
begin
o:=o+0;
end;
procedure TForm1.RadioButton17Click(Sender: TObject);
begin
o:=o+0;
end;
procedure TForm1.RadioButton18Click(Sender: TObject);
begin
o:=o+1;
end;
procedure TForm1.RadioButton19Click(Sender: TObject);
begin
o:=o+2;
end;
procedure TForm1.RadioButton20Click(Sender: TObject);
begin
o:=o+3;
end;
procedure TForm1.RadioButton21Click(Sender: TObject);
begin
o:=o+3;
end;
procedure TForm1.RadioButton22Click(Sender: TObject);
begin
o:=o+2;
end;
procedure TForm1.RadioButton23Click(Sender: TObject);
begin
o:=o+1;
end;
procedure TForm1.RadioButton24Click(Sender: TObject);
begin
o:=o+0;
end;
procedure TForm1.RadioButton25Click(Sender: TObject);
begin
o:=o+0;
end;
procedure TForm1.RadioButton26Click(Sender: TObject);
begin
o:=o+2;
end;
{
case o of
0..7:
begin
end;
8..13:
begin
end;
14..20:
begin
end;
end; }
procedure TForm1.N1Click(Sender: TObject);
begin
form2.showmodal;
end;
procedure TForm1.N3Click(Sender: TObject);
begin
Form3.showmodal;
end;
procedure TForm1.N4Click(Sender: TObject);
begin
Form4.showmodal;
end;
end.