mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-21 22:51:26 +08:00
Update release
This commit is contained in:
@@ -2454,6 +2454,49 @@ Class (::demo::NewContactWindowConstructor)
|
||||
{
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::NewContactWindow)
|
||||
***********************************************************************/
|
||||
|
||||
bool NewContactWindow::GetForEdit()
|
||||
{
|
||||
return this->__vwsn_prop_ForEdit;
|
||||
}
|
||||
void NewContactWindow::SetForEdit(bool __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_ForEdit != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_ForEdit = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->ForEditChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
void NewContactWindow::SetContact(::vl::Ptr<::demo::IContact> value)
|
||||
{
|
||||
(this->contact = value);
|
||||
::vl::__vwsn::This(this->textBoxName)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetName());
|
||||
::vl::__vwsn::This(this->textBoxPhone)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetPhone());
|
||||
::vl::__vwsn::This(this->textBoxAddress)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetAddress());
|
||||
::vl::__vwsn::This(this->datePickerBirthday)->SetDate(::vl::__vwsn::This(this->contact.Obj())->GetBirthday());
|
||||
}
|
||||
|
||||
NewContactWindow::NewContactWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
, __vwsn_prop_ForEdit(false)
|
||||
, Ready(false)
|
||||
, contact(::vl::Ptr<::demo::IContact>())
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::NewContactWindow", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||
::vl::__vwsn::This(this)->__vwsn_demo_NewContactWindow_Initialize(this);
|
||||
}
|
||||
|
||||
NewContactWindow::~NewContactWindow()
|
||||
{
|
||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::NewFolderWindowConstructor)
|
||||
***********************************************************************/
|
||||
@@ -2621,49 +2664,6 @@ Class (::demo::NewFolderWindowConstructor)
|
||||
{
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::NewContactWindow)
|
||||
***********************************************************************/
|
||||
|
||||
bool NewContactWindow::GetForEdit()
|
||||
{
|
||||
return this->__vwsn_prop_ForEdit;
|
||||
}
|
||||
void NewContactWindow::SetForEdit(bool __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_ForEdit != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_ForEdit = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->ForEditChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
void NewContactWindow::SetContact(::vl::Ptr<::demo::IContact> value)
|
||||
{
|
||||
(this->contact = value);
|
||||
::vl::__vwsn::This(this->textBoxName)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetName());
|
||||
::vl::__vwsn::This(this->textBoxPhone)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetPhone());
|
||||
::vl::__vwsn::This(this->textBoxAddress)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetAddress());
|
||||
::vl::__vwsn::This(this->datePickerBirthday)->SetDate(::vl::__vwsn::This(this->contact.Obj())->GetBirthday());
|
||||
}
|
||||
|
||||
NewContactWindow::NewContactWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
, __vwsn_prop_ForEdit(false)
|
||||
, Ready(false)
|
||||
, contact(::vl::Ptr<::demo::IContact>())
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::NewContactWindow", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||
::vl::__vwsn::This(this)->__vwsn_demo_NewContactWindow_Initialize(this);
|
||||
}
|
||||
|
||||
NewContactWindow::~NewContactWindow()
|
||||
{
|
||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::NewFolderWindow)
|
||||
***********************************************************************/
|
||||
|
||||
@@ -83,10 +83,10 @@ namespace demo
|
||||
class IContact;
|
||||
class IViewModel;
|
||||
class MainWindowConstructor;
|
||||
class NewContactWindowConstructor;
|
||||
class NewFolderWindowConstructor;
|
||||
class MainWindow;
|
||||
class NewContactWindowConstructor;
|
||||
class NewContactWindow;
|
||||
class NewFolderWindowConstructor;
|
||||
class NewFolderWindow;
|
||||
|
||||
class ICategory : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<ICategory>
|
||||
@@ -290,6 +290,28 @@ namespace demo
|
||||
NewContactWindowConstructor();
|
||||
};
|
||||
|
||||
class NewContactWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::NewContactWindowConstructor, public ::vl::reflection::Description<NewContactWindow>
|
||||
{
|
||||
friend class ::demo::NewContactWindowConstructor;
|
||||
friend class ::vl_workflow_global::__vwsnc12_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend struct ::vl_workflow_global::__vwsnf32_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf33_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf34_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<NewContactWindow>;
|
||||
#endif
|
||||
public:
|
||||
bool __vwsn_prop_ForEdit;
|
||||
bool GetForEdit();
|
||||
void SetForEdit(bool __vwsn_value_);
|
||||
::vl::Event<void()> ForEditChanged;
|
||||
bool Ready;
|
||||
::vl::Ptr<::demo::IContact> contact;
|
||||
void SetContact(::vl::Ptr<::demo::IContact> value);
|
||||
NewContactWindow();
|
||||
~NewContactWindow();
|
||||
};
|
||||
|
||||
class NewFolderWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<NewFolderWindowConstructor>
|
||||
{
|
||||
friend class ::vl_workflow_global::__vwsnc13_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||
@@ -319,28 +341,6 @@ namespace demo
|
||||
NewFolderWindowConstructor();
|
||||
};
|
||||
|
||||
class NewContactWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::NewContactWindowConstructor, public ::vl::reflection::Description<NewContactWindow>
|
||||
{
|
||||
friend class ::demo::NewContactWindowConstructor;
|
||||
friend class ::vl_workflow_global::__vwsnc12_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend struct ::vl_workflow_global::__vwsnf32_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf33_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf34_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<NewContactWindow>;
|
||||
#endif
|
||||
public:
|
||||
bool __vwsn_prop_ForEdit;
|
||||
bool GetForEdit();
|
||||
void SetForEdit(bool __vwsn_value_);
|
||||
::vl::Event<void()> ForEditChanged;
|
||||
bool Ready;
|
||||
::vl::Ptr<::demo::IContact> contact;
|
||||
void SetContact(::vl::Ptr<::demo::IContact> value);
|
||||
NewContactWindow();
|
||||
~NewContactWindow();
|
||||
};
|
||||
|
||||
class NewFolderWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::NewFolderWindowConstructor, public ::vl::reflection::Description<NewFolderWindow>
|
||||
{
|
||||
friend class ::demo::NewFolderWindowConstructor;
|
||||
|
||||
Reference in New Issue
Block a user