nesco писал(а):
тк все можно сделать математическим расчетомХммм... А у меня вот такой расчёт :/
Add(PointXY,4411676,196,105)
{
X=0
Y=0
link(X,15488465:Value,[(202,100)(195,100)])
link(Y,16492450:Value,[(209,100)(237,100)])
}
Add(Memory,15488465,189,63)
{
Default=Integer(90)
}
Add(Memory,16492450,231,63)
{
Default=Integer(30)
}
Add(Label,15612893,259,175)
{
Left=170
Top=65
Width=50
Height=15
Align=0
Color=-16777201
Font=[MS Sans Serif,8,0,0,1]
ParentFont=1
Visible=0
Enabled=0
Cursor=0
KeyPreview=0
TabOrder=0
Ctl3D=1
WinStyle=0
Name=""
Hint=""
HintManager="(empty)"
Layout="(empty)"
WidthScale=0
HeightScale=0
ModeSp=0
SizeSp=4
ColorSp=-16777201
MinOwn=0
MinRest=0
Transparent=1
Caption="Label"
AutoSize=0
Alignment=0
ColorHover=0
Underline=1
CaptionOnClick=1
}
Add(Label,10500525,259,259)
{
Left=110
Top=65
Width=50
Height=15
Align=0
Color=-16777201
Font=[MS Sans Serif,8,0,0,1]
ParentFont=1
Visible=0
Enabled=0
Cursor=0
KeyPreview=0
TabOrder=0
Ctl3D=1
WinStyle=0
Name=""
Hint=""
HintManager="(empty)"
Layout="(empty)"
WidthScale=0
HeightScale=0
ModeSp=0
SizeSp=4
ColorSp=-16777201
MinOwn=0
MinRest=0
Transparent=1
Caption="Label"
AutoSize=0
Alignment=0
ColorHover=0
Underline=1
CaptionOnClick=1
}
Add(Hub,3924125,154,175)
{
InCount=1
OutCount=2
link(onEvent1,5878004:doOperation,[])
link(onEvent2,9370110:doOperation,[(182,188)(182,223)])
}
Add(Math,5878004,196,175)
{
OpType=10
Op1=1
Op2=16
ResultType=1
Default=0
AngleMode=0
link(onResult,15612893:doText,[])
link(Op1,1159879:Var2,[])
}
Add(Math,9370110,196,217)
{
OpType=9
Op1=0
Op2=16
ResultType=1
Default=0
AngleMode=0
link(onResult,3583101:doOperation,[(242,223)(242,256)(177,256)(177,265)])
link(Op1,5878004:Result,[])
}
Add(Math,3583101,189,259)
{
OpType=1
Op1=0
Op2=16
ResultType=1
Default=0
AngleMode=0
link(onResult,10500525:doText,[])
link(Op1,1159879:Var1,[(195,159)])
link(Op2,9370110:Result,[])
}
Add(GetDataEx,1159879,196,154)
{
Angle=0
link(Data,4411676:Point,[])
}
Add(MainForm,6391071,105,161)
{
Left=0
Top=0
Width=400
Height=300
Align=0
Color=-16777201
Font=[MS Sans Serif,8,0,0,1]
ParentFont=1
Visible=0
Enabled=0
Cursor=0
KeyPreview=0
TabOrder=0
Ctl3D=1
WinStyle=0
Name=""
Hint=""
HintManager="(empty)"
Layout="(empty)"
WidthScale=0
HeightScale=0
AlphaBlendValue=255
Caption="Form"
BorderStyle=2
WindowsState=0
Icon=[]
TaskBar=0
DragForm=1
TransparentColor=16777215
Picture=[]
SavePosName=""
MouseCapture=1
ClientSize=1
Position=0
ShiftLeft=0
ShiftTop=0
OffsetShift=1
TransparentManager="(empty)"
FormFastening="(empty)"
link(onCreate,3924125:doEvent1,[])
}