[Carradio\KENWOOD\KDC-7090R]

Size(310,460);  

Form {
    	ComboBox(CodeRequest,"T r a n s m i t   ",42,20,80,"Off","On");
	
	Group("Информация",5,110,300,50)		 
    {
        Label(message," ",0,22);			 
    }
    	Group("Описание",5,165,300,220) 		 
    {
        Label(lb1,"Code calculator for KENWOOD :",0,15);
    	Label(lb2,"Model:  KDC-7090R",32,30);
    	Label(lb3,"Sec. Type:  REMOTE KEY",32,45);
	Label(lb4,"Manufacturen:  KENWOOD.",32,60);
	Label(lb5,"Partnumer:  KE0744 ",32,75);
    	Label(lb6,"MCU:  D703033AGC053 or AGC115 ",32,90);
	Label(lb7,"EEPROM:  24C01 smd",32,105);
	Label(lb8,"Sec.loc.: EEPROM",32,120);
    	Label(lb9,"Autor:  telik@ukrwest.net   2008",0,200);
    	Label(lb10,"Enter code: ",32,135);
    }
	Picture(Logo,"kenwood.bmp",210,10,0,0);
    {
        Label(msg," ",0,395);				 
    } 
}

OnShow {
	msg.Color=0x0000FF;				 
        msg.Bold=1;					 
	msg="http://www.eeprom.lg.ua";		  
        
	Var5 = 0;
	CodeRequest = 1;
    	if(@0x37 = 0x01) { var5 = 0; }			 
    	if(@0x37 = 0x02) { var5 = 1; } 			 
    	CodeRequest = var5;  
		
}

OnApply {
	if(CodeRequest = 1) { @0x37 = 0x02; }
	if(CodeRequest = 0) { @0x37 = 0x01; }
	message.Color = 0xFF0000;
        message.Bold = 1;
       	message = "Запрос кода изменён.";
}

