mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-23 07:45:59 +08:00
Update release
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
</Cell>
|
||||
|
||||
<Cell Site="row:2 column:0">
|
||||
<DocumentViewer ref.Name="document" EditMode="Editable">
|
||||
<DocumentViewer ref.Name="document" EditMode="Editable" Alt="D">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
<ev.ActiveHyperlinkExecuted-eval>
|
||||
<![CDATA[
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<Folder>
|
||||
<Instance name="RepeatItemTemplateResource">
|
||||
<Instance ref.CodeBehind="false" ref.Class="demo::RepeatItemTemplate">
|
||||
<ref.Parameter Name="ViewModel" Class="demo::MyTextItem"/>
|
||||
<ControlTemplate MinSizeLimitation="LimitToElementAndChildren">
|
||||
<Button Text-bind="ViewModel.Name">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</Button>
|
||||
</ControlTemplate>
|
||||
</Instance>
|
||||
</Instance>
|
||||
</Folder>
|
||||
@@ -0,0 +1,180 @@
|
||||
<Instance ref.CodeBehind="false" ref.Class="demo::RepeatTabPage">
|
||||
<ref.Members>
|
||||
<![CDATA[
|
||||
var counter : int = 0;
|
||||
var itemsToBind : observe MyTextItem^[] = {};
|
||||
|
||||
func ToText_1to9(i : int) : string
|
||||
{
|
||||
switch (i)
|
||||
{
|
||||
case 1: { return "one"; }
|
||||
case 2: { return "two"; }
|
||||
case 3: { return "three"; }
|
||||
case 4: { return "four"; }
|
||||
case 5: { return "five"; }
|
||||
case 6: { return "six"; }
|
||||
case 7: { return "seven"; }
|
||||
case 8: { return "eight"; }
|
||||
case 9: { return "nine"; }
|
||||
}
|
||||
raise "ToText_1to9: Number out of range.";
|
||||
}
|
||||
|
||||
func ToText_11to19(i : int) : string
|
||||
{
|
||||
switch (i)
|
||||
{
|
||||
case 1: { return "eleven"; }
|
||||
case 2: { return "twelve"; }
|
||||
case 3: { return "thirteen"; }
|
||||
case 4: { return "fourteen"; }
|
||||
case 5: { return "fifteen"; }
|
||||
case 6: { return "sixteen"; }
|
||||
case 7: { return "seventeen"; }
|
||||
case 8: { return "eightteen"; }
|
||||
case 9: { return "nineteen"; }
|
||||
}
|
||||
raise "ToText_11to19: Number out of range.";
|
||||
}
|
||||
|
||||
func NumberToText_1To99(i : int) : string
|
||||
{
|
||||
switch (i / 10)
|
||||
{
|
||||
case 0: { return ToText_1to9(i % 10); }
|
||||
case 1: { return i == 10 ? "ten" : ToText_11to19(i % 10); }
|
||||
case 2: { return i % 10 == 0 ? "twenty" : "twenty-" & ToText_1to9(i % 10); }
|
||||
case 3: { return i % 10 == 0 ? "thirty" : "thirty-" & ToText_1to9(i % 10); }
|
||||
case 4: { return i % 10 == 0 ? "fourty" : "fourty-" & ToText_1to9(i % 10); }
|
||||
case 5: { return i % 10 == 0 ? "fifty" : "fifty-" & ToText_1to9(i % 10); }
|
||||
case 6: { return i % 10 == 0 ? "sixty" : "sixty-" & ToText_1to9(i % 10); }
|
||||
case 7: { return i % 10 == 0 ? "seventy" : "seventy-" & ToText_1to9(i % 10); }
|
||||
case 8: { return i % 10 == 0 ? "eighty" : "eighty-" & ToText_1to9(i % 10); }
|
||||
case 9: { return i % 10 == 0 ? "ninety" : "ninety-" & ToText_1to9(i % 10); }
|
||||
}
|
||||
raise "NumberToText_1To99: Number out of range.";
|
||||
}
|
||||
|
||||
func NumberToText_0to999(i : int) : string
|
||||
{
|
||||
if (i < 100) { return NumberToText_1To99(i); }
|
||||
return ToText_1to9(i / 100) & " hundred" & (i % 100 == 0 ? "" : " and " & NumberToText_1To99(i % 100));
|
||||
}
|
||||
|
||||
func NumberToText(i : int) : string
|
||||
{
|
||||
if (i == 0) { return "zero"; }
|
||||
if (i < 1000) { return NumberToText_0to999(i); }
|
||||
return "Number too large: " & i;
|
||||
}
|
||||
]]>
|
||||
</ref.Members>
|
||||
<TabPage ref.Name="self" Text="Repeat">
|
||||
<Table AlignmentToParent="left:0 top:0 right:0 bottom:0" CellPadding="5">
|
||||
<att.Rows>
|
||||
<_>composeType:Percentage percentage:1.0</_>
|
||||
</att.Rows>
|
||||
<att.Columns>
|
||||
<_>composeType:Percentage percentage:0.5</_>
|
||||
<_>composeType:MinSize</_>
|
||||
</att.Columns>
|
||||
|
||||
<Cell Site="row:0 column:0">
|
||||
<Tab>
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
<att.Pages>
|
||||
<TabPage Text="RepeatStack" Alt="S">
|
||||
<RepeatStack ref.Name="repeatStack" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
||||
<att.Direction>Vertical</att.Direction>
|
||||
<att.Padding>5</att.Padding>
|
||||
<att.ExtraMargin>left:5 top:5 right:5 bottom:5</att.ExtraMargin>
|
||||
<att.ItemTemplate>demo::RepeatItemTemplate</att.ItemTemplate>
|
||||
<att.ItemSource-eval>self.itemsToBind</att.ItemSource-eval>
|
||||
</RepeatStack>
|
||||
</TabPage>
|
||||
<TabPage Text="RepeatFlow" Alt="F">
|
||||
<RepeatFlow ref.Name="repeatFlow" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
||||
<att.RowPadding>5</att.RowPadding>
|
||||
<att.ColumnPadding>5</att.ColumnPadding>
|
||||
<att.ExtraMargin>left:5 top:5 right:5 bottom:5</att.ExtraMargin>
|
||||
<att.ItemTemplate>demo::RepeatItemTemplate</att.ItemTemplate>
|
||||
<att.ItemSource-eval>self.itemsToBind</att.ItemSource-eval>
|
||||
</RepeatFlow>
|
||||
</TabPage>
|
||||
</att.Pages>
|
||||
</Tab>
|
||||
</Cell>
|
||||
|
||||
<Cell Site="row:0 column:1">
|
||||
<Stack Direction="Vertical" Padding="5" AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
|
||||
<StackItem>
|
||||
<Button Alt="A" Text="Add 10 items">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
<ev.Clicked-eval>
|
||||
<![CDATA[
|
||||
{
|
||||
for (i in range [0, 9])
|
||||
{
|
||||
var textItem = new demo::MyTextItem^();
|
||||
textItem.Name = self.NumberToText(self.counter + i);
|
||||
self.itemsToBind.Add(textItem);
|
||||
}
|
||||
|
||||
self.counter = self.counter + 10;
|
||||
}
|
||||
]]>
|
||||
</ev.Clicked-eval>
|
||||
</Button>
|
||||
</StackItem>
|
||||
<StackItem>
|
||||
<Button Alt="O" Text="Remove odd items">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
<ev.Clicked-eval>
|
||||
<![CDATA[
|
||||
{
|
||||
var i = 0;
|
||||
while (i < self.itemsToBind.Count)
|
||||
{
|
||||
self.itemsToBind.RemoveAt(i);
|
||||
i = i + 1;
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</ev.Clicked-eval>
|
||||
</Button>
|
||||
</StackItem>
|
||||
<StackItem>
|
||||
<Button Alt="E" Text="Remove even items">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
<ev.Clicked-eval>
|
||||
<![CDATA[
|
||||
{
|
||||
var i = 1;
|
||||
while (i < self.itemsToBind.Count)
|
||||
{
|
||||
self.itemsToBind.RemoveAt(i);
|
||||
i = i + 1;
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</ev.Clicked-eval>
|
||||
</Button>
|
||||
</StackItem>
|
||||
<StackItem>
|
||||
<Button Alt="C" Text="Clear">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
<ev.Clicked-eval>
|
||||
<![CDATA[
|
||||
{
|
||||
self.itemsToBind.Clear();
|
||||
}
|
||||
]]>
|
||||
</ev.Clicked-eval>
|
||||
</Button>
|
||||
</StackItem>
|
||||
</Stack>
|
||||
</Cell>
|
||||
</Table>
|
||||
</TabPage>
|
||||
</Instance>
|
||||
@@ -20,11 +20,12 @@
|
||||
<att.Pages>
|
||||
<demo:TextListTabPage Alt="T"/>
|
||||
<demo:ListViewTabPage Alt="L"/>
|
||||
<demo:TreeViewTabPage Alt="R"/>
|
||||
<demo:TreeViewTabPage Alt="T"/>
|
||||
<demo:DataGridTabPage Alt="D"/>
|
||||
</att.Pages>
|
||||
</Tab>
|
||||
</TabPage>
|
||||
<demo:RepeatTabPage Alt="R"/>
|
||||
<demo:DocumentTabPage Alt="D"/>
|
||||
<demo:TextBoxTabPage Alt="D"/>
|
||||
</att.Pages>
|
||||
@@ -36,10 +37,12 @@
|
||||
<Instance name="TextListTabPageResource" content="File">TextListTabPage.xml</Instance>
|
||||
<Instance name="ListViewTabPageResource" content="File">ListViewTabPage.xml</Instance>
|
||||
<Instance name="TreeViewTabPageResource" content="File">TreeViewTabPage.xml</Instance>
|
||||
<Instance name="RepeatTabPageResource" content="File">RepeatTabPage.xml</Instance>
|
||||
<Instance name="DataGridTabPageResource" content="File">DataGridTabPage.xml</Instance>
|
||||
<Instance name="DocumentTabPageResource" content="File">DocumentTabPage.xml</Instance>
|
||||
<Folder name="TextBoxComponents" content="Link">TextBoxTabPage.xml</Folder>
|
||||
<Folder name="DataGridComponents" content="Link">DataGridComponents.xml</Folder>
|
||||
<Folder name="RepeatComponents" content="Link">RepeatComponents.xml</Folder>
|
||||
<Folder name="DocumentComponents" content="Link">DocumentComponents.xml</Folder>
|
||||
<Folder name="LargeImages" content="Link">Images/LargeImages.xml</Folder>
|
||||
<Folder name="SmallImages" content="Link">Images/SmallImages.xml</Folder>
|
||||
|
||||
+1185
-499
File diff suppressed because it is too large
Load Diff
+561
-374
File diff suppressed because it is too large
Load Diff
@@ -65,6 +65,10 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MyDataItem)
|
||||
IMPL_CPP_TYPE_INFO(demo::MyGender)
|
||||
IMPL_CPP_TYPE_INFO(demo::MyTextItem)
|
||||
IMPL_CPP_TYPE_INFO(demo::RepeatItemTemplate)
|
||||
IMPL_CPP_TYPE_INFO(demo::RepeatItemTemplateConstructor)
|
||||
IMPL_CPP_TYPE_INFO(demo::RepeatTabPage)
|
||||
IMPL_CPP_TYPE_INFO(demo::RepeatTabPageConstructor)
|
||||
IMPL_CPP_TYPE_INFO(demo::TextBoxTabPage)
|
||||
IMPL_CPP_TYPE_INFO(demo::TextBoxTabPageConstructor)
|
||||
IMPL_CPP_TYPE_INFO(demo::TextEditor)
|
||||
@@ -472,6 +476,7 @@ namespace vl
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_1)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_10)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_11)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_12)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_2)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_3)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_4)
|
||||
@@ -541,6 +546,61 @@ namespace vl
|
||||
CLASS_MEMBER_PROPERTY(Name, GetName, SetName)
|
||||
END_CLASS_MEMBER(::demo::MyTextItem)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::demo::RepeatItemTemplate)
|
||||
CLASS_MEMBER_CONSTRUCTOR(::demo::RepeatItemTemplate*(::vl::Ptr<::demo::MyTextItem>), { L"__vwsn_ctor_parameter_ViewModel" })
|
||||
CLASS_MEMBER_METHOD(GetViewModel, NO_PARAMETER)
|
||||
CLASS_MEMBER_FIELD(__vwsn_parameter_ViewModel)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(ViewModel, GetViewModel)
|
||||
END_CLASS_MEMBER(::demo::RepeatItemTemplate)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::demo::RepeatItemTemplateConstructor)
|
||||
CLASS_MEMBER_CONSTRUCTOR(::vl::Ptr<::demo::RepeatItemTemplateConstructor>(), NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(__vwsn_initialize_instance_, { L"__vwsn_this_" })
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_0)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_1)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_2)
|
||||
CLASS_MEMBER_FIELD(ViewModel)
|
||||
END_CLASS_MEMBER(::demo::RepeatItemTemplateConstructor)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::demo::RepeatTabPage)
|
||||
CLASS_MEMBER_CONSTRUCTOR(::demo::RepeatTabPage*(), NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(NumberToText, { L"i" })
|
||||
CLASS_MEMBER_METHOD(NumberToText_0to999, { L"i" })
|
||||
CLASS_MEMBER_METHOD(NumberToText_1To99, { L"i" })
|
||||
CLASS_MEMBER_METHOD(ToText_11to19, { L"i" })
|
||||
CLASS_MEMBER_METHOD(ToText_1to9, { L"i" })
|
||||
CLASS_MEMBER_FIELD(counter)
|
||||
CLASS_MEMBER_FIELD(itemsToBind)
|
||||
END_CLASS_MEMBER(::demo::RepeatTabPage)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::demo::RepeatTabPageConstructor)
|
||||
CLASS_MEMBER_CONSTRUCTOR(::vl::Ptr<::demo::RepeatTabPageConstructor>(), NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(__vwsn_initialize_instance_, { L"__vwsn_this_" })
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_0)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_1)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_10)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_11)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_12)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_13)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_14)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_15)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_16)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_17)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_18)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_19)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_2)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_3)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_4)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_5)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_6)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_7)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_8)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_9)
|
||||
CLASS_MEMBER_FIELD(repeatFlow)
|
||||
CLASS_MEMBER_FIELD(repeatStack)
|
||||
CLASS_MEMBER_FIELD(self)
|
||||
END_CLASS_MEMBER(::demo::RepeatTabPageConstructor)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::demo::TextBoxTabPage)
|
||||
CLASS_MEMBER_CONSTRUCTOR(::demo::TextBoxTabPage*(), NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(UpdateFont, { L"newFont" })
|
||||
@@ -738,6 +798,10 @@ namespace vl
|
||||
ADD_TYPE_INFO(::demo::MyDataItem)
|
||||
ADD_TYPE_INFO(::demo::MyGender)
|
||||
ADD_TYPE_INFO(::demo::MyTextItem)
|
||||
ADD_TYPE_INFO(::demo::RepeatItemTemplate)
|
||||
ADD_TYPE_INFO(::demo::RepeatItemTemplateConstructor)
|
||||
ADD_TYPE_INFO(::demo::RepeatTabPage)
|
||||
ADD_TYPE_INFO(::demo::RepeatTabPageConstructor)
|
||||
ADD_TYPE_INFO(::demo::TextBoxTabPage)
|
||||
ADD_TYPE_INFO(::demo::TextBoxTabPageConstructor)
|
||||
ADD_TYPE_INFO(::demo::TextEditor)
|
||||
|
||||
@@ -68,6 +68,10 @@ namespace vl
|
||||
DECL_TYPE_INFO(::demo::MyDataItem)
|
||||
DECL_TYPE_INFO(::demo::MyGender)
|
||||
DECL_TYPE_INFO(::demo::MyTextItem)
|
||||
DECL_TYPE_INFO(::demo::RepeatItemTemplate)
|
||||
DECL_TYPE_INFO(::demo::RepeatItemTemplateConstructor)
|
||||
DECL_TYPE_INFO(::demo::RepeatTabPage)
|
||||
DECL_TYPE_INFO(::demo::RepeatTabPageConstructor)
|
||||
DECL_TYPE_INFO(::demo::TextBoxTabPage)
|
||||
DECL_TYPE_INFO(::demo::TextBoxTabPageConstructor)
|
||||
DECL_TYPE_INFO(::demo::TextEditor)
|
||||
|
||||
@@ -125,7 +125,7 @@ So as I pray, unlimited blade works.]]>
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
|
||||
<att.Pages>
|
||||
<TabPage Text="TextBox">
|
||||
<TabPage Text="TextBox" Alt="T">
|
||||
<Table CellPadding="5" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
||||
<att.Rows>
|
||||
<CellOption>composeType:MinSize</CellOption>
|
||||
@@ -136,20 +136,20 @@ So as I pray, unlimited blade works.]]>
|
||||
</att.Columns>
|
||||
|
||||
<Cell Site="row:0 column:0">
|
||||
<SinglelineTextBox ref.Name="textBoxS" Text="Archer">
|
||||
<SinglelineTextBox ref.Name="textBoxS" Text="Archer" Alt="S">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</SinglelineTextBox>
|
||||
</Cell>
|
||||
|
||||
<Cell Site="row:1 column:0">
|
||||
<MultilineTextBox ref.Name="textBoxM" Text-uri="res://TextBoxComponents/Text">
|
||||
<MultilineTextBox ref.Name="textBoxM" Text-uri="res://TextBoxComponents/Text" Alt="M">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</MultilineTextBox>
|
||||
</Cell>
|
||||
</Table>
|
||||
</TabPage>
|
||||
|
||||
<TabPage Text="Document">
|
||||
<TabPage Text="Document" Alt="D">
|
||||
<Table CellPadding="5" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
||||
<att.Rows>
|
||||
<CellOption>composeType:MinSize</CellOption>
|
||||
@@ -161,18 +161,18 @@ So as I pray, unlimited blade works.]]>
|
||||
</att.Columns>
|
||||
|
||||
<Cell Site="row:0 column:0 columnSpan:2">
|
||||
<DocumentTextBox ref.Name="documentTextBox" EditMode="Editable" Text="Archer">
|
||||
<DocumentTextBox ref.Name="documentTextBox" EditMode="Editable" Text="Archer" Alt="T">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</DocumentTextBox>
|
||||
</Cell>
|
||||
|
||||
<Cell Site="row:1 column:0">
|
||||
<DocumentViewer ref.Name="documentViewer" EditMode="Editable" Document-uri="res://TextBoxComponents/DocFixed">
|
||||
<DocumentViewer ref.Name="documentViewer" EditMode="Editable" Document-uri="res://TextBoxComponents/DocFixed" Alt="V">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</DocumentViewer>
|
||||
</Cell>
|
||||
<Cell Site="row:1 column:1">
|
||||
<DocumentLabel ref.Name="documentLabel" EditMode="Editable" Document-uri="res://TextBoxComponents/DocRelative">
|
||||
<DocumentLabel ref.Name="documentLabel" EditMode="Editable" Document-uri="res://TextBoxComponents/DocRelative" Alt="L">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</DocumentLabel>
|
||||
</Cell>
|
||||
@@ -183,10 +183,10 @@ So as I pray, unlimited blade works.]]>
|
||||
</Cell>
|
||||
|
||||
<Cell Site="row:1 column:0">
|
||||
<Button Text="Make Font Larger" ev.Clicked-eval="self.OnMakeFontLarger();"/>
|
||||
<Button Text="Make Font Larger" Alt="L" ev.Clicked-eval="self.OnMakeFontLarger();"/>
|
||||
</Cell>
|
||||
<Cell Site="row:1 column:1">
|
||||
<Button Text="Make Font Smaller" Enabled-bind="textBoxS.Font.size > 5" ev.Clicked-eval="self.OnMakeFontSmaller();"/>
|
||||
<Button Text="Make Font Smaller" Alt="S" Enabled-bind="textBoxS.Font.size > 5" ev.Clicked-eval="self.OnMakeFontSmaller();"/>
|
||||
</Cell>
|
||||
</Table>
|
||||
</TabPage>
|
||||
|
||||
Binary file not shown.
@@ -372,7 +372,7 @@ namespace demo
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(this->__vwsn_precompile_3)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetPages());
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueObservableList>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetPages());
|
||||
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_3));
|
||||
}
|
||||
{
|
||||
@@ -605,7 +605,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_44)->AddChild(static_cast<::vl::presentation::controls::GuiControl*>(this->__vwsn_precompile_45));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetPages());
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueObservableList>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetPages());
|
||||
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_44));
|
||||
}
|
||||
(this->__vwsn_precompile_2 = ::vl::__vwsn::This(this->__vwsn_precompile_1)->GetBoundsComposition());
|
||||
|
||||
@@ -75,12 +75,15 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<IncludePath>$(ProjectDir)..\..\..\Import;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(ProjectDir)..\..\..\Import;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(ProjectDir)..\..\..\Import;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
|
||||
@@ -1042,7 +1042,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlt(::vl::WString(L"T", false));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueObservableList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
|
||||
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_2));
|
||||
}
|
||||
(this->__vwsn_precompile_3 = new ::demo::ListViewTabPage());
|
||||
@@ -1050,7 +1050,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlt(::vl::WString(L"L", false));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueObservableList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
|
||||
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->__vwsn_precompile_4 = new ::demo::TreeViewTabPage());
|
||||
@@ -1058,7 +1058,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetAlt(::vl::WString(L"R", false));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueObservableList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
|
||||
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_4));
|
||||
}
|
||||
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->__vwsn_precompile_0)->GetBoundsComposition());
|
||||
|
||||
Binary file not shown.
@@ -109,7 +109,7 @@ namespace demo
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(this->__vwsn_precompile_3)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetPages());
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueObservableList>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetPages());
|
||||
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_3));
|
||||
}
|
||||
{
|
||||
@@ -131,7 +131,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_6)->AddChild(static_cast<::vl::presentation::controls::GuiControl*>(this->documentLabel));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetPages());
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueObservableList>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetPages());
|
||||
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_6));
|
||||
}
|
||||
(this->__vwsn_precompile_2 = ::vl::__vwsn::This(this->__vwsn_precompile_1)->GetBoundsComposition());
|
||||
|
||||
Reference in New Issue
Block a user