mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-02-06 03:42:11 +08:00
Verified SampleForDoc, some samples need to be taken care of
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -7,6 +7,9 @@ Tools/*.exe
|
||||
#Vczh Libraries
|
||||
*.xml.log/
|
||||
|
||||
#SampleForDoc Binaries
|
||||
SampleForDoc/GacUI/UIRes/*/*.bin
|
||||
|
||||
# User-specific files
|
||||
*/**/.vs/
|
||||
*.suo
|
||||
|
||||
3
SampleForDoc/GacUI/UIRes/32bits/README.md
Normal file
3
SampleForDoc/GacUI/UIRes/32bits/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# SampleForDoc x86 Resource Binaries
|
||||
|
||||
Go to `..\..\XmlRes` folder and run `..\..\..\Tools\GacBuild.ps1 .\GacUI.xml` to generate these files
|
||||
3
SampleForDoc/GacUI/UIRes/64bits/README.md
Normal file
3
SampleForDoc/GacUI/UIRes/64bits/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# SampleForDoc x64 Resource Binaries
|
||||
|
||||
Go to `..\..\XmlRes` folder and run `..\..\..\Tools\GacBuild.ps1 .\GacUI.xml` to generate these files
|
||||
@@ -154,7 +154,7 @@
|
||||
bottom:0
|
||||
right:(
|
||||
cast int Math::Round(
|
||||
(1 - self.animationBuilder.Current.Length) * (self.boundary.Bounds.x2 - self.boundary.Bounds.x1 - 10)
|
||||
(1 - self.animationBuilder.Current.Length) * (self.boundary.CachedBounds.x2 - self.boundary.CachedBounds.x1 - 10)
|
||||
)
|
||||
)
|
||||
};
|
||||
@@ -162,10 +162,10 @@
|
||||
]]></ref.Members>
|
||||
<SelectableButtonTemplate ref.Name="self" ContainerComposition-ref="container" MinSizeLimitation="LimitToElementAndChildren">
|
||||
<Bounds ref.Name="boundary" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
||||
<Bounds AlignmentToParent-bind="self.observe as _ (_.GetAlignment() on _.boundary.BoundsChanged, _.animationBuilder.Current.LengthChanged)">
|
||||
<Bounds AlignmentToParent-bind="self.observe as _ (_.GetAlignment() on _.boundary.CachedBoundsChanged, _.animationBuilder.Current.LengthChanged)">
|
||||
<SolidBorder Color-bind="self.animationBuilder.Current.Border" Shape="shapeType:RoundRect radiusX:5 radiusY:5"/>
|
||||
</Bounds>
|
||||
<Bounds AlignmentToParent-bind="self.observe as _ (_.GetAlignment() on _.boundary.BoundsChanged, _.animationBuilder.Current.LengthChanged)">
|
||||
<Bounds AlignmentToParent-bind="self.observe as _ (_.GetAlignment() on _.boundary.CachedBoundsChanged, _.animationBuilder.Current.LengthChanged)">
|
||||
<SolidBackground Color-bind="self.animationBuilder.Current.Background" Shape="shapeType:RoundRect radiusX:5 radiusY:5"/>
|
||||
</Bounds>
|
||||
</Bounds>
|
||||
|
||||
@@ -33,10 +33,10 @@
|
||||
var oIde = new IDE^();
|
||||
for (att in xIde.attributes)
|
||||
{
|
||||
switch (att.name)
|
||||
switch (att.name.value)
|
||||
{
|
||||
case "name": { oIde.Name = att.value; }
|
||||
case "dev": { oIde.Developer = att.value; }
|
||||
case "name": { oIde.Name = att.value.value; }
|
||||
case "dev": { oIde.Developer = att.value.value; }
|
||||
}
|
||||
}
|
||||
ides.Add(oIde);
|
||||
|
||||
Reference in New Issue
Block a user