procedure TForm1.ModifyiniClick(Sender: TObject);
var
ColorIni: TIniFile;
begin
ColorIni := TIniFile.Create(ExtractFilePath(application.ExeName)+'Color.ini');
ColorIni.WriteInteger('Panel', 'PanelColor',Panel1.Color);
ColorIni.Free;
end;
procedure TSetDogForm.FormCreate(Sender: TObject);
var
ColorIni: TIniFile;
Pcolor:integer;
begin
ColorIni := TIniFile.Create(ExtractFilePath(application.ExeName)+'Color.ini');
Panel1.Color:=ColorIni.ReadInteger('Panel', 'PanelColor',ClBtnFace);
ColorIni.Free;
end;