Курсовая работа: Автоматизация расчёта нагрузки и преподавателей ВУЗа
for (i=0;i<Image1->Width;i++)
{for (j=0;j<Image1->Height;j++)
Image1->Canvas->Pixels[i][j]=clWhite;}
}
//---------------------------------------------------------------------------
void __fastcall TForm1::N8Click(TObject *Sender)
{
Image1->Canvas->Pen->Style=psDot;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::N9Click(TObject *Sender)
{
Image1->Canvas->Pen->Style=psClear;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::N2Click(TObject *Sender)
{
CColorGrid1->Width=90;
CColorGrid1->Height=90;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button2Click(TObject *Sender)
{ if (ComboBox1->ItemIndex==0)
{
Form4=new TForm4(Application);
Form4->Table1->Active=false;
Form4->Table2->Active=false;
Form4->Show();
}