[Airbag\Ford\Focus\CM5T 14b321 AE  (95640)]

Size(280,200); // ширина и высота

Form
{
    Group("Информация",10,15,170,40)
    {
        Label(msg," ",0,17);
    }

    Group("Описание",5,60,270,85) 
    {
        Label(lb4,"Калькулятор для Focus\Bosch 0 285 010 977",0,15);
        Label(lb5,"Eeprom 95640",0,30);
        Label(lb2,"Чтобы стереть CRASH и ошибки",0,45);
       
        Label(lb3,"нажмите кнопку <Применить>.",0,60);
    }
  Picture(Logo,"Ford.bmp",185,20,0,0); 
}
OnShow
    {
     
     var0 = 0;Var1 =0; Var2 =0x00;
     if(@0x210 = 0xff) {Var0 = Var0 + 1;}
     if(@0x214 = 0xff) {Var0 = Var0 + 1;}
     if(Var0 != 0) 
       {
        msg.Color = 0x0000FF;
	msg.Bold = 1;
	msg = "Неверный дамп!";
       }
     else
       {
        Var1 =0x1BC8; 
        while(Var1 !=0x1BCB)
        {
         Var2 =Var2 | @Var1; Var1 = var1 + 1;
        }
        
        if(var2 != 0xFF) 
         {
          msg.Color = 0x0000FF;
	  msg.Bold = 1;
	  msg = "Обнаружен CRASH!";
         }
         else
         {
          msg.Color = 0xff0000;
	  msg.Bold = 1;
	  msg = "Дамп чистый!";
         }
       }  
    }
OnApply
      {
       Var1 = 0x140;
      while(Var1 != 0x14B)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x14C;
      while(Var1 != 0x14D)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x14E;
      while(Var1 != 0x197)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x198;
      while(Var1 != 0x199)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x19A;
      while(Var1 != 0x1DB)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x249;
      while(Var1 != 0x270)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x272;
      while(Var1 != 0x2B0)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x2B0;
      while(Var1 != 0x1220)
      {
       @Var1 = 0xFF; Var1 = Var1 + 1;
      } 
       Var1 = 0x1B14;
      while(Var1 != 0x1CC8)
      {
       @Var1 = 0xFF; Var1 = Var1 + 1;
      } 
       Var1 = 0x1CC8;
      while(Var1 != 0x1CF4)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x1CF7;
      while(Var1 != 0x1CFC)
      {
       @Var1 = 0xFF; Var1 = Var1 + 1;
      } 
       Var1 = 0x1CFC;
      while(Var1 != 0x1D6E)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x1D6E;
      while(Var1 != 0x1D94)
      {
       @Var1 = 0xFF; Var1 = Var1 + 1;
      } 
       Var1 = 0x1D98;
      while(Var1 != 0x1DC0)
      {
       @Var1 = 0xFF; Var1 = Var1 + 1;
      } 
       Var1 = 0x1E04;
      while(Var1 != 0x1E15)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
       Var1 = 0x1E15;
      while(Var1 != 0x1F04)
      {
       @Var1 = 0xFF; Var1 = Var1 + 1;
      } 

        

      
      msg.Color = 0xff00ff;
      msg.Bold = 1;
      msg = "CRASH и ошибки стерты!";
    }