mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-17 23:38:47 +08:00
Update generated files
This commit is contained in:
-2
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -21202,7 +21201,6 @@ Class (::demo::TreeViewTabPage)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
+11
-14
@@ -29,7 +29,9 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom global declarations) */
|
||||
/* USER_CONTENT_END() */
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::DocumentEditorBase)
|
||||
@@ -121,29 +123,25 @@ namespace demo
|
||||
return static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->toolstripContainer);
|
||||
}
|
||||
|
||||
USERIMPL(/* ::demo::DocumentEditorBase */)
|
||||
void DocumentEditorBase::LoadAsPrivateFormat(const ::vl::WString& fileName)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::DocumentEditorBase) */
|
||||
throw ::vl::Exception(L"You should implement this function.");
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::DocumentEditorBase */)
|
||||
void DocumentEditorBase::SaveAsPrivateFormat(const ::vl::WString& fileName)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::DocumentEditorBase) */
|
||||
throw ::vl::Exception(L"You should implement this function.");
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::DocumentEditorBase */)
|
||||
void DocumentEditorBase::SaveAsRTF(const ::vl::WString& fileName)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::DocumentEditorBase) */
|
||||
throw ::vl::Exception(L"You should implement this function.");
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::DocumentEditorBase */)
|
||||
void DocumentEditorBase::SaveAsHTML(const ::vl::WString& fileName)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::DocumentEditorBase) */
|
||||
throw ::vl::Exception(L"You should implement this function.");
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
void DocumentEditorBase::SaveDocument()
|
||||
{
|
||||
@@ -194,7 +192,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
+3
@@ -155,6 +155,9 @@ namespace demo
|
||||
DocumentEditorBase();
|
||||
void __vwsn_instance_ctor_();
|
||||
~DocumentEditorBase();
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom members of ::demo::DocumentEditorBase) */
|
||||
/* USER_CONTENT_END() */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
-2
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::DocumentEditorRibbon)
|
||||
@@ -193,7 +192,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
-2
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::DocumentEditorToolstrip)
|
||||
@@ -54,7 +53,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::MainWindow)
|
||||
@@ -55,7 +54,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -2685,7 +2684,7 @@ Class (::demo::NewFolderWindow)
|
||||
NewFolderWindow::NewFolderWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
, __vwsn_prop_FolderName(::vl::WString(L"", false))
|
||||
, Ready(true)
|
||||
, Ready(false)
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::NewFolderWindow", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
@@ -2702,7 +2701,6 @@ Class (::demo::NewFolderWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::MainWindow)
|
||||
@@ -72,7 +71,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1497,7 +1496,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1423,7 +1422,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -673,7 +672,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -704,7 +703,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -3588,7 +3587,6 @@ Class (::demo::TextEditor)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,9 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::EditorBase::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::EditorBase::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::EditorBase::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom global declarations) */
|
||||
/* USER_CONTENT_END() */
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::DocumentEditorBase)
|
||||
@@ -121,28 +123,25 @@ namespace demo
|
||||
return static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->toolstripContainer);
|
||||
}
|
||||
|
||||
USERIMPL(/* ::demo::DocumentEditorBase */)
|
||||
void DocumentEditorBase::LoadAsPrivateFormat(const ::vl::WString& fileName)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::DocumentEditorBase) */
|
||||
vl::stream::FileStream fileStream(fileName, vl::stream::FileStream::ReadOnly);
|
||||
auto model = vl::presentation::LoadDocumentFromClipboardStream(fileStream);
|
||||
document->SetDocument(model);
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::DocumentEditorBase */)
|
||||
void DocumentEditorBase::SaveAsPrivateFormat(const ::vl::WString& fileName)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::DocumentEditorBase) */
|
||||
document->SelectAll();
|
||||
auto model = document->GetSelectionModel();
|
||||
|
||||
vl::presentation::ModifyDocumentForClipboard(model);
|
||||
vl::stream::FileStream fileStream(fileName, vl::stream::FileStream::WriteOnly);
|
||||
vl::presentation::SaveDocumentToClipboardStream(model, fileStream);
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::DocumentEditorBase */)
|
||||
void DocumentEditorBase::SaveAsRTF(const ::vl::WString& fileName)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::DocumentEditorBase) */
|
||||
document->SelectAll();
|
||||
auto model = document->GetSelectionModel();
|
||||
|
||||
@@ -150,11 +149,10 @@ namespace demo
|
||||
vl::presentation::SaveDocumentToRtf(model, rtf);
|
||||
vl::stream::FileStream fileStream(fileName, vl::stream::FileStream::WriteOnly);
|
||||
fileStream.Write((void*)rtf.Buffer(), rtf.Length());
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::DocumentEditorBase */)
|
||||
void DocumentEditorBase::SaveAsHTML(const ::vl::WString& fileName)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::DocumentEditorBase) */
|
||||
document->SelectAll();
|
||||
auto model = document->GetSelectionModel();
|
||||
|
||||
@@ -164,7 +162,7 @@ namespace demo
|
||||
fileStream.Write((void*)header.Buffer(), header.Length());
|
||||
fileStream.Write((void*)content.Buffer(), content.Length());
|
||||
fileStream.Write((void*)footer.Buffer(), footer.Length());
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
void DocumentEditorBase::SaveDocument()
|
||||
{
|
||||
@@ -215,7 +213,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -155,6 +155,9 @@ namespace demo
|
||||
DocumentEditorBase();
|
||||
void __vwsn_instance_ctor_();
|
||||
~DocumentEditorBase();
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom members of ::demo::DocumentEditorBase) */
|
||||
/* USER_CONTENT_END() */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::EditorBase::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::EditorBase::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::EditorBase::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -3913,7 +3912,6 @@ Class (::demo::HyperlinkWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::EditorRibbon::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::EditorRibbon::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::EditorRibbon::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::DocumentEditorRibbon)
|
||||
@@ -193,7 +192,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::EditorRibbon::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::EditorRibbon::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::EditorRibbon::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -2522,7 +2521,6 @@ Class (::demo::StyleItemTemplate)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::EditorToolstrip::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::EditorToolstrip::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::EditorToolstrip::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::DocumentEditorToolstrip)
|
||||
@@ -54,7 +53,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
-2
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::EditorToolstrip::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::EditorToolstrip::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::EditorToolstrip::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1196,7 +1195,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1828,7 +1827,6 @@ Class (::demo::TreeViewTabPage)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1973,7 +1972,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -413,7 +412,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -471,7 +470,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,9 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom global declarations) */
|
||||
/* USER_CONTENT_END() */
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::AboutWindow)
|
||||
@@ -37,11 +39,10 @@ Class (::demo::AboutWindow)
|
||||
|
||||
namespace demo
|
||||
{
|
||||
USERIMPL(/* ::demo::AboutWindow */)
|
||||
void AboutWindow::documentLabel_ActiveHyperlinkExecuted(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::AboutWindow) */
|
||||
OpenUrl(documentLabel->GetActiveHyperlinkReference());
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
AboutWindow::AboutWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
@@ -61,7 +62,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -38,6 +38,9 @@ namespace demo
|
||||
public:
|
||||
AboutWindow();
|
||||
~AboutWindow();
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom members of ::demo::AboutWindow) */
|
||||
/* USER_CONTENT_END() */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -2567,7 +2566,6 @@ Class (::demo::RecentFileItemTemplate)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,9 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom global declarations) */
|
||||
/* USER_CONTENT_END() */
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::FindWindow)
|
||||
@@ -37,9 +39,8 @@ Class (::demo::FindWindow)
|
||||
|
||||
namespace demo
|
||||
{
|
||||
USERIMPL(/* ::demo::FindWindow */)
|
||||
bool FindWindow::FindNext(const ::vl::WString& toFind, bool caseSensitive, bool down)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::FindWindow) */
|
||||
auto position = textBox->GetCaretEnd();
|
||||
auto rowCount = textBox->GetRowCount();
|
||||
auto normalization = caseSensitive ? Locale::None : Locale::IgnoreCase;
|
||||
@@ -94,7 +95,7 @@ namespace demo
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
FindWindow::FindWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
@@ -115,7 +116,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -39,6 +39,9 @@ namespace demo
|
||||
::vl::presentation::controls::GuiMultilineTextBox* textBox;
|
||||
FindWindow();
|
||||
~FindWindow();
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom members of ::demo::FindWindow) */
|
||||
/* USER_CONTENT_END() */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -29,7 +29,9 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom global declarations) */
|
||||
/* USER_CONTENT_END() */
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::MainWindow)
|
||||
@@ -37,9 +39,8 @@ Class (::demo::MainWindow)
|
||||
|
||||
namespace demo
|
||||
{
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
bool MainWindow::CanCloseFile()
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
if (textBox->GetModified())
|
||||
{
|
||||
switch (dialogQueryClose->ShowDialog())
|
||||
@@ -56,11 +57,10 @@ namespace demo
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
bool MainWindow::LoadFile(const ::vl::WString& path)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
stream::FileStream fileStream(path, stream::FileStream::ReadOnly);
|
||||
if (fileStream.IsAvailable())
|
||||
{
|
||||
@@ -92,11 +92,10 @@ namespace demo
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
bool MainWindow::OpenFile(::vl::vint filterIndex)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
if (CanCloseFile())
|
||||
{
|
||||
dialogOpen->SetFilterIndex(filterIndex);
|
||||
@@ -113,11 +112,10 @@ namespace demo
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
bool MainWindow::SaveFile(bool saveAs)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
WString targetFileName = fileName;
|
||||
if (saveAs || targetFileName == L"")
|
||||
{
|
||||
@@ -162,27 +160,25 @@ namespace demo
|
||||
dialogCannotSave->ShowDialog();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::SetupTextConfig()
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
if (isXml == true)
|
||||
{
|
||||
isXml = false;
|
||||
SetColorizer(textBox, false);
|
||||
}
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::SetupXmlConfig()
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
if (isXml == false)
|
||||
{
|
||||
isXml = true;
|
||||
SetColorizer(textBox, true);
|
||||
}
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
void MainWindow::AddRecentFile(const ::vl::WString& path)
|
||||
{
|
||||
@@ -214,109 +210,93 @@ namespace demo
|
||||
::vl::__vwsn::This(this->recentFiles.Obj())->Insert(static_cast<::vl::vint>(0), ::vl::__vwsn::Box(command));
|
||||
}
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandFileNewText_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
if (CanCloseFile())
|
||||
{
|
||||
textBox->SetText(L"");
|
||||
textBox->ClearUndoRedo();
|
||||
SetupTextConfig();
|
||||
}
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandFileNewXml_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
if (CanCloseFile())
|
||||
{
|
||||
textBox->SetText(L"");
|
||||
textBox->ClearUndoRedo();
|
||||
SetupXmlConfig();
|
||||
}
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandFileOpen_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
OpenFile(dialogOpen->GetFilterIndex());
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandFileOpenText_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
OpenFile(0);
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandFileOpenXml_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
OpenFile(1);
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandFileSave_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
SaveFile(false);
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandFileSaveAs_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
SaveFile(true);
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandFileExit_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
Close();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandEditUndo_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
textBox->Undo();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandEditRedo_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
textBox->Redo();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandEditCut_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
textBox->Cut();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandEditCopy_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
textBox->Copy();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandEditPaste_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
textBox->Paste();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandEditDelete_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
textBox->SetSelectionText(L"");
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandEditSelect_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
textBox->SelectAll();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandEditFind_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
if (!findWindow)
|
||||
{
|
||||
auto window = MakePtr<FindWindow>();
|
||||
@@ -326,21 +306,19 @@ namespace demo
|
||||
findWindow = window;
|
||||
}
|
||||
findWindow->Show();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::commandAbout_Executed(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
auto window = new AboutWindow;
|
||||
window->MoveToScreenCenter();
|
||||
window->ShowModalAndDelete(this, []() {});
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::window_Closing(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiRequestEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
arguments->cancel = !CanCloseFile();
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
MainWindow::MainWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
@@ -364,7 +342,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -101,6 +101,9 @@ namespace demo
|
||||
public:
|
||||
MainWindow();
|
||||
~MainWindow();
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom members of ::demo::MainWindow) */
|
||||
/* USER_CONTENT_END() */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1484,7 +1483,6 @@ Class (::demo::TriplePhaseImageButtonTemplate)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::HelloWorld::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::HelloWorld::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::HelloWorld::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -115,7 +114,6 @@ Class (::helloworld::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::HelloWorld::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::HelloWorld::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::HelloWorld::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -820,7 +819,6 @@ namespace vm
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,9 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::HelloWorld::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::HelloWorld::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::HelloWorld::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom global declarations) */
|
||||
/* USER_CONTENT_END() */
|
||||
|
||||
/***********************************************************************
|
||||
Class (::helloworld::MainWindow)
|
||||
@@ -55,15 +57,14 @@ namespace helloworld
|
||||
return this->__vwsn_parameter_ViewModel;
|
||||
}
|
||||
|
||||
USERIMPL(/* ::helloworld::MainWindow */)
|
||||
void MainWindow::buttonSignUp_Clicked(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments)
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::helloworld::MainWindow) */
|
||||
if (this->GetViewModel()->SignUp())
|
||||
{
|
||||
this->SetHasLoggedIn(true);
|
||||
this->buttonSignUp->SetText(L"Success!");
|
||||
}
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
MainWindow::MainWindow(::vl::Ptr<::vm::IViewModel> __vwsn_ctor_parameter_ViewModel)
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
@@ -86,7 +87,6 @@ namespace helloworld
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -55,6 +55,9 @@ namespace helloworld
|
||||
public:
|
||||
MainWindow(::vl::Ptr<::vm::IViewModel> __vwsn_ctor_parameter_ViewModel);
|
||||
~MainWindow();
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom members of ::helloworld::MainWindow) */
|
||||
/* USER_CONTENT_END() */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -161,7 +160,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1383,7 +1382,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -2284,7 +2283,6 @@ Class (::demo::ResponsiveViewControl)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -2211,7 +2210,6 @@ Class (::demo::VideoItemTemplate)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -615,7 +614,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1386,7 +1385,6 @@ Class (::demo::SharedSizeTextItemTemplate)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -495,7 +494,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -377,7 +376,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -1672,7 +1671,6 @@ Class (::demo::MainWindow)
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,6 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/***********************************************************************
|
||||
Global Variables
|
||||
@@ -90,7 +89,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -29,7 +29,9 @@ https://github.com/vczh-libraries
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
#define USERIMPL(...)
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom global declarations) */
|
||||
/* USER_CONTENT_END() */
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::MainWindow)
|
||||
@@ -37,13 +39,12 @@ Class (::demo::MainWindow)
|
||||
|
||||
namespace demo
|
||||
{
|
||||
USERIMPL(/* ::demo::MainWindow */)
|
||||
void MainWindow::InstallAnimationControl()
|
||||
{
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
auto animationControl = new AnimationControl;
|
||||
animationControl->GetBoundsComposition()->SetAlignmentToParent(vl::presentation::Margin(0, 0, 0, 0));
|
||||
animationBounds->AddChild(animationControl->GetBoundsComposition());
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
MainWindow::MainWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
@@ -69,7 +70,6 @@ namespace demo
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
#undef USERIMPL
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
|
||||
@@ -37,6 +37,9 @@ namespace demo
|
||||
MainWindow();
|
||||
void __vwsn_instance_ctor_();
|
||||
~MainWindow();
|
||||
|
||||
/* USER_CONTENT_BEGIN(custom members of ::demo::MainWindow) */
|
||||
/* USER_CONTENT_END() */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user