[C++ Error] Unit2.cpp19: E2316 '_fastcall TForm2::RadioButton1Clickint' is not a member of 'TForm2' что не правильно

[C++ Error] Unit2.cpp19: E2316 '_fastcall TForm2::RadioButton1Clickint' is not a member of 'TForm2' что не правильно
//---------------------------------------------------------------------------

#include
#pragma hdrstop

#include "Unit2.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm2 *Form2;
double TotalTime = 0;
//---------------------------------------------------------------------------
__fastcall TForm2::TForm2(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm2::RadioButton1Click(int Step)
{
Form2 -> Timer1 -> Enabled = false; тут ошибка
TotalTime = 0.0;
Form2 -> Edit1 -> Text = "0";
Form2 -> Timer1 -> Interval = Step;
Form2 -> Button1 -> Caption = "Start";
}
//---------------------------------------------------------------------------

void __fastcall TForm2::Button1Click(TObject *Sender)
{
Timer1 -> Enabled = !(Timer1 -> Enabled);
if (Timer1 -> Enabled == true)
Button1 -> Caption = "Пауза";
else
Button1 -> Caption = "Старт";
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Button2Click(TObject *Sender)
{
TotalTime = 0.0;
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Button3Click(TObject *Sender)
{
exit(0);
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Timer1Timer(TObject *Sender)
{
TotalTime += 0.001 * Timer1 -> Interval;
Edit1 -> Text = TotalTime;
}
//---------------------------------------------------------------------------

  • Ну вот он хваленый автокомпоновщик кода. Проверяйте хедар TForm2 не объвленно там метода RadioButton1Click(int)