Схема
Add(MainForm,2953706,126,112)
{
Width=484
Height=478
}
Add(Button,606307,126,168)
{
Left=205
Top=230
TabOrder=-1
Caption="Load"
link(onClick,11605967:doExecute,[])
}
Add(Memo,3710708,441,147)
{
Left=10
Top=5
Width=455
Height=215
ScrollBars=2
}
Add(StreamConvertor,5744430,322,168)
{
Mode=6
Point(Data)
link(onResult,7947916:doCharset,[])
}
Add(Charset,7947916,378,168)
{
Type=5
link(onCharset,3710708:doText,[])
}
Add(FileStream,13114923,266,168)
{
link(onLoad,5744430:doConvert,[])
}
Add(Hub,9459066,231,168)
{
link(onEvent1,13114923:doOpen,[])
link(onEvent2,13114923:doClose,[])
}
Add(Button,3784488,126,273)
{
Left=10
Top=235
Caption="Convert"
link(onClick,6761351:doCharset,[])
}
Add(Charset,6761351,175,273)
{
Type=4
link(onCharset,5732440:doConvert,[])
link(Text,1959167:Var,[])
}
Add(Image,10545761,322,273)
{
Left=20
Top=280
Width=205
Height=150
Ctl3D=0
}
Add(LineBreak,12284844,441,196)
{
Type=1
link(Data,3710708:Text,[])
Primary=[1959167,-266,49]
}
Add(Convertor,5732440,224,273)
{
Mode=12
link(onResult,9074686:doLoadFrom,[])
}
Add(Img_GDIFileProcessor,9074686,273,273)
{
Method=1
link(onLoad,10545761:doLoad,[])
}
Add(ODialog,11605967,182,168)
{
Filter="All Image Files|*.bmp;*.gif;*.ico;*wmf;*.emf;*.tif;*.png;*.jpg;*.jpeg|BMP (*.bmp)|*.bmp|JPG (*.jpg, *.jpeg)|*.jpg;*.jpeg|GIF (*.gif)|*.gif|TIFF (*.tif)|*.tif|PNG (*.png)|*.png|ICO (*.ico)|*.ico|EMF (*.emf)|*.emf|WMF (*.wmf)|*.wmf|All files (*.*)|*.*"
FileName=""
link(onExecute,9459066:doEvent1,[])
}