/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!

GacGen.exe Resource.xml

This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/

#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DEMOPARTIALCLASSES
#define VCZH_WORKFLOW_COMPILER_GENERATED_DEMOPARTIALCLASSES

#include "GacUI.h"

#if defined( _MSC_VER)
#pragma warning(push)
#pragma warning(disable:4250)
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wparentheses-equality"
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wparentheses-equality"
#endif

namespace vl_workflow_global
{
	struct __vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
}

namespace demo
{
	class IViewModel;
	class MainWindowConstructor;
	class MainWindow;

	class IViewModel : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IViewModel>
	{
#ifndef VCZH_DEBUG_NO_REFLECTION
		friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<IViewModel>;
#endif
	public:
		virtual void OpenUrl(const ::vl::WString& url) = 0;
	};

	class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
	{
		friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
		friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
#endif
	protected:
		::vl::Ptr<::demo::IViewModel> ViewModel;
		::vl::presentation::controls::GuiDocumentViewer* documentViewer;
		::demo::MainWindow* __vwsn_precompile_0;
		::vl::Ptr<::vl::presentation::controls::GuiDocumentItem> __vwsn_precompile_1;
		::vl::presentation::controls::GuiButton* __vwsn_precompile_2;
		::vl::Ptr<::vl::presentation::controls::GuiDocumentItem> __vwsn_precompile_3;
		::vl::presentation::controls::GuiTreeView* __vwsn_precompile_4;
		::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider> __vwsn_precompile_5;
		::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider> __vwsn_precompile_6;
		::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider> __vwsn_precompile_7;
		::vl::presentation::compositions::GuiBoundsComposition* __vwsn_precompile_8;
		::vl::Ptr<::vl::presentation::controls::GuiDocumentItem> __vwsn_precompile_9;
		::vl::presentation::controls::GuiToolstripMenuBar* __vwsn_precompile_10;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_11;
		::vl::presentation::controls::GuiToolstripMenu* __vwsn_precompile_12;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_13;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_14;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_15;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_16;
		::vl::presentation::controls::GuiControl* __vwsn_precompile_17;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_18;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_19;
		::vl::presentation::controls::GuiToolstripMenu* __vwsn_precompile_20;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_21;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_22;
		::vl::presentation::controls::GuiControl* __vwsn_precompile_23;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_24;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_25;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_26;
		::vl::presentation::controls::GuiControl* __vwsn_precompile_27;
		::vl::presentation::controls::GuiToolstripButton* __vwsn_precompile_28;
		::vl::Ptr<::vl::presentation::controls::GuiDocumentItem> __vwsn_precompile_29;
		::vl::presentation::compositions::GuiTableComposition* __vwsn_precompile_30;
		::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement> __vwsn_precompile_31;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_32;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_33;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_34;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_35;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_36;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_37;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_38;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_39;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_40;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_41;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_42;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_43;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_44;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_45;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_46;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_47;
		::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_48;
		::vl::presentation::controls::GuiLabel* __vwsn_precompile_49;
		::vl::presentation::compositions::GuiBoundsComposition* __vwsn_precompile_50;
		::vl::presentation::compositions::GuiBoundsComposition* __vwsn_precompile_51;
		::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_precompile_52;
		void __vwsn_demo_MainWindow_Initialize(::demo::MainWindow* __vwsn_this_);
	public:
		MainWindowConstructor();
	};

	class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
	{
		friend class ::demo::MainWindowConstructor;
		friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
		friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
	public:
		::vl::Ptr<::demo::IViewModel> __vwsn_parameter_ViewModel;
		::vl::Ptr<::demo::IViewModel> GetViewModel();
		MainWindow(::vl::Ptr<::demo::IViewModel> __vwsn_ctor_parameter_ViewModel);
		~MainWindow();
	};

}
/***********************************************************************
Global Variables and Functions
***********************************************************************/

namespace vl_workflow_global
{
	class Demo
	{
	public:

		static Demo& Instance();
	};

/***********************************************************************
Closures
***********************************************************************/

	struct __vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_
	{
		::demo::MainWindowConstructor* __vwsnthis_0;

		__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_(::demo::MainWindowConstructor* __vwsnctorthis_0);

		void operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const;
	};
}

#if defined( _MSC_VER)
#pragma warning(pop)
#elif defined(__GNUC__)
#pragma GCC diagnostic pop
#elif defined(__clang__)
#pragma clang diagnostic pop
#endif

#endif
