mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-12 01:46:38 +08:00
Update to VS 2017
This commit is contained in:
@@ -3335,6 +3335,7 @@ Class (::demo::MyDataItem)
|
||||
{
|
||||
return this->__vwsn_prop_Name;
|
||||
}
|
||||
|
||||
void MyDataItem::SetName(const ::vl::WString& __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Name = __vwsn_value_);
|
||||
@@ -3344,6 +3345,7 @@ Class (::demo::MyDataItem)
|
||||
{
|
||||
return this->__vwsn_prop_Gender;
|
||||
}
|
||||
|
||||
void MyDataItem::SetGender(::demo::MyGender __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Gender = __vwsn_value_);
|
||||
@@ -3353,6 +3355,7 @@ Class (::demo::MyDataItem)
|
||||
{
|
||||
return this->__vwsn_prop_Category;
|
||||
}
|
||||
|
||||
void MyDataItem::SetCategory(::demo::MyCategory __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Category = __vwsn_value_);
|
||||
@@ -3362,6 +3365,7 @@ Class (::demo::MyDataItem)
|
||||
{
|
||||
return this->__vwsn_prop_Birthday;
|
||||
}
|
||||
|
||||
void MyDataItem::SetBirthday(::vl::DateTime __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Birthday = __vwsn_value_);
|
||||
@@ -3371,6 +3375,7 @@ Class (::demo::MyDataItem)
|
||||
{
|
||||
return this->__vwsn_prop_Website;
|
||||
}
|
||||
|
||||
void MyDataItem::SetWebsite(const ::vl::WString& __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Website = __vwsn_value_);
|
||||
@@ -3380,6 +3385,7 @@ Class (::demo::MyDataItem)
|
||||
{
|
||||
return this->__vwsn_prop_LargeImage;
|
||||
}
|
||||
|
||||
void MyDataItem::SetLargeImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_LargeImage = __vwsn_value_);
|
||||
@@ -3389,6 +3395,7 @@ Class (::demo::MyDataItem)
|
||||
{
|
||||
return this->__vwsn_prop_SmallImage;
|
||||
}
|
||||
|
||||
void MyDataItem::SetSmallImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_SmallImage = __vwsn_value_);
|
||||
|
||||
@@ -677,26 +677,39 @@ namespace demo
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MyDataItem>;
|
||||
#endif
|
||||
public:
|
||||
private:
|
||||
::vl::WString __vwsn_prop_Name = ::vl::WString(L"", false);
|
||||
public:
|
||||
::vl::WString GetName();
|
||||
void SetName(const ::vl::WString& __vwsn_value_);
|
||||
private:
|
||||
::demo::MyGender __vwsn_prop_Gender = ::demo::MyGender::Male;
|
||||
public:
|
||||
::demo::MyGender GetGender();
|
||||
void SetGender(::demo::MyGender __vwsn_value_);
|
||||
private:
|
||||
::demo::MyCategory __vwsn_prop_Category = ::demo::MyCategory::White;
|
||||
public:
|
||||
::demo::MyCategory GetCategory();
|
||||
void SetCategory(::demo::MyCategory __vwsn_value_);
|
||||
private:
|
||||
::vl::DateTime __vwsn_prop_Birthday = ::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"2000-01-01 00:00:00.000", false));
|
||||
public:
|
||||
::vl::DateTime GetBirthday();
|
||||
void SetBirthday(::vl::DateTime __vwsn_value_);
|
||||
private:
|
||||
::vl::WString __vwsn_prop_Website = ::vl::WString(L"", false);
|
||||
public:
|
||||
::vl::WString GetWebsite();
|
||||
void SetWebsite(const ::vl::WString& __vwsn_value_);
|
||||
private:
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_LargeImage = ::vl::Ptr<::vl::presentation::GuiImageData>();
|
||||
public:
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> GetLargeImage();
|
||||
void SetLargeImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
||||
private:
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_SmallImage = ::vl::Ptr<::vl::presentation::GuiImageData>();
|
||||
public:
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> GetSmallImage();
|
||||
void SetSmallImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
||||
MyDataItem();
|
||||
|
||||
@@ -1684,6 +1684,7 @@ Class (::demo::MyTextItem)
|
||||
{
|
||||
return this->__vwsn_prop_Name;
|
||||
}
|
||||
|
||||
void MyTextItem::SetName(const ::vl::WString& __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Name = __vwsn_value_);
|
||||
@@ -1693,6 +1694,7 @@ Class (::demo::MyTextItem)
|
||||
{
|
||||
return this->__vwsn_prop_Checked;
|
||||
}
|
||||
|
||||
void MyTextItem::SetChecked(bool __vwsn_value_)
|
||||
{
|
||||
(this->__vwsn_prop_Checked = __vwsn_value_);
|
||||
|
||||
@@ -307,11 +307,14 @@ namespace demo
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MyTextItem>;
|
||||
#endif
|
||||
public:
|
||||
private:
|
||||
::vl::WString __vwsn_prop_Name = ::vl::WString(L"", false);
|
||||
public:
|
||||
::vl::WString GetName();
|
||||
void SetName(const ::vl::WString& __vwsn_value_);
|
||||
private:
|
||||
bool __vwsn_prop_Checked = false;
|
||||
public:
|
||||
bool GetChecked();
|
||||
void SetChecked(bool __vwsn_value_);
|
||||
MyTextItem();
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
buttonDownload.Enabled = false;
|
||||
var text = $Await demo::IViewModel::DownloadAsync(ViewModel, func(progress : int):void
|
||||
{
|
||||
Application::GetApplication().InvokeInMainThreadAndWait(func():void
|
||||
Application::GetApplication().InvokeInMainThreadAndWait(self, func():void
|
||||
{
|
||||
progressBar.Position = progress;
|
||||
}, -1);
|
||||
|
||||
@@ -77,7 +77,7 @@ Closures
|
||||
|
||||
void __vwsnf2_Demo_demo_MainWindowConstructor___vwsn_initialize_instance___::operator()(::vl::vint progress) const
|
||||
{
|
||||
::vl::__vwsn::This(::vl::presentation::controls::GetApplication())->InvokeInMainThreadAndWait(LAMBDA(::vl_workflow_global::__vwsnf3_Demo_demo_MainWindowConstructor___vwsn_initialize_instance____(progress, __vwsnthis_0)), (- static_cast<::vl::vint>(1)));
|
||||
::vl::__vwsn::This(::vl::presentation::controls::GetApplication())->InvokeInMainThreadAndWait(static_cast<::vl::presentation::controls::GuiControlHost*>(__vwsnthis_0->self), LAMBDA(::vl_workflow_global::__vwsnf3_Demo_demo_MainWindowConstructor___vwsn_initialize_instance____(progress, __vwsnthis_0)), (- static_cast<::vl::vint>(1)));
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
@@ -114,7 +114,7 @@ Closures
|
||||
|
||||
void __vwsnf5_Demo_demo_MainWindowConstructor___vwsn_initialize_instance____::operator()(::vl::vint progress) const
|
||||
{
|
||||
::vl::__vwsn::This(::vl::presentation::controls::GetApplication())->InvokeInMainThreadAndWait(LAMBDA(::vl_workflow_global::__vwsnf6_Demo_demo_MainWindowConstructor___vwsn_initialize_instance_____(progress, __vwsnthis_0)), (- static_cast<::vl::vint>(1)));
|
||||
::vl::__vwsn::This(::vl::presentation::controls::GetApplication())->InvokeInMainThreadAndWait(static_cast<::vl::presentation::controls::GuiControlHost*>(__vwsnthis_0->self), LAMBDA(::vl_workflow_global::__vwsnf6_Demo_demo_MainWindowConstructor___vwsn_initialize_instance_____(progress, __vwsnthis_0)), (- static_cast<::vl::vint>(1)));
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
@@ -140,7 +140,7 @@ Closures
|
||||
|
||||
void __vwsnf7_Demo_demo_MainWindowConstructor___vwsn_initialize_instance____Resume_::operator()(::vl::vint progress) const
|
||||
{
|
||||
::vl::__vwsn::This(::vl::presentation::controls::GetApplication())->InvokeInMainThreadAndWait(LAMBDA(::vl_workflow_global::__vwsnf8_Demo_demo_MainWindowConstructor___vwsn_initialize_instance____Resume__(progress, __vwsnthis_0, __vwsnthis_1)), (- static_cast<::vl::vint>(1)));
|
||||
::vl::__vwsn::This(::vl::presentation::controls::GetApplication())->InvokeInMainThreadAndWait(static_cast<::vl::presentation::controls::GuiControlHost*>(__vwsnthis_1->self), LAMBDA(::vl_workflow_global::__vwsnf8_Demo_demo_MainWindowConstructor___vwsn_initialize_instance____Resume__(progress, __vwsnthis_0, __vwsnthis_1)), (- static_cast<::vl::vint>(1)));
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user