------------ Дoбавленo:
Еще немного выкинул лишнего
Add(Memo,15138165,595,273)
{
Left=10
Top=70
Width=375
Height=170
ScrollBars=2
}
Add(Edit,11417004,427,203)
{
Left=110
Top=15
Width=270
Text="043F0440043E04310430"
}
Add(HubEx,5072661,567,266)
{
link(onEvent,15138165:doAdd,[])
}
Add(MultiElementEx,6034427,455,266)
{
link(onDecodeSms,5072661:doWork1,[(571,272)])
link(onCodeSms,5072661:doWork2,[])
link(TextDecode,11417004:Text,[(461,250)(433,250)])
link(TextCode,7360015:Text,[(468,250)(496,250)])
}
BEGIN_SDK
Add(EditMultiEx,666274,52,31)
{
WorkCount=#28:doDecodeSms=декодировать смс|24:doCodeSms=кодировать смс|
EventCount=#39:onDecodeSms=событие после декодирования|39:onCodeSms=событие после кодирования смс|
VarCount=#44:ResultDecodeText=результат декодирования смс|40:ResultCodeText=результат кодирования смс|
DataCount=#37:TextDecode=текст для декодировать смс|34:TextCode=текст для кодирования смс|
Width=874
Height=515
link(doDecodeSms,3638402:doEvent1,[(90,37)(90,191)])
link(doCodeSms,10905187:doEvent1,[(87,44)(87,408)])
link(ResultDecodeText,9229614:Var,[])
link(ResultCodeText,13507678:Var,[])
}
Add(GetDataEx,3342553,185,164)
{
link(Data,666274:TextDecode,[(198,100)(58,100)])
}
Add(Copy,12108522,304,192)
{
Count=4
link(onCopy,2420880:doGetIndex,[])
link(Str,3342553:Var3,[(310,173)])
link(Position,16289305:Position,[(317,174)(354,174)(354,245)(233,245)])
}
Add(Length,8877922,164,192)
{
link(onLength,16289305:doFor,[])
link(Str,3342553:Var1,[(170,173)])
}
Add(For,16289305,227,192)
{
Start=1
Step=4
IncludeEnd=1
link(onEvent,12108522:doCopy,[])
link(onStop,4860996:In,[(283,205)(283,233)])
link(End,8877922:Result,[(240,180)(205,180)(205,236)(170,236)])
}
Add(Hub,10905187,122,402)
{
link(onEvent1,4231502:In,[(162,408)(162,387)])
link(onEvent2,10193889:doLoad,[])
}
Add(Hub,3638402,115,185)
{
link(onEvent1,3899082:In,[(162,191)(162,142)])
link(onEvent2,8877922:doLength,[])
}
Add(LineBreak,1063341,570,332)
{
Caption="c"
link(Out,12555173:doClear,[(618,338)(618,324)])
Primary=[3899082,-399,-196]
}
Add(LineBreak,6295960,577,311)
{
Caption="out"
link(Out,12555173:doGetStr,[])
Primary=[4860996,-266,-84]
}
Add(StrList,2420880,521,150)
{
@Hint=#11:код символа|
Strings=#4:0030|4:0031|4:0032|4:0033|4:0034|4:0035|4:0036|4:0037|4:0038|4:0039|4:0401|4:0410|4:0411|4:0412|4:0413|4:0414|4:0415|4:0416|4:0417|4:0418|4:0419|4:041A|4:041B|4:041C|4:041D|4:041E|4:041F|4:0420|4:0421|4:0422|4:0423|4:0424|4:0425|4:0426|4:0427|4:0428|4:0429|4:042A|4:042B|4:042C|4:042D|4:042E|4:042F|4:0430|4:0431|4:0432|4:0433|4:0434|4:0435|4:0436|4:0437|4:0438|4:0439|4:043A|4:043B|4:043C|4:043D|4:043E|4:043F|4:0440|4:0441|4:0442|4:0443|4:0444|4:0445|4:0446|4:0447|4:0448|4:0449|4:044A|4:044B|4:044C|4:044D|4:044E|4:044F|4:0451|4:00A0|4:0020|4:0021|4:0022|4:0023|4:0024|4:0025|4:0026|4:0027|4:0028|4:0029|4:002A|4:002B|4:002C|4:002D|4:002E|4:002F|4:003A|4:003B|4:003C|4:003D|4:003E|4:003F|4:0040|4:0041|4:0042|4:0043|4:0044|4:0045|4:0046|4:0047|4:0048|4:0049|4:004A|4:004B|4:004C|4:004D|4:004E|4:004F|4:0050|4:0051|4:0052|4:0053|4:0054|4:0055|4:0056|4:0057|4:0058|4:0059|4:005A|4:005B|4:005C|4:005D|4:005E|4:005F|4:0060|4:0061|4:0062|4:0063|4:0064|4:0065|4:0066|4:0067|4:0068|4:0069|4:006A|4:006B|4:006C|4:006D|4:006E|4:006F|4:0070|4:0071|4:0072|4:0073|4:0074|4:0075|4:0076|4:0077|4:0078|4:0079|4:007A|4:007B|4:007C|4:007D|4:007E|4:00b6|
Point(doGetIndex)
Point(doGetString)
Point(onGetIndex)
Point(onGetString)
link(onGetIndex,9772731:doGetString,[(572,163)(572,295)(416,295)(416,408)])
link(onGetString,7450542:doAdd,[])
}
Add(StrList,9772731,437,360)
{
@Hint=#6:символ|
Strings=#1:0|1:1|1:2|1:3|1:4|1:5|1:6|1:7|1:8|1:9|1:Ё|1:А|1:Б|1:В|1:Г|1:Д|1:Е|1:Ж|1:З|1:И|1:Й|1:К|1:Л|1:М|1:Н|1:О|1:П|1:Р|1:С|1:Т|1:У|1:Ф|1:Х|1:Ц|1:Ч|1:Ш|1:Щ|1:Ъ|1:Ы|1:Ь|1:Э|1:Ю|1:Я|1:а|1:б|1:в|1:г|1:д|1:е|1:ж|1:з|1:и|1:й|1:к|1:л|1:м|1:н|1:о|1:п|1:р|1:с|1:т|1:у|1:ф|1:х|1:ц|1:ч|1:ш|1:щ|1:ъ|1:ы|1:ь|1:э|1:ю|1:я|2:ё |1: |1: |1:!|1:"|1:#|1:$|1:%|1:&|1:'|1:(|1:)|1:*|1:+|1:,|1:-|1:.|1:/|1::|1:;|1:<|1:=|1:>|1:?|1:@|1:A|1:B|1:C|1:D|1:E|1:F|1:G|1:H|1:I|1:J|1:K|1:L|1:M|1:N|1:O|1:P|1:Q|1:R|1:S|1:T|1:U|1:V|1:W|1:X|1:Y|1:Z|1:[|1:\|1:]|1:^|1:_|1:`|1:a|1:b|1:c|1:d|1:e|1:f|1:g|1:h|1:i|1:j|1:k|1:l|1:m|1:n|1:o|1:p|1:q|1:r|1:s|1:t|1:u|1:v|1:w|1:x|1:y|1:z|1:{|1:||1:}|1:~|1:¶|
Point(doGetString)
Point(onGetString)
Point(doGetIndex)
Point(onGetIndex)
link(onGetString,6457832:doAdd,[])
link(onGetIndex,2420880:doGetString,[(498,380)(498,205)])
}
Add(LineBreak,4322945,591,129)
{
Caption="с"
link(Out,13987187:doClear,[(636,135)(636,121)])
Primary=[4231502,-420,252]
}
Add(CharArray,10193889,192,409)
{
link(onLoad,2784547:doEnum,[])
link(String,666274:TextCode,[(198,404)(65,404)])
}
Add(ArrayEnum,2784547,248,409)
{
link(onItem,9772731:doGetIndex,[])
link(onEndEnum,9380628:In,[(295,422)(295,436)])
link(Array,10193889:Array,[(254,397)(234,397)(234,451)(198,451)])
}
Add(LineBreak,4727221,598,108)
{
Caption="out"
link(Out,13987187:doGetStr,[])
Primary=[9380628,-294,322]
}
Add(LineBreak,11834111,644,444)
{
Caption="ANSI"
Type=1
link(Data,12555173:Str,[])
Primary=[9229614,-592,14]
}
Add(LineBreak,12433783,661,220)
{
Caption="UniCode"
Type=1
link(Data,13987187:Str,[(667,176)(664,176)])
Primary=[13507678,-602,280]
}
Add(ArrayRW,6457832,637,353)
{
link(Array,12555173:Array,[])
}
Add(CharArray,12555173,637,304)
{
link(onGetStr,666274:onDecodeSms,[(769,317)(769,37)])
}
Add(ArrayRW,7450542,651,150)
{
link(Array,13987187:Array,[])
}
Add(CharArray,13987187,651,101)
{
link(onGetStr,666274:onCodeSms,[(805,114)(805,44)])
}
END_SDK
Add(Edit,7360015,490,203)
{
Left=110
Top=45
Width=270
Text="проба"
}
Add(Button,15093083,518,280)
{
Left=35
Top=245
Width=110
Caption="Очистить"
link(onClick,15138165:doClear,[])
}
Add(Button,13113654,350,231)
{
Left=10
Top=17
Width=95
Caption="конв в юникод"
link(onClick,6034427:doDecodeSms,[(418,237)(418,272)])
}
Add(Button,6139698,343,273)
{
Left=10
Top=42
Width=95
Caption="конв юникод"
link(onClick,6034427:doCodeSms,[])
}