Немного доработал бумажный вариант code_36915.txt
------------ Дoбавленo в 01.02:
Немного доработал бумажный вариант Add(MultiElement,11747870,329,98) { } BEGIN_SDK Add(EditMulti,3646858,7,21) { WorkCount=2 VarCount=1 Width=362 Height=221 VOffset=14 HOffset=330 link(doWork1,13208157:doWork1,[(65,41)(65,83)]) link(doWork2,15042311:doEvent1,[]) link(Var1,1410997:Array,[]) } Add(ArrayRW,13958881,147,140) { link(onRead,1295407:doRead,[]) link(Array,13915844:Array,[]) } Add(For,16587351,91,140) { End=8 link(onEvent,13958881:doRead,[]) } Add(ArrayRW,1295407,203,140) { link(onRead,3657927:doEnum,[]) link(Array,10953266:Array,[]) } Add(Str_Enum,3657927,252,140) { Delimiter="" link(onEnum,1410997:doAdd,[(304,146)(304,48)]) } Add(StrList,1410997,323,42) { } Add(StrList,10953266,189,77) { Strings=#9:681594327|9:597283416|9:342671589|9:934157268|9:278936145|9:156842973|9:729318654|9:813465792|9:465729831| } Add(MultiElement,13208157,77,77) { link(onEvent1,13915844:doAdd,[]) } BEGIN_SDK Add(EditMulti,15460465,21,21) { EventCount=1 WorkCount=2 Width=370 Height=221 link(doWork1,3263520:doRandomize,[(82,27)(82,132)]) link(doWork2,11279144:doEvent1,[(28,34)(28,125)]) } Add(StrList,2120971,154,42) { @Hint=#23:набор верхних квадратов| Strings=#3:012|3:021|3:102|3:120|3:201|3:210| Point(doGetString) Point(String) } Add(StrList,11409366,203,42) { @Hint=#23:набор средних квадратов| Strings=#3:345|3:354|3:435|3:453|3:534|3:543| Point(doGetString) Point(String) } Add(StrList,286914,259,42) { @Hint=#22:набор нижниз квадратов| Strings=#3:678|3:687|3:768|3:786|3:867|3:876| Point(doGetString) Point(String) } Add(Random,3263520,105,119) { Max=5 link(onRandom,2120971:doGetString,[(146,125)(146,90)]) } Add(Random,519881,210,119) { Max=5 link(onRandom,286914:doGetString,[(254,125)(254,90)]) } Add(Random,10951995,154,119) { Max=5 link(onRandom,11409366:doGetString,[(194,125)(194,90)]) } Add(Hub,11279144,35,119) { OutCount=4 link(onEvent1,3263520:doRandom,[]) link(onEvent2,10951995:doRandom,[(59,132)(59,125)]) link(onEvent3,519881:doRandom,[(59,139)(59,125)]) link(onEvent4,2313549:doString,[]) } Add(FormatStr,2313549,266,140) { DataCount=3 Mask="%1%2%3" link(onFString,4755817:doEnum,[]) link(Str1,2120971:String,[(272,110)(181,110)]) link(Str2,11409366:String,[(279,103)(230,103)]) link(Str3,286914:String,[]) } Add(Str_Enum,4755817,315,140) { Delimiter="" link(onEnum,15460465:onEvent1,[(369,146)(369,27)]) } Add(PointHint,11297844,77,182) { Info=#114:Схема случайным образом формирует строку которая указывает в каком порядке будут выводится строки из шаблона поля.| VAlign=0 Width=239 Height=46 } END_SDK Add(StrList,13915844,133,77) { } Add(Hub,15042311,21,42) { OutCount=4 link(onEvent1,13915844:doClear,[(57,48)(57,90)]) link(onEvent2,1410997:doClear,[]) link(onEvent3,13208157:doWork2,[(57,62)(57,90)]) link(onEvent4,16587351:doFor,[(57,69)(57,146)]) } Add(PointHint,6163744,70,189) { Info=#73:Формируется случайным образом список строк из шаблона для вывода на поле.| VAlign=0 Width=218 } END_SDK Add(MultiElement,6663885,329,140) { link(Data1,11747870:Var1,[]) } BEGIN_SDK Add(EditMulti,16089345,21,21) { WorkCount=1 DataCount=1 VarCount=1 Width=349 Height=172 VOffset=25 HOffset=175 link(doWork1,3503707:doEvent1,[]) link(Var1,4494192:Array,[(202,170)(342,170)]) } Add(For,77445,133,77) { End=200 Step=9 link(onEvent,14840689:doRead,[]) link(onStop,2699428:doEvent1,[(185,90)(185,139)]) link(Start,5514989:Position,[(139,66)(119,66)(119,121)(83,121)]) } Add(StrList,4494192,322,39) { } Add(ArrayRW,14840689,196,77) { link(onRead,3488524:doStrCat,[]) link(Array,16089345:Data1,[]) } Add(For,5514989,77,77) { End=8 link(onEvent,77445:doFor,[]) } Add(StrCat,3488524,252,77) { Point(doClear) link(Str1,3179524:Var1,[(258,65)(245,65)(245,117)]) } Add(Hub,2699428,210,133) { link(onEvent1,14881804:doData,[]) link(onEvent2,3488524:doClear,[(238,146)(238,90)]) } Add(DoData,14881804,245,133) { link(onEventData,4494192:doAdd,[(299,139)(299,45)]) link(Data,3179524:Var2,[]) } Add(GetDataEx,3179524,245,112) { Angle=1 link(Data,3488524:Result,[(258,117)]) } Add(Hub,3503707,35,46) { link(onEvent1,4494192:doClear,[(185,52)(185,52)]) link(onEvent2,5514989:doFor,[(60,59)(60,83)]) } Add(PointHint,9506064,35,140) { Info=#61:Из случайно собранного списка строк, готовим список столбцов.| VAlign=0 Width=134 Height=46 } END_SDK Add(MultiElement,7713743,329,182) { link(onEvent1,669214:doWork1,[(379,188)(379,238)(317,238)(317,251)]) link(onEvent2,669214:doWork2,[(373,195)(373,230)(309,230)(309,258)]) link(Data1,6663885:Var1,[]) } BEGIN_SDK Add(EditMulti,12723636,21,21) { EventCount=2 WorkCount=1 DataCount=1 VarCount=1 Width=386 Height=235 VOffset=21 HOffset=310 link(doWork1,9455782:doEvent1,[]) link(Var1,10875734:Item,[]) } Add(ArrayRW,7996636,147,140) { link(onRead,2255061:doRead,[]) link(Array,16091850:Array,[]) } Add(For,16550442,91,140) { End=8 link(onEvent,7996636:doRead,[]) link(onStop,10496781:doFor,[(134,153)(134,186)]) } Add(ArrayRW,2255061,196,140) { link(onRead,11869333:doEnum,[]) link(Array,12723636:Data1,[(202,31)(337,31)]) } Add(Str_Enum,11869333,245,140) { Delimiter="" link(onEnum,8690038:doAdd,[(297,146)(297,48)]) } Add(StrList,8690038,317,42) { } Add(MultiElement,6143926,84,77) { link(onEvent1,16091850:doAdd,[]) } BEGIN_SDK Add(EditMulti,10475159,21,21) { EventCount=1 WorkCount=1 Width=370 Height=221 link(doWork1,2574351:doEvent1,[(28,27)(28,125)]) } Add(StrList,7053612,154,42) { @Hint=#23:набор верхних квадратов| Strings=#3:012|3:021|3:102|3:120|3:201|3:210| Point(doGetString) Point(String) } Add(StrList,5066618,203,42) { @Hint=#23:набор средних квадратов| Strings=#3:345|3:354|3:435|3:453|3:534|3:543| Point(doGetString) Point(String) } Add(StrList,15656437,259,42) { @Hint=#22:набор нижниз квадратов| Strings=#3:678|3:687|3:768|3:786|3:867|3:876| Point(doGetString) Point(String) } Add(Random,692510,105,119) { Max=5 link(onRandom,7053612:doGetString,[(146,125)(146,90)]) } Add(Random,12885694,210,119) { Max=5 link(onRandom,15656437:doGetString,[(254,125)(254,90)]) } Add(Random,11976707,154,119) { Max=5 link(onRandom,5066618:doGetString,[(194,125)(194,90)]) } Add(Hub,2574351,35,119) { OutCount=4 link(onEvent1,692510:doRandom,[]) link(onEvent2,11976707:doRandom,[(59,132)(59,125)]) link(onEvent3,12885694:doRandom,[(59,139)(59,125)]) link(onEvent4,15214799:doString,[]) } Add(FormatStr,15214799,266,140) { DataCount=3 Mask="%1%2%3" link(onFString,12039971:doEnum,[]) link(Str1,7053612:String,[(272,110)(181,110)]) link(Str2,5066618:String,[(279,103)(230,103)]) link(Str3,15656437:String,[]) } Add(Str_Enum,12039971,315,140) { Delimiter="" link(onEnum,10475159:onEvent1,[(369,146)(369,27)]) } Add(PointHint,9544619,77,182) { Info=#115:Схема случайным образом формирует строку которая указывает в каком порядке будут выводится столбцы из шаблона поля.| VAlign=0 Width=239 Height=46 } END_SDK Add(StrList,16091850,133,77) { } Add(Hub,9455782,35,42) { OutCount=4 link(onEvent1,16091850:doClear,[(123,48)(123,90)]) link(onEvent2,8690038:doClear,[]) link(onEvent3,6143926:doWork1,[(70,62)(70,83)]) link(onEvent4,16550442:doFor,[(70,69)(70,146)]) } Add(PointHint,340295,35,196) { Info=#92:Формируется случайным образом список столбцов из случайного списка строк для вывода на поле.| VAlign=0 Width=232 Height=46 } Add(ArrayRW,10875734,331,180) { link(onRead,12723636:onEvent1,[(385,186)(385,48)]) link(Array,8690038:Array,[]) } Add(For,10496781,280,180) { End=80 link(onEvent,10875734:doRead,[]) link(onStop,12723636:onEvent2,[(394,193)(394,55)]) } END_SDK Add(MainForm,12253585,231,77) { Width=520 Height=586 Color=15780518 Caption="Судоку" BorderStyle=3 Position=1 Point(Handle) link(onCreate,12725111:doEvent1,[]) } Add(Hub,13833064,273,259) { OutCount=6 link(onEvent1,669214:doWork3,[]) link(onEvent2,669214:doWork4,[]) link(onEvent3,11747870:doWork2,[(298,279)(298,111)]) link(onEvent4,6663885:doWork1,[(298,286)(298,146)]) link(onEvent5,7713743:doWork1,[(298,293)(298,188)]) link(onEvent6,669214:doWork5,[(304,300)(304,279)]) } Add(Label,16178971,231,259) { Left=10 Top=10 Width=80 Height=26 Color=15780518 Font=[Times New Roman,12,1,16711680,204] Cursor=2 Ctl3D=0 WinStyle=3 Caption=" Играть " AutoSize=1 ColorHover=255 link(onClick,13833064:doEvent1,[]) } Add(ChildPanel,669214,329,245) { link(onEvent1,4764719:doWork2,[(370,251)(370,291)(312,291)(312,314)]) link(Data1,7713743:Var1,[]) link(Data2,14572102:String,[]) } BEGIN_SDK Add(EditMulti,8810504,32,21) { EventCount=1 WorkCount=5 DataCount=2 VarCount=1 Width=384 Height=228 HOffset=250 MakeExt(EventCount,клик мышкой,EventCount) link(doWork1,2872659:doNext,[(91,27)(91,97)]) link(doWork2,4233854:doResize,[]) link(doWork3,12601933:doEvent1,[(81,41)(81,104)]) link(doWork4,11149644:##clear,[(71,48)(71,181)]) link(doWork5,15062165:doWork1,[(59,55)(59,139)]) link(Var1,2116648:Handle,[]) } Add(Panel,2116648,282,203) { Left=5 Top=45 Width=502 Height=502 Color=15780518 BevelInner=1 Point(Handle) } Add(ChildPanelEx,11149644,282,161) { Mode=1 link(Data,8810504:Data1,[]) } BEGIN_SDK Add(EditMultiEx,5626835,21,21) { WorkCount=#5:##add|8:##select|7:##clear| DataCount=#4:Data| Width=412 Height=186 HOffset=70 Point(##add) Point(##select) Point(##clear) link(##add,15247989:doEvent1,[(56,27)(56,41)]) link(##select,2855887:doWork2,[(47,34)(47,160)]) } Add(Panel,8552915,217,98) { Left=15 Top=15 Width=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Layout="parent.1" BevelInner=0 BevelOuter=1 Alignment=2 Point(doCursor) link(onClick,4571181:doData,[]) } Add(DoData,10715944,91,98) { link(onEventData,9524451:doWork2,[]) link(Data,5626835:Data,[]) } Add(Hub,15247989,63,35) { link(onEvent1,13532834:doEvent1,[]) link(onEvent2,10715944:doData,[(84,48)(84,104)]) } Add(DoData,15943868,238,42) { Data=Integer(0) link(onEventData,16566080:doValue,[(303,48)(303,76)]) } Add(Hub,13532834,126,35) { link(onEvent1,16566080:doName,[(165,41)(165,83)]) link(onEvent2,15943868:doData,[]) } Add(ChildPanel,915292,371,154) { link(onEvent1,9524451:doWork3,[(409,160)(409,146)(137,146)]) link(onEvent2,8552915:doCursor,[(415,167)(415,139)(205,139)(205,111)]) } BEGIN_SDK Add(EditMulti,8036124,63,21) { EventCount=2 WorkCount=1 Width=307 Height=403 link(doWork1,4513579:doWork2,[(81,27)(81,48)]) } Add(Panel,13408268,112,35) { Left=35 Top=105 Width=52 Height=52 Align=5 Visible=1 Cursor=2 WinStyle=1 BorderWidth=0 BevelInner=0 BevelWidth=0 Point(doVisible) } Add(Label,15484903,168,378) { Left=38 Top=31 Width=15 Height=12 Font=[Times New Roman,10,0,0,204] Caption="9" ColorHover=255 CaptionOnClick=0 link(onClick,9190635:doWork3,[(240,384)]) } Add(Label,6478338,171,84) { Left=20 Width=10 Height=17 Font=[Times New Roman,10,0,0,204] Caption="2" ColorHover=255 CaptionOnClick=0 link(onClick,7676816:doWork2,[]) } Add(Label,13207293,171,126) { Left=38 Width=10 Height=17 Font=[Times New Roman,10,0,0,204] Caption="3" ColorHover=255 CaptionOnClick=0 link(onClick,1865232:doWork2,[]) } Add(Label,6018088,169,336) { Left=20 Top=31 Width=15 Height=12 Font=[Times New Roman,10,0,0,204] WinStyle=1 Caption="8" ColorHover=255 CaptionOnClick=0 link(onClick,9190635:doWork2,[]) } Add(Label,16712529,170,293) { Left=2 Top=31 Width=15 Height=12 Font=[Times New Roman,10,0,0,204] Caption="7" ColorHover=255 CaptionOnClick=0 link(onClick,9256190:doWork2,[]) } Add(Label,1352133,171,252) { Left=38 Top=15 Width=10 Height=17 Font=[Times New Roman,10,0,0,204] Caption="6" ColorHover=255 CaptionOnClick=0 link(onClick,15883279:doWork2,[]) } Add(Label,3786555,171,210) { Left=20 Top=15 Width=10 Height=17 Font=[Times New Roman,10,0,0,204] Caption="5" ColorHover=255 CaptionOnClick=0 link(onClick,10353091:doWork2,[]) } Add(Label,16749711,172,168) { Left=2 Top=15 Width=10 Height=17 Font=[Times New Roman,10,0,0,204] Caption="4" ColorHover=255 CaptionOnClick=0 link(onClick,16071701:doWork2,[]) } Add(Label,8585543,171,42) { Left=2 Width=10 Height=17 Font=[Times New Roman,10,0,0,204] Caption="1" ColorHover=255 CaptionOnClick=0 link(onClick,10934580:doWork2,[]) } Add(HubEx,10934580,236,42) { Angle=3 link(onEvent,562779:doEvent1,[(240,27)]) } Add(HubEx,7676816,236,84) { Angle=3 link(onEvent,10934580:doWork3,[]) } Add(HubEx,1865232,236,126) { Angle=3 link(onEvent,7676816:doWork3,[]) } Add(HubEx,16071701,236,168) { Angle=3 link(onEvent,1865232:doWork3,[]) } Add(HubEx,10353091,236,210) { Angle=3 link(onEvent,16071701:doWork3,[]) } Add(HubEx,15883279,236,252) { Angle=3 link(onEvent,10353091:doWork3,[]) } Add(HubEx,9256190,236,293) { Angle=3 link(onEvent,15883279:doWork3,[]) } Add(HubEx,9190635,236,336) { Angle=3 link(onEvent,9256190:doWork3,[]) } Add(Hub,562779,259,21) { OutCount=3 link(onEvent1,8036124:onEvent1,[]) link(onEvent2,2749836:doData,[]) link(onEvent3,15832244:doData,[(287,41)(287,83)]) } Add(DoData,15832244,301,77) { Data=Integer(0) link(onEventData,4513579:doWork3,[(350,83)(350,121)(95,121)]) } Add(HubEx,4513579,91,42) { link(onEvent,13408268:doVisible,[]) } Add(DoData,2749836,301,28) { Data=Integer(32649) link(onEventData,8036124:onEvent2,[]) } END_SDK Add(HubEx,9524451,133,98) { link(onEvent,8552915:doCaption,[]) } Add(GlobalVar,16566080,322,70) { Point(doName) } Add(If_else,782257,315,98) { link(onTrue,2855887:doWork1,[(361,104)]) link(Op2,16566080:Var,[]) } Add(DoData,4571181,266,98) { Data=Integer(1) link(onEventData,782257:doCompare,[]) } Add(HubEx,2855887,357,154) { link(onEvent,915292:doWork1,[]) } END_SDK Add(GridLayout,4233854,105,28) { Name="1" Space=5 Padding=5 Rows=9 Cols=9 } Add(StrCat,7553923,175,91) { Str1="z" link(onStrCat,11149644:##add,[(247,97)(247,167)]) } Add(CounterEx,2872659,126,91) { Min=-1 Max=80 Default=-1 Point(doReset) link(onNext,7553923:doStrCat,[]) } Add(Image,8115686,357,126) { Left=6 Top=166 Width=488 Height=3 Color=8421504 } Add(Image,1420888,357,168) { Left=6 Top=331 Width=488 Height=3 Color=8421504 } Add(Image,550005,357,84) { Left=166 Top=6 Width=3 Height=488 Color=8421504 } Add(Image,8318587,357,42) { Left=331 Top=6 Width=3 Height=488 Color=8421504 } Add(MultiElement,15062165,91,133) { link(onEvent1,11149644:##select,[(206,139)(206,174)]) link(Data1,8810504:Data2,[(97,67)(295,67)]) } BEGIN_SDK Add(EditMulti,4722967,21,21) { EventCount=1 WorkCount=1 DataCount=1 Width=601 Height=256 link(doWork1,956000:doTimer,[]) } Add(StrList,7825272,196,49) { Point(onGetIndex) Point(doGetIndex) link(Str,2263028:Random,[(202,37)(168,37)(168,135)(132,135)]) link(onGetIndex,10234722:doEvent1,[]) } Add(Random,2263028,126,91) { Max=80 link(onRandom,7825272:doGetIndex,[]) } Add(Case,14593346,280,56) { Value=Integer(-1) link(onTrue,7825272:doAdd,[(329,69)(329,29)(180,29)(180,55)]) } Add(If_else,2065980,203,168) { Op2=Integer(45) link(onTrue,5221230:doFor,[]) link(onFalse,2263028:doRandom,[(247,181)(247,151)(114,151)(114,97)]) link(Op1,7825272:Count,[]) link(Op2,15237490:Var2,[]) } Add(Hub,10234722,245,56) { link(onEvent1,14593346:doCase,[]) link(onEvent2,556658:doWork1,[(270,69)(270,115)(179,115)]) } Add(HubEx,556658,175,168) { link(onEvent,2065980:doCompare,[]) } Add(ArrayRW,13036649,343,140) { link(onRead,6816233:doEvent1,[]) link(Array,7825272:Array,[(349,126)(216,126)]) } Add(For,5221230,280,168) { End=45 link(onEvent,13036649:doRead,[(328,174)(328,146)]) link(End,15237490:Var3,[(293,141)]) } Add(Hub,11351181,77,21) { link(onEvent1,7825272:doClear,[(109,27)(109,62)]) link(onEvent2,556658:doWork2,[(102,34)(102,174)]) } Add(PointHint,12028168,182,224) { Info=#42:список клеток для ввода значений в квадрат| Width=260 } Add(Hub,6816233,385,140) { link(onEvent1,2131769:doStrCat,[(418,146)(418,76)]) link(onEvent2,4722967:onEvent1,[(603,153)(603,27)]) } Add(StrCat,2131769,427,70) { Str1="z" link(onStrCat,9075260:doEvent1,[]) } Add(GlobalVar,6414590,574,63) { Point(doName) } Add(DoData,2174426,518,84) { Data=Integer(1) link(onEventData,6414590:doValue,[(562,90)(562,69)]) } Add(Hub,9075260,476,70) { link(onEvent1,6414590:doName,[]) link(onEvent2,2174426:doData,[(504,83)(504,90)]) } Add(Timer,956000,35,21) { Interval=50 Enable=1 AutoStop=1 link(onTimer,11351181:doEvent1,[]) } Add(GetDataEx,15237490,210,136) { Angle=3 link(Data,4722967:Data1,[(27,141)]) } END_SDK Add(Hub,12601933,91,98) { link(onEvent1,2872659:doReset,[]) link(onEvent2,10870489:doTimer,[(263,111)(263,27)]) } Add(Timer,10870489,301,21) { Interval=10 Enable=1 AutoStop=1 link(onTimer,8810504:onEvent1,[]) } END_SDK Add(Label,1213021,231,301) { Left=370 Top=10 Width=131 Height=26 Color=15780518 Font=[Times New Roman,12,1,16711680,204] Cursor=2 Ctl3D=0 WinStyle=3 Caption=" Показать ответ" AutoSize=1 ColorHover=255 Point(onMouseUp) link(onClick,4764719:doWork1,[]) link(onMouseUp,4764719:doWork3,[(296,314)(296,321)]) } Add(ChildPanel,4764719,329,301) { link(Data1,669214:Var1,[]) } BEGIN_SDK Add(EditMulti,202871,21,21) { WorkCount=3 DataCount=1 link(doWork1,10701849:doData,[(86,27)(86,55)]) link(doWork2,5581888:doCapture,[(59,34)(59,160)]) link(doWork3,7481565:doData,[(87,41)(87,97)]) } Add(Panel,4870535,280,42) { Left=5 Top=45 Width=502 Height=502 Color=0 Visible=1 Cursor=2 Point(doVisible) } Add(DoData,10701849,154,49) { Data=Integer(1) link(onEventData,8176311:doWork2,[]) } Add(ScreenShort,5581888,98,154) { link(onCapture,5611956:doLoad,[]) link(Handle,202871:Data1,[(104,88)(27,88)]) } Add(Image,5611956,154,154) { Width=502 Height=502 Color=15780518 Cursor=2 } Add(DoData,7481565,154,91) { Data=Integer(0) link(onEventData,8176311:doWork3,[(257,97)]) } Add(HubEx,8176311,253,49) { link(onEvent,4870535:doVisible,[]) } END_SDK Add(ComboBox,14572102,329,28) { Left=190 Top=12 Width=90 Height=30 Color=15780518 Strings=#2:15|2:20|2:25|2:30|2:35|2:40|2:45|2:50|2:55|2:60|2:65| Text="закрыто 15" ReadOnly=0 DropDownCount=12 Point(doSelect) } Add(Hub,12725111,273,91) { link(onEvent1,14572102:doSelect,[(299,97)(299,76)]) link(onEvent2,11747870:doWork1,[]) }
------------ Дoбавленo в 01.04:
А тут уже с подсказкой Add(MainForm,2953706,497,126) { Width=599 Height=578 Color=15780518 Caption="Судоку" BorderStyle=3 Position=1 link(onCreate,6898539:doWork1,[(541,146)(541,164)(485,164)(485,181)]) } Add(MultiElement,6898539,497,175) { link(onEvent1,12823470:doWork1,[(536,181)(536,212)(485,212)(485,286)]) } BEGIN_SDK Add(EditMulti,8235006,21,21) { EventCount=1 WorkCount=2 VarCount=2 Width=307 Height=228 link(doWork1,3613407:doRandomize,[(56,27)(56,48)]) link(doWork2,6488011:doEvent1,[(39,34)(39,83)]) link(Var1,5781639:Var1,[(27,145)]) link(Var2,8096995:Item,[(34,223)(265,223)]) } Add(Random,3613407,91,35) { Min=1 Max=9 Point(doRandomWithoutRepeats) link(onRandom,15687323:doAdd,[]) } Add(Hub,6488011,49,77) { OutCount=5 link(onEvent1,15687323:doClear,[(131,83)(131,48)]) link(onEvent2,3613407:doRandomWithoutRepeats,[(80,90)(80,62)]) link(onEvent3,3622908:doClear,[]) link(onEvent4,10744663:doWork1,[]) link(onEvent5,879958:doEnum,[(84,111)(84,165)]) } Add(StrList,15687323,161,35) { } Add(ArrayEnum,879958,105,159) { link(onItem,13627950:doRead,[]) link(onEndEnum,8096995:doEnum,[]) link(Array,10744663:Var1,[]) } Add(ArrayRW,13627950,175,159) { link(onRead,3622908:doAdd,[(226,165)(226,90)]) link(Array,15687323:Array,[]) } Add(StrList,3622908,245,84) { } Add(ArrayEnum,8096995,259,166) { link(onItem,8235006:onEvent1,[(309,172)(309,27)]) link(Array,5781639:Var2,[]) } Add(MultiElement,10744663,105,98) { } BEGIN_SDK Add(EditMulti,14420131,21,21) { WorkCount=1 VarCount=1 Width=314 Height=179 link(doWork1,11613818:doRandom,[(37,27)(37,132)]) link(Var1,10328788:Var,[(27,175)(132,175)]) } Add(StrList,5591533,70,35) { Strings=#1:8|1:6|1:1|1:2|1:3|1:0|1:5|1:4|1:7|1:4|1:2|1:0|1:1|1:7|1:5|1:8|1:6|1:3|1:3|1:7|1:5|1:6|1:4|1:8|1:2|1:0|1:1|1:1|1:4|1:7|1:0|1:5|1:2|1:3|1:8|1:6|1:6|1:5|1:8|1:3|1:1|1:7|1:4|1:2|1:0|1:2|1:0|1:3|1:4|1:8|1:6|1:1|1:7|1:5|1:0|1:3|1:6|1:5|1:2|1:4|1:7|1:1|1:8|1:7|1:1|1:4|1:8|1:0|1:3|1:6|1:5|1:2|1:5|1:8|1:2|1:7|1:6|1:1|1:0|1:3|1:4| } Add(StrList,747584,119,35) { Strings=#1:0|1:2|1:4|1:8|1:1|1:5|1:7|1:3|1:6|1:3|1:5|1:6|1:4|1:2|1:7|1:8|1:0|1:1|1:7|1:1|1:8|1:3|1:6|1:0|1:4|1:2|1:5|1:6|1:8|1:0|1:5|1:3|1:4|1:1|1:7|1:2|1:2|1:3|1:7|1:6|1:8|1:1|1:5|1:4|1:0|1:1|1:4|1:5|1:7|1:0|1:2|1:3|1:6|1:8|1:8|1:6|1:1|1:0|1:4|1:3|1:2|1:5|1:7|1:4|1:7|1:2|1:1|1:5|1:6|1:0|1:8|1:3|1:5|1:0|1:3|1:2|1:7|1:8|1:6|1:1|1:4| } Add(GetIndexData,10328788,126,126) { Count=5 link(Data1,5591533:Array,[(132,103)(90,103)]) link(Data2,747584:Array,[]) link(Data3,2845323:Array,[(146,103)(188,103)]) link(Data4,3706885:Array,[(153,103)(237,103)]) link(Data5,229658:Array,[(160,103)(286,103)]) } Add(Random,11613818,63,126) { Max=4 link(onRandom,10328788:doIndex,[]) } Add(StrList,2845323,168,35) { Strings=#1:7|1:0|1:1|1:6|1:4|1:2|1:5|1:3|1:8|1:8|1:3|1:2|1:5|1:7|1:1|1:0|1:6|1:4|1:5|1:6|1:4|1:3|1:8|1:0|1:1|1:7|1:2|1:0|1:4|1:3|1:1|1:2|1:6|1:7|1:8|1:5|1:2|1:5|1:8|1:7|1:3|1:4|1:6|1:1|1:0|1:1|1:7|1:6|1:0|1:5|1:8|1:4|1:2|1:3|1:4|1:1|1:0|1:8|1:6|1:3|1:2|1:5|1:7|1:3|1:2|1:7|1:4|1:1|1:5|1:8|1:0|1:6|1:6|1:8|1:5|1:2|1:0|1:7|1:3|1:4|1:1| } Add(StrList,3706885,217,35) { Strings=#1:1|1:4|1:0|1:8|1:3|1:2|1:7|1:6|1:5|1:3|1:2|1:7|1:5|1:6|1:0|1:4|1:1|1:8|1:8|1:6|1:5|1:4|1:1|1:7|1:3|1:2|1:0|1:2|1:1|1:8|1:3|1:5|1:4|1:0|1:7|1:6|1:7|1:3|1:6|1:0|1:2|1:1|1:8|1:5|1:4|1:5|1:0|1:4|1:7|1:8|1:6|1:2|1:3|1:1|1:6|1:5|1:3|1:2|1:0|1:8|1:1|1:4|1:7|1:4|1:8|1:2|1:1|1:7|1:5|1:6|1:0|1:3|1:0|1:7|1:1|1:6|1:4|1:3|1:5|1:8|1:2|0:| } Add(StrList,229658,266,35) { Strings=#1:1|1:8|1:7|1:6|1:0|1:4|1:5|1:3|1:2|1:0|1:6|1:4|1:3|1:5|1:2|1:1|1:8|1:7|1:3|1:5|1:2|1:1|1:7|1:8|1:6|1:0|1:4|1:2|1:7|1:6|1:0|1:8|1:5|1:4|1:1|1:3|1:4|1:1|1:0|1:2|1:3|1:7|1:8|1:6|1:5|1:8|1:3|1:5|1:4|1:6|1:1|1:7|1:2|1:0|1:7|1:4|1:3|1:8|1:2|1:6|1:0|1:5|1:1|1:6|1:0|1:1|1:5|1:4|1:3|1:2|1:7|1:8|1:5|1:2|1:8|1:7|1:1|1:0|1:3|1:4|1:6| } END_SDK Add(GetDataEx,5781639,259,140) { link(Data,3622908:Array,[]) } END_SDK Add(Label,16178971,322,161) { Left=10 Top=10 Width=80 Height=26 Color=15780518 Font=[Times New Roman,12,1,16711680,204] Cursor=2 Ctl3D=0 WinStyle=3 Caption=" Играть " AutoSize=1 ColorHover=8421504 link(onClick,12725111:doEvent1,[]) } Add(Hub,12725111,371,161) { OutCount=6 link(onEvent1,13876459:doData,[(392,167)(392,104)]) link(onEvent2,5530866:doData,[(392,174)(392,146)]) link(onEvent3,12823470:doWork3,[(441,181)(441,300)]) link(onEvent4,6898539:doWork2,[]) link(onEvent5,12823470:doWork2,[(441,195)(441,293)]) link(onEvent6,12823470:doWork4,[(441,202)(441,307)]) } Add(ChildPanel,16572489,497,224) { link(onEvent1,12823470:doWork5,[(537,230)(537,267)(485,267)(485,314)]) link(Data1,6898539:Var1,[]) } BEGIN_SDK Add(EditMulti,297310,13,7) { EventCount=1 DataCount=1 Width=377 Height=361 VOffset=21 HOffset=167 } Add(Panel,14622362,99,112) { Left=525 Top=45 Height=502 Color=15780518 BevelInner=1 } Add(BitBtn,15178126,29,63) { Left=5 Top=60 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="2" Point(onMouseDown) link(onClick,15898852:doWork2,[(61,69)]) link(onMouseDown,15898852:doWork3,[(75,76)]) } Add(BitBtn,14854504,29,28) { Left=5 Top=5 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="1" Point(onMouseDown) link(onClick,10941335:doWork2,[]) link(onMouseDown,10941335:doWork3,[(75,41)]) } Add(ChanelToIndex,13318060,99,21) { Count=10 link(onIndex,3159710:doEvent1,[]) } Add(BitBtn,7312294,29,98) { Left=5 Top=115 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="3" Point(onMouseDown) link(onClick,9963432:doWork2,[]) link(onMouseDown,9963432:doWork3,[(74,111)]) } Add(BitBtn,11037460,29,133) { Left=5 Top=170 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="4" Point(onMouseDown) link(onClick,12469972:doWork2,[]) link(onMouseDown,12469972:doWork3,[(74,146)]) } Add(BitBtn,16002064,29,168) { Left=5 Top=225 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="5" Point(onMouseDown) link(onClick,11812178:doWork2,[]) link(onMouseDown,11812178:doWork3,[(74,181)]) } Add(BitBtn,1440798,29,203) { Left=5 Top=280 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="6" Point(onMouseDown) link(onClick,15745786:doWork2,[]) link(onMouseDown,15745786:doWork3,[(74,216)]) } Add(BitBtn,14734362,29,238) { Left=5 Top=335 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="7" Point(onMouseDown) link(onClick,5388616:doWork2,[(61,244)]) link(onMouseDown,5388616:doWork3,[(75,251)]) } Add(BitBtn,1622663,29,273) { Left=5 Top=390 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="8" Point(onMouseDown) link(onClick,13851361:doWork2,[(61,279)]) link(onMouseDown,13851361:doWork3,[(75,286)]) } Add(BitBtn,11864895,29,308) { Left=5 Top=445 Width=50 Height=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Caption="9" Point(onMouseDown) link(onClick,4189509:doWork2,[(61,314)]) link(onMouseDown,4189509:doWork3,[(75,321)]) } Add(Hub,3159710,148,21) { OutCount=3 link(onEvent1,16078542:doValue,[(176,27)(176,20)]) link(onEvent2,297310:onEvent1,[]) link(onEvent3,9334886:doRead,[(169,41)(169,69)]) } Add(GlobalVar,16078542,243,14) { Name="k" } Add(HubEx,10941335,71,28) { link(onEvent,13318060:doWork2,[]) } Add(HubEx,15898852,71,63) { link(onEvent,13318060:doWork3,[(87,69)(87,41)]) } Add(HubEx,9963432,70,98) { link(onEvent,13318060:doWork4,[(87,104)(87,48)]) } Add(HubEx,12469972,70,133) { link(onEvent,13318060:doWork5,[(87,139)(87,55)]) } Add(HubEx,11812178,70,168) { link(onEvent,13318060:doWork6,[(87,174)(87,62)]) } Add(HubEx,15745786,70,203) { link(onEvent,13318060:doWork7,[(87,209)(87,69)]) } Add(HubEx,5388616,71,238) { link(onEvent,13318060:doWork8,[(87,244)(87,76)]) } Add(HubEx,13851361,71,273) { link(onEvent,13318060:doWork9,[(87,279)(87,83)]) } Add(HubEx,4189509,71,308) { link(onEvent,13318060:doWork10,[(87,314)(87,90)]) } Add(GlobalVar,14478634,187,38) { Name="in" } Add(ArrayRW,9334886,180,63) { link(onRead,16161022:doCompare,[(224,69)(224,125)]) link(Array,297310:Data1,[]) link(Index,14478634:Var,[]) } Add(If_else,16161022,236,119) { link(onTrue,11461822:doData,[]) link(onFalse,15247492:doData,[(278,132)(278,167)]) link(Op1,9334886:Item,[(242,107)(186,107)]) link(Op2,16078542:Var,[(249,73)(249,73)]) } Add(DoData,11461822,292,119) { Data=Integer(15780518) link(onEventData,7939854:doValue,[]) } Add(GlobalVar,7939854,341,119) { Name="f" } Add(DoData,15247492,292,161) { Data=Integer(255) link(onEventData,7130436:doValue,[]) } Add(GlobalVar,7130436,341,161) { Name="f" } END_SDK Add(ChildPanel,12823470,497,280) { link(Data1,14572102:String,[]) link(Data2,6898539:Var2,[]) } BEGIN_SDK Add(EditMulti,15562802,32,21) { WorkCount=5 DataCount=2 Width=370 Height=228 HOffset=195 MakeExt(EventCount,клик мышкой,EventCount) link(doWork1,9266828:doNext,[(91,27)(91,76)]) link(doWork2,3198490:doResize,[]) link(doWork3,15492808:doEvent1,[(61,41)(61,83)]) link(doWork4,10054090:doWork1,[(54,48)(54,118)]) link(doWork5,1741417:doData,[(46,55)(46,195)]) } Add(Panel,7220060,156,28) { Left=5 Top=45 Width=502 Height=502 Color=15780518 BevelInner=1 } Add(ChildPanelEx,11439412,234,133) { Mode=1 link(Data,15562802:Data2,[]) link(onEvent2,305680:doData,[(275,139)(275,175)(222,175)(222,193)]) } BEGIN_SDK Add(EditMultiEx,7589284,21,21) { WorkCount=#5:##add|8:##select|7:##clear|7:doWork2| EventCount=#8:onEvent2| VarCount=#12:##eventIndex| DataCount=#4:Data|5:Data1| Width=426 Height=242 HOffset=70 Point(##add) Point(##select) Point(##clear) Point(##eventIndex) link(##add,15247989:doEvent1,[(56,27)(56,41)]) link(##select,12318370:doEvent1,[(42,34)(42,160)]) } Add(Panel,1309898,168,98) { Left=15 Top=15 Width=50 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Layout="parent.1" BevelInner=0 BevelOuter=1 Alignment=2 Point(doCursor) link(onClick,4571181:doData,[]) } Add(DoData,6107997,91,98) { link(onEventData,1309898:doCaption,[]) link(Data,7589284:Data,[]) } Add(Hub,15247989,63,35) { link(onEvent1,13532834:doEvent1,[]) link(onEvent2,6107997:doData,[(84,48)(84,104)]) } Add(DoData,15943868,238,42) { Data=Integer(0) link(onEventData,16566080:doValue,[(303,48)(303,76)]) } Add(Hub,13532834,126,35) { link(onEvent1,16566080:doName,[(165,41)(165,83)]) link(onEvent2,15943868:doData,[]) } Add(ChildPanel,915292,378,154) { link(onEvent1,7589284:onEvent2,[(426,160)(426,27)]) } BEGIN_SDK Add(EditMulti,8036124,63,21) { EventCount=2 WorkCount=2 DataCount=1 Width=440 Height=403 link(doWork1,13408268:doVisible,[(81,27)(81,48)(139,48)(139,125)]) link(doWork2,1514643:doEvent1,[]) } Add(Panel,13408268,266,112) { Left=35 Top=105 Width=52 Height=52 Align=5 Color=15780518 Font=[Times New Roman,18,1,16711680,204] Visible=1 Cursor=2 WinStyle=1 BorderWidth=0 BevelInner=0 BevelWidth=0 Alignment=2 Point(doVisible) Point(doColor) Point(onMouseDown) Point(onMouseUp) link(onClick,2507403:doEvent1,[]) } Add(DoData,13840447,357,119) { Data=Integer(10789024) link(onEventData,16750921:doWork3,[(418,125)(418,201)(240,201)]) } Add(DoData,10907350,182,112) { link(onEventData,13408268:doCaption,[]) link(Data,8976142:Var,[]) } Add(Hub,2507403,315,112) { InCount=3 link(onEvent1,8036124:onEvent1,[(346,118)(346,27)]) link(onEvent2,13840447:doData,[]) } Add(GlobalVar,8546872,133,133) { Name="f" } Add(DoData,7092232,133,161) { link(onEventData,16750921:doWork2,[]) link(Data,8546872:Var,[]) } Add(HubEx,16750921,236,161) { Angle=3 link(onEvent,13408268:doColor,[(240,132)]) } Add(Hub,1514643,91,28) { link(onEvent1,10907350:doData,[(151,34)(151,118)]) link(onEvent2,7092232:doData,[(120,41)(120,167)]) } Add(GlobalVar,8976142,182,84) { Name="k" } END_SDK Add(GlobalVar,16566080,322,70) { Point(doName) } Add(If_else,782257,315,98) { link(onTrue,2855887:doWork1,[(361,104)]) link(Op2,16566080:Var,[]) } Add(DoData,4571181,238,98) { Data=Integer(1) link(onEventData,782257:doCompare,[]) } Add(HubEx,2855887,357,154) { link(onEvent,915292:doWork1,[]) } Add(Hub,12318370,217,154) { link(onEvent1,2855887:doWork2,[]) link(onEvent2,915292:doWork2,[]) } END_SDK Add(GridLayout,3198490,105,28) { Name="1" Space=5 Padding=5 Rows=9 Cols=9 } Add(StrCat,3827676,154,70) { Str1="z" link(onStrCat,11439412:##add,[(218,76)(218,139)]) } Add(CounterEx,9266828,105,70) { Min=-1 Max=80 Default=-1 Point(doReset) link(onNext,3827676:doStrCat,[]) } Add(Image,15000943,329,126) { Left=6 Top=166 Width=488 Height=3 Color=-16777215 } Add(Image,10799904,329,168) { Left=6 Top=331 Width=488 Height=3 Color=-16777215 } Add(Image,487404,329,84) { Left=166 Top=6 Width=3 Height=488 Color=-16777215 } Add(Image,9421192,329,42) { Left=331 Top=6 Width=3 Height=488 Color=-16777215 } Add(MultiElement,10054090,140,112) { link(onEvent1,12793227:doWork1,[(210,118)]) link(Data1,15562802:Data1,[(146,43)(233,43)]) } BEGIN_SDK Add(EditMulti,4955318,28,21) { EventCount=1 WorkCount=1 DataCount=1 Width=601 Height=256 link(doWork1,16698141:doEvent1,[(56,27)(56,34)]) } Add(StrList,11559212,203,56) { Point(onGetIndex) Point(doGetIndex) link(Str,9307759:Random,[(209,44)(175,44)(175,142)(139,142)]) link(onGetIndex,10982293:doEvent1,[]) } Add(Random,9307759,133,98) { Min=1 Max=80 link(onRandom,11559212:doGetIndex,[]) } Add(Case,11869056,287,63) { Value=Integer(-1) link(onTrue,11559212:doAdd,[(336,76)(336,36)(187,36)(187,62)]) } Add(If_else,8641192,210,175) { Op2=Integer(45) link(onTrue,3218797:doFor,[]) link(onFalse,9307759:doRandom,[(254,188)(254,158)(121,158)(121,104)]) link(Op1,11559212:Count,[]) link(Op2,16588513:Var2,[]) } Add(Hub,10982293,252,63) { link(onEvent1,11869056:doCase,[]) link(onEvent2,8565225:doWork1,[(277,76)(277,122)(186,122)]) } Add(HubEx,8565225,182,175) { link(onEvent,8641192:doCompare,[]) } Add(ArrayRW,1417745,350,147) { link(onRead,6816233:doEvent1,[]) link(Array,11559212:Array,[(356,133)(223,133)]) } Add(For,3218797,287,175) { End=45 link(onEvent,1417745:doRead,[(335,181)(335,153)]) link(End,16588513:Var3,[(300,148)]) } Add(Hub,16698141,84,28) { link(onEvent1,11559212:doClear,[(116,34)(116,69)]) link(onEvent2,8565225:doWork2,[(109,41)(109,181)]) } Add(PointHint,16652292,189,231) { Info=#42:список клеток для ввода значений в квадрат| Width=260 } Add(Hub,6816233,392,147) { link(onEvent1,6091464:doStrCat,[(425,153)(425,83)]) link(onEvent2,4955318:onEvent1,[(610,160)(610,27)]) } Add(StrCat,6091464,434,77) { Str1="z" link(onStrCat,2844108:doEvent1,[]) } Add(GlobalVar,13503473,581,70) { Point(doName) } Add(DoData,9239138,525,91) { Data=Integer(1) link(onEventData,13503473:doValue,[(569,97)(569,76)]) } Add(Hub,2844108,483,77) { link(onEvent1,13503473:doName,[]) link(onEvent2,9239138:doData,[(511,90)(511,97)]) } Add(GetDataEx,16588513,217,143) { Angle=3 link(Data,4955318:Data1,[(34,148)]) } END_SDK Add(DoData,305680,234,187) { link(onEventData,13304276:doValue,[]) link(Data,11439412:##eventIndex,[]) } Add(GlobalVar,13304276,274,187) { Name="in" } Add(GlobalVar,1019689,105,161) { Name="in" } Add(DoData,1741417,105,189) { link(onEventData,12793227:doWork3,[(210,195)]) link(Data,1019689:Var,[]) } Add(HubEx,12793227,206,140) { link(onEvent,11439412:##select,[]) } Add(Hub,15492808,70,77) { link(onEvent1,9266828:doReset,[]) link(onEvent2,11439412:##clear,[(98,90)(98,153)]) } END_SDK Add(DoData,5530866,399,140) { link(onEventData,8427931:doValue,[]) } Add(GlobalVar,8427931,441,140) { Name="k" } Add(DoData,13876459,399,98) { Data=Integer(15780518) link(onEventData,5507473:doValue,[]) } Add(GlobalVar,5507473,441,98) { Name="f" } Add(ComboBox,14572102,490,63) { Left=190 Top=12 Width=90 Height=30 Color=15780518 Strings=#2:15|2:20|2:25|2:30|2:35|2:40|2:45|2:50|2:55|2:60|2:65| Text="закрыто 15" ReadOnly=0 DropDownCount=12 Point(doSelect) } Add(Image,8301843,399,217) { Left=515 Top=45 Width=3 Height=502 Color=-16777215 }
|