This commit is contained in:
vczh
2016-04-30 16:23:05 -07:00
parent 845ee8386a
commit 5e26b02641
83 changed files with 1166 additions and 39 deletions
+15 -4
View File
@@ -43537,7 +43537,7 @@ GuiResourceFolder
} }
} }
void GuiResourceFolder::PrecompileResourceFolder(GuiResourcePrecompileContext& context, collections::List<WString>& errors) void GuiResourceFolder::PrecompileResourceFolder(GuiResourcePrecompileContext& context, IGuiResourcePrecompileCallback* callback, collections::List<WString>& errors)
{ {
FOREACH(Ptr<GuiResourceItem>, item, items.Values()) FOREACH(Ptr<GuiResourceItem>, item, items.Values())
{ {
@@ -43546,6 +43546,10 @@ GuiResourceFolder
{ {
if (precompile->GetPassSupport(context.passIndex) == IGuiResourceTypeResolver_Precompile::PerResource) if (precompile->GetPassSupport(context.passIndex) == IGuiResourceTypeResolver_Precompile::PerResource)
{ {
if (callback)
{
callback->OnPerResource(context.passIndex, item);
}
precompile->PerResourcePrecompile(item, context, errors); precompile->PerResourcePrecompile(item, context, errors);
} }
} }
@@ -43553,7 +43557,7 @@ GuiResourceFolder
FOREACH(Ptr<GuiResourceFolder>, folder, folders.Values()) FOREACH(Ptr<GuiResourceFolder>, folder, folders.Values())
{ {
folder->PrecompileResourceFolder(context, errors); folder->PrecompileResourceFolder(context, callback, errors);
} }
} }
@@ -43842,7 +43846,7 @@ GuiResource
SaveResourceFolderToBinary(writer, typeNames); SaveResourceFolderToBinary(writer, typeNames);
} }
void GuiResource::Precompile(collections::List<WString>& errors) void GuiResource::Precompile(IGuiResourcePrecompileCallback* callback, collections::List<WString>& errors)
{ {
if (GetFolder(L"Precompiled")) if (GetFolder(L"Precompiled"))
{ {
@@ -43865,11 +43869,17 @@ GuiResource
manager->GetPerResourceResolverNames(i, resolvers); manager->GetPerResourceResolverNames(i, resolvers);
if (resolvers.Count() > 0) if (resolvers.Count() > 0)
{ {
PrecompileResourceFolder(context, errors); PrecompileResourceFolder(context, callback, errors);
} }
} }
{ {
manager->GetPerPassResolverNames(i, resolvers); manager->GetPerPassResolverNames(i, resolvers);
if (resolvers.Count() > 0)
{
if (callback)
{
callback->OnPerPass(i);
}
FOREACH(WString, name, resolvers) FOREACH(WString, name, resolvers)
{ {
auto resolver = manager->GetTypeResolver(name); auto resolver = manager->GetTypeResolver(name);
@@ -43877,6 +43887,7 @@ GuiResource
} }
} }
} }
}
if (errors.Count() == 0) if (errors.Count() == 0)
{ {
AddFolder(L"Precompiled", context.targetFolder); AddFolder(L"Precompiled", context.targetFolder);
+18 -5
View File
@@ -3347,6 +3347,7 @@ Resource Structure
class GuiResourcePathResolver; class GuiResourcePathResolver;
struct GuiResourcePrecompileContext; struct GuiResourcePrecompileContext;
struct GuiResourceInitializeContext; struct GuiResourceInitializeContext;
class IGuiResourcePrecompileCallback;
/// <summary>Resource item.</summary> /// <summary>Resource item.</summary>
class GuiResourceItem : public GuiResourceNodeBase, public Description<GuiResourceItem> class GuiResourceItem : public GuiResourceNodeBase, public Description<GuiResourceItem>
@@ -3413,7 +3414,7 @@ Resource Structure
void CollectTypeNames(collections::List<WString>& typeNames); void CollectTypeNames(collections::List<WString>& typeNames);
void LoadResourceFolderFromBinary(DelayLoadingList& delayLoadings, stream::internal::ContextFreeReader& reader, collections::List<WString>& typeNames, collections::List<WString>& errors); void LoadResourceFolderFromBinary(DelayLoadingList& delayLoadings, stream::internal::ContextFreeReader& reader, collections::List<WString>& typeNames, collections::List<WString>& errors);
void SaveResourceFolderToBinary(stream::internal::ContextFreeWriter& writer, collections::List<WString>& typeNames); void SaveResourceFolderToBinary(stream::internal::ContextFreeWriter& writer, collections::List<WString>& typeNames);
void PrecompileResourceFolder(GuiResourcePrecompileContext& context, collections::List<WString>& errors); void PrecompileResourceFolder(GuiResourcePrecompileContext& context, IGuiResourcePrecompileCallback* callback, collections::List<WString>& errors);
void InitializeResourceFolder(GuiResourceInitializeContext& context); void InitializeResourceFolder(GuiResourceInitializeContext& context);
public: public:
/// <summary>Create a resource folder.</summary> /// <summary>Create a resource folder.</summary>
@@ -3529,7 +3530,7 @@ Resource
/// <summary>Precompile this resource to improve performance.</summary> /// <summary>Precompile this resource to improve performance.</summary>
/// <param name="errors">All collected errors during precompiling a resource.</param> /// <param name="errors">All collected errors during precompiling a resource.</param>
void Precompile(collections::List<WString>& errors); void Precompile(IGuiResourcePrecompileCallback* callback, collections::List<WString>& errors);
/// <summary>Initialize a precompiled resource.</summary> /// <summary>Initialize a precompiled resource.</summary>
/// <param name="usage">In which role an application is initializing this resource.</param> /// <param name="usage">In which role an application is initializing this resource.</param>
@@ -3666,11 +3667,11 @@ Resource Type Resolver
/// <summary> /// <summary>
/// Represents a precompiler for resources of a specified type. /// Represents a precompiler for resources of a specified type.
/// Current resources that needs precompiling: /// Current resources that needs precompiling:
/// <Workflow> /// Workflow:
/// Pass 0: Collect workflow scripts /// Pass 0: Collect workflow scripts
/// Pass 1: Compile ViewModel scripts /// Pass 1: Compile ViewModel scripts
/// Pass 2: Compile Shared scripts /// Pass 2: Compile Shared scripts
/// <Instance> /// Instance:
/// Pass 3: Collect instance types /// Pass 3: Collect instance types
/// Pass 4: Validate instance dependency /// Pass 4: Validate instance dependency
/// Pass 5: Generate TemporaryClass scripts, ClassNameRecord /// Pass 5: Generate TemporaryClass scripts, ClassNameRecord
@@ -3726,6 +3727,13 @@ Resource Type Resolver
virtual void PerPassPrecompile(GuiResourcePrecompileContext& context, collections::List<WString>& errors) = 0; virtual void PerPassPrecompile(GuiResourcePrecompileContext& context, collections::List<WString>& errors) = 0;
}; };
class IGuiResourcePrecompileCallback : public virtual IDescriptable, public Description<IGuiResourcePrecompileCallback>
{
public:
virtual void OnPerPass(vint passIndex) = 0;
virtual void OnPerResource(vint passIndex, Ptr<GuiResourceItem> resource) = 0;
};
/// <summary>Provide a context for resource initializing</summary> /// <summary>Provide a context for resource initializing</summary>
struct GuiResourceInitializeContext : GuiResourcePrecompileContext struct GuiResourceInitializeContext : GuiResourcePrecompileContext
{ {
@@ -5952,7 +5960,7 @@ Predefined Events
***********************************************************************/ ***********************************************************************/
/// <summary>Notify event arguments.</summary> /// <summary>Notify event arguments.</summary>
struct GuiEventArgs : public Object, public Description<GuiEventArgs> struct GuiEventArgs : public Object, public AggregatableDescription<GuiEventArgs>
{ {
/// <summary>The event raiser composition.</summary> /// <summary>The event raiser composition.</summary>
GuiGraphicsComposition* compositionSource; GuiGraphicsComposition* compositionSource;
@@ -5977,6 +5985,11 @@ Predefined Events
,handled(false) ,handled(false)
{ {
} }
~GuiEventArgs()
{
FinalizeAggregation();
}
}; };
/// <summary>Request event arguments.</summary> /// <summary>Request event arguments.</summary>
+207 -15
View File
@@ -2490,13 +2490,16 @@ GuiInstanceContext
parameter->className = GlobalStringKey::Get(attClass->value.value); parameter->className = GlobalStringKey::Get(attClass->value.value);
context->parameters.Add(parameter); context->parameters.Add(parameter);
} }
else
{
errors.Add(L"ref.Parameter requires the following attributes existing at the same time: Name, Class.");
}
} }
else if (element->name.value == L"ref.Property") else if (element->name.value == L"ref.Property")
{ {
auto attName = XmlGetAttribute(element, L"Name"); auto attName = XmlGetAttribute(element, L"Name");
auto attType = XmlGetAttribute(element, L"Type"); auto attType = XmlGetAttribute(element, L"Type");
auto attValue = XmlGetAttribute(element, L"Value"); auto attValue = XmlGetAttribute(element, L"Value");
auto attReadonly = XmlGetAttribute(element, L"Readonly");
if (attName && attType) if (attName && attType)
{ {
auto prop = MakePtr<GuiInstanceProperty>(); auto prop = MakePtr<GuiInstanceProperty>();
@@ -2506,12 +2509,12 @@ GuiInstanceContext
{ {
prop->value = attValue->value.value; prop->value = attValue->value.value;
} }
if (attReadonly)
{
prop->readonly = attReadonly->value.value == L"true";
}
context->properties.Add(prop); context->properties.Add(prop);
} }
else
{
errors.Add(L"ref.Property requires the following attributes existing at the same time: Name, Type.");
}
} }
else if (element->name.value == L"ref.State") else if (element->name.value == L"ref.State")
{ {
@@ -2529,6 +2532,50 @@ GuiInstanceContext
} }
context->states.Add(state); context->states.Add(state);
} }
else
{
errors.Add(L"ref.State requires the following attributes existing at the same time: Name, Type.");
}
}
else if (element->name.value == L"ref.Component")
{
auto attName = XmlGetAttribute(element, L"Name");
auto attType = XmlGetAttribute(element, L"Type");
auto attExpression = XmlGetAttribute(element, L"Expression");
if (attName && attType && attExpression)
{
auto component = MakePtr<GuiInstanceComponent>();
component->name = GlobalStringKey::Get(attName->value.value);
component->typeName = attType->value.value;
if (attExpression)
{
component->expression = attExpression->value.value;
}
context->components.Add(component);
}
else
{
errors.Add(L"ref.Component requires the following attributes existing at the same time: Name, Type, Expression.");
}
}
else if (element->name.value == L"ref.Event")
{
auto attName = XmlGetAttribute(element, L"Name");
auto attClass = XmlGetAttribute(element, L"EventArgsClass");
if (attName)
{
auto ev = MakePtr<GuiInstanceEvent>();
ev->name = GlobalStringKey::Get(attName->value.value);
if (attClass)
{
ev->eventArgsClass = attClass->value.value;
}
context->events.Add(ev);
}
else
{
errors.Add(L"ref.Event requires the following attributes existing at the same time: Name.");
}
} }
else if (!context->instance) else if (!context->instance)
{ {
@@ -2621,11 +2668,6 @@ GuiInstanceContext
attValue->value.value = prop->value; attValue->value.value = prop->value;
xmlProperty->attributes.Add(attType); xmlProperty->attributes.Add(attType);
} }
auto attReadonly = MakePtr<XmlAttribute>();
attReadonly->name.value = L"Readonly";
attReadonly->value.value = prop->readonly ? L"true" : L"false";
xmlProperty->attributes.Add(attReadonly);
} }
FOREACH(Ptr<GuiInstanceState>, state, states) FOREACH(Ptr<GuiInstanceState>, state, states)
@@ -2649,7 +2691,49 @@ GuiInstanceContext
auto attValue = MakePtr<XmlAttribute>(); auto attValue = MakePtr<XmlAttribute>();
attValue->name.value = L"Value"; attValue->name.value = L"Value";
attValue->value.value = state->value; attValue->value.value = state->value;
xmlState->attributes.Add(attType); xmlState->attributes.Add(attValue);
}
}
FOREACH(Ptr<GuiInstanceComponent>, component, components)
{
auto xmlComponent = MakePtr<XmlElement>();
xmlComponent->name.value = L"ref.Component";
xmlInstance->subNodes.Add(xmlComponent);
auto attName = MakePtr<XmlAttribute>();
attName->name.value = L"Name";
attName->value.value = component->name.ToString();
xmlComponent->attributes.Add(attName);
auto attType = MakePtr<XmlAttribute>();
attType->name.value = L"Type";
attType->value.value = component->typeName;
xmlComponent->attributes.Add(attType);
auto attExpression = MakePtr<XmlAttribute>();
attExpression->name.value = L"Value";
attExpression->value.value = component->expression;
xmlComponent->attributes.Add(attExpression);
}
FOREACH(Ptr<GuiInstanceEvent>, ev, events)
{
auto xmlEvent = MakePtr<XmlElement>();
xmlEvent->name.value = L"ref.Event";
xmlInstance->subNodes.Add(xmlEvent);
auto attName = MakePtr<XmlAttribute>();
attName->name.value = L"Name";
attName->value.value = ev->name.ToString();
xmlEvent->attributes.Add(attName);
if (ev->eventArgsClass != L"")
{
auto attClass = MakePtr<XmlAttribute>();
attClass->name.value = L"EventArgsClass";
attClass->value.value = ev->eventArgsClass;
xmlEvent->attributes.Add(attClass);
} }
} }
@@ -6719,6 +6803,22 @@ Workflow_GenerateInstanceClass
return nullptr; return nullptr;
} }
}; };
auto expressionParser = GetParserManager()->GetParser<WfExpression>(L"WORKFLOW-EXPRESSION");
auto parseExpression = [expressionParser, &errors](const WString& code, const WString& name)->Ptr<WfExpression>
{
List<WString> parserErrors;
if (auto type = expressionParser->TypedParse(code, parserErrors))
{
return type;
}
else
{
errors.Add(L"Precompile: Failed to parse " + name + L": " + code);
return nullptr;
}
};
auto addDecl = [=](Ptr<WfDeclaration> decl) auto addDecl = [=](Ptr<WfDeclaration> decl)
{ {
auto member = MakePtr<WfClassMember>(); auto member = MakePtr<WfClassMember>();
@@ -6882,7 +6982,6 @@ Workflow_GenerateInstanceClass
decl->statement = notImplemented(); decl->statement = notImplemented();
} }
} }
if (!prop->readonly)
{ {
auto decl = MakePtr<WfFunctionDeclaration>(); auto decl = MakePtr<WfFunctionDeclaration>();
addDecl(decl); addDecl(decl);
@@ -6972,15 +7071,51 @@ Workflow_GenerateInstanceClass
decl->name.value = prop->name.ToString(); decl->name.value = prop->name.ToString();
decl->type = type; decl->type = type;
decl->getter.value = L"Get" + prop->name.ToString(); decl->getter.value = L"Get" + prop->name.ToString();
if (!prop->readonly)
{
decl->setter.value = L"Set" + prop->name.ToString(); decl->setter.value = L"Set" + prop->name.ToString();
}
decl->valueChangedEvent.value = prop->name.ToString() + L"Changed"; decl->valueChangedEvent.value = prop->name.ToString() + L"Changed";
} }
} }
} }
FOREACH(Ptr<GuiInstanceComponent>, component, context->components)
{
auto type = parseType(component->typeName, L"component \"" + component->name.ToString() + L" of instance \"" + context->className + L"\"");
auto expression = parseExpression(component->expression, L"component \"" + component->name.ToString() + L" of instance \"" + context->className + L"\"");
if (type && expression)
{
{
auto decl = MakePtr<WfFunctionDeclaration>();
addDecl(decl);
decl->anonymity = WfFunctionAnonymity::Named;
decl->name.value = L"Get" + component->name.ToString();
decl->returnType = CopyType(type);
if (!beforePrecompile)
{
auto block = MakePtr<WfBlockStatement>();
decl->statement = block;
auto returnStat = MakePtr<WfReturnStatement>();
returnStat->expression = expression;
block->statements.Add(returnStat);
}
else
{
decl->statement = notImplemented();
}
}
{
auto decl = MakePtr<WfPropertyDeclaration>();
addDecl(decl);
decl->name.value = component->name.ToString();
decl->type = type;
decl->getter.value = L"Get" + component->name.ToString();
}
}
}
auto ctor = MakePtr<WfConstructorDeclaration>(); auto ctor = MakePtr<WfConstructorDeclaration>();
ctor->constructorType = WfConstructorType::RawPtr; ctor->constructorType = WfConstructorType::RawPtr;
auto ctorBlock = (beforePrecompile ? notImplemented() : MakePtr<WfBlockStatement>()); auto ctorBlock = (beforePrecompile ? notImplemented() : MakePtr<WfBlockStatement>());
@@ -7022,6 +7157,63 @@ Workflow_GenerateInstanceClass
} }
} }
FOREACH(Ptr<GuiInstanceEvent>, ev, context->events)
{
if (ev->eventArgsClass == L"")
{
auto decl = MakePtr<WfEventDeclaration>();
addDecl(decl);
decl->name.value = ev->name.ToString();
}
else if (auto type = parseType(ev->eventArgsClass + L"*", L"event \"" + ev->name.ToString() + L" of instance \"" + context->className + L"\""))
{
{
auto decl = MakePtr<WfEventDeclaration>();
addDecl(decl);
decl->name.value = ev->name.ToString();
decl->arguments.Add(GetTypeFromTypeInfo(TypeInfoRetriver<GuiGraphicsComposition*>::CreateTypeInfo().Obj()));
decl->arguments.Add(type);
}
if (beforePrecompile)
{
auto sharedType = MakePtr<WfSharedPointerType>();
sharedType->element = CopyType(type.Cast<WfRawPointerType>()->element);
{
auto newExpr = MakePtr<WfNewClassExpression>();
newExpr->type = sharedType;
auto inferExpr = MakePtr<WfInferExpression>();
inferExpr->type = GetTypeFromTypeInfo(TypeInfoRetriver<Ptr<GuiEventArgs>>::CreateTypeInfo().Obj());
inferExpr->expression = newExpr;
auto stat = MakePtr<WfExpressionStatement>();
stat->expression = inferExpr;
ctorBlock->statements.Add(stat);
}
{
auto nullExpr = MakePtr<WfLiteralExpression>();
nullExpr->value = WfLiteralValue::Null;
auto argument = MakePtr<WfInferExpression>();
argument->type = GetTypeFromTypeInfo(TypeInfoRetriver<GuiGraphicsComposition*>::CreateTypeInfo().Obj());
argument->expression = nullExpr;
auto newExpr = MakePtr<WfNewClassExpression>();
newExpr->type = CopyType(sharedType);
newExpr->arguments.Add(argument);
auto inferExpr = MakePtr<WfInferExpression>();
inferExpr->type = GetTypeFromTypeInfo(TypeInfoRetriver<Ptr<GuiEventArgs>>::CreateTypeInfo().Obj());
inferExpr->expression = newExpr;
auto stat = MakePtr<WfExpressionStatement>();
stat->expression = inferExpr;
ctorBlock->statements.Add(stat);
}
}
}
}
FOREACH(Ptr<GuiInstanceParameter>, param, context->parameters) FOREACH(Ptr<GuiInstanceParameter>, param, context->parameters)
{ {
if (auto type = parseType(param->className.ToString() + L"^", L"parameter \"" + param->name.ToString() + L" of instance \"" + context->className + L"\"")) if (auto type = parseType(param->className.ToString() + L"^", L"parameter \"" + param->name.ToString() + L" of instance \"" + context->className + L"\""))
+30 -7
View File
@@ -290,7 +290,7 @@ Instance Namespace
}; };
// Workflow: <name> // Workflow: <name>
// C++: <instance>->Get<name> // C++: <instance>->Get<name>()
class GuiInstanceParameter : public Object, public Description<GuiInstanceParameter> class GuiInstanceParameter : public Object, public Description<GuiInstanceParameter>
{ {
public: public:
@@ -299,19 +299,18 @@ Instance Namespace
}; };
// Workflow: <instance>.<name> // Workflow: <instance>.<name>
// C++: <instance>->Get<name> // C++: <instance>->Get<name>()
// <instance>->Set<name> // <instance>->Set<name>()
class GuiInstanceProperty : public Object, public Description<GuiInstanceProperty> class GuiInstanceProperty : public Object, public Description<GuiInstanceProperty>
{ {
public: public:
GlobalStringKey name; GlobalStringKey name;
WString typeName; WString typeName;
WString value; WString value;\
bool readonly = false;
}; };
// Workflow: <instance>.<name> // Workflow: <instance>.<name>
// C++: <instance>-><name> // C++: <instance>-><name>()
class GuiInstanceState : public Object, public Description<GuiInstanceState> class GuiInstanceState : public Object, public Description<GuiInstanceState>
{ {
public: public:
@@ -320,6 +319,25 @@ Instance Namespace
WString value; WString value;
}; };
// Workflow: <instance>.<name>
// C++: <instance>->Get<name>()
class GuiInstanceComponent : public Object, public Description<GuiInstanceComponent>
{
public:
GlobalStringKey name;
WString typeName;
WString expression;
};
// Workflow: <instance>.<name>
// C++: <instance>-><name>
class GuiInstanceEvent : public Object, public Description<GuiInstanceComponent>
{
public:
GlobalStringKey name;
WString eventArgsClass;
};
/*********************************************************************** /***********************************************************************
Instance Context Instance Context
***********************************************************************/ ***********************************************************************/
@@ -340,6 +358,8 @@ Instance Context
typedef collections::List<Ptr<GuiInstanceParameter>> ParameterList; typedef collections::List<Ptr<GuiInstanceParameter>> ParameterList;
typedef collections::List<Ptr<GuiInstanceProperty>> PropertyList; typedef collections::List<Ptr<GuiInstanceProperty>> PropertyList;
typedef collections::List<Ptr<GuiInstanceState>> StateList; typedef collections::List<Ptr<GuiInstanceState>> StateList;
typedef collections::List<Ptr<GuiInstanceComponent>> ComponentList;
typedef collections::List<Ptr<GuiInstanceEvent>> EventList;
typedef collections::List<Ptr<GuiInstanceStyleContext>> StyleContextList; typedef collections::List<Ptr<GuiInstanceStyleContext>> StyleContextList;
class ElementName : public Object class ElementName : public Object
@@ -362,10 +382,13 @@ Instance Context
NamespaceMap namespaces; NamespaceMap namespaces;
bool codeBehind = true; bool codeBehind = true;
WString className; WString className;
collections::List<WString> stylePaths;
ParameterList parameters; ParameterList parameters;
PropertyList properties; PropertyList properties;
StateList states; StateList states;
collections::List<WString> stylePaths; ComponentList components;
EventList events;
bool appliedStyles = false; bool appliedStyles = false;
StyleContextList styles; StyleContextList styles;
BIN
View File
Binary file not shown.
File diff suppressed because it is too large Load Diff
@@ -1571,6 +1571,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
BottomScrollButtonTemplate(); BottomScrollButtonTemplate();
@@ -1588,6 +1590,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ButtonTemplate(); ButtonTemplate();
@@ -1605,6 +1609,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
CheckBoxTemplate(); CheckBoxTemplate();
@@ -1622,6 +1628,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
CheckItemBackgroundTemplate(); CheckItemBackgroundTemplate();
@@ -1639,6 +1647,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
CheckTextListTemplate(); CheckTextListTemplate();
@@ -1656,6 +1666,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ComboBoxTemplate(); ComboBoxTemplate();
@@ -1673,6 +1685,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
DatePickerTemplate(); DatePickerTemplate();
@@ -1690,6 +1704,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
DocumentLabelTemplate(); DocumentLabelTemplate();
@@ -1707,6 +1723,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
DocumentViewerTemplate(); DocumentViewerTemplate();
@@ -1724,6 +1742,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ExpandingDecoratorTemplate(); ExpandingDecoratorTemplate();
@@ -1741,6 +1761,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
GroupBoxTemplate(); GroupBoxTemplate();
@@ -1758,6 +1780,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
HScrollHandleTemplate(); HScrollHandleTemplate();
@@ -1775,6 +1799,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
HScrollTemplate(); HScrollTemplate();
@@ -1792,6 +1818,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
HTrackerTemplate(); HTrackerTemplate();
@@ -1809,6 +1837,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ItemBackgroundTemplate(); ItemBackgroundTemplate();
@@ -1826,6 +1856,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
LabelTemplate(); LabelTemplate();
@@ -1843,6 +1875,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
LeftScrollButtonTemplate(); LeftScrollButtonTemplate();
@@ -1860,6 +1894,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ListViewColumnHeaderTemplate(); ListViewColumnHeaderTemplate();
@@ -1877,6 +1913,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ListViewTemplate(); ListViewTemplate();
@@ -1894,6 +1932,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MenuBarButtonTemplate(); MenuBarButtonTemplate();
@@ -1911,6 +1951,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MenuItemButtonTemplate(); MenuItemButtonTemplate();
@@ -1928,6 +1970,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MenuSplitterTemplate(); MenuSplitterTemplate();
@@ -1945,6 +1989,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MultilineTextBoxTemplate(); MultilineTextBoxTemplate();
@@ -1962,6 +2008,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ProgressBarTemplate(); ProgressBarTemplate();
@@ -1979,6 +2027,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
RadioButtonTemplate(); RadioButtonTemplate();
@@ -1996,6 +2046,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
RadioTextListTemplate(); RadioTextListTemplate();
@@ -2013,6 +2065,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
RightScrollButtonTemplate(); RightScrollButtonTemplate();
@@ -2030,6 +2084,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ScrollViewTemplate(); ScrollViewTemplate();
@@ -2047,6 +2103,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
SinglelineTextBoxTemplate(); SinglelineTextBoxTemplate();
@@ -2064,6 +2122,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
TabDropdownTemplate(); TabDropdownTemplate();
@@ -2081,6 +2141,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
TabHeaderTemplate(); TabHeaderTemplate();
@@ -2098,6 +2160,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
TabTemplate(); TabTemplate();
@@ -2115,6 +2179,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
TextListTemplate(); TextListTemplate();
@@ -2132,6 +2198,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ToolstripButtonTemplate(); ToolstripButtonTemplate();
@@ -2149,6 +2217,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ToolstripDropdownButtonTemplate(); ToolstripDropdownButtonTemplate();
@@ -2166,6 +2236,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ToolstripMenuTemplate(); ToolstripMenuTemplate();
@@ -2183,6 +2255,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ToolstripSplitArrowTemplate(); ToolstripSplitArrowTemplate();
@@ -2200,6 +2274,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ToolstripSplitButtonTemplate(); ToolstripSplitButtonTemplate();
@@ -2217,6 +2293,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ToolstripSplitterTemplate(); ToolstripSplitterTemplate();
@@ -2234,6 +2312,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
ToolstripTemplate(); ToolstripTemplate();
@@ -2251,6 +2331,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
TooltipTemplate(); TooltipTemplate();
@@ -2268,6 +2350,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
TopScrollButtonTemplate(); TopScrollButtonTemplate();
@@ -2285,6 +2369,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
TreeViewTemplate(); TreeViewTemplate();
@@ -2302,6 +2388,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
VScrollHandleTemplate(); VScrollHandleTemplate();
@@ -2319,6 +2407,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
VScrollTemplate(); VScrollTemplate();
@@ -2336,6 +2426,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
VTrackerTemplate(); VTrackerTemplate();
@@ -2353,6 +2445,8 @@ namespace darkskin
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
WindowTemplate(); WindowTemplate();
@@ -2370,6 +2464,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
Binary file not shown.
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -65,6 +65,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -18,15 +18,25 @@ namespace demo
ShellExecute(NULL, L"OPEN", documentLabel->GetActiveHyperlinkReference().Buffer(), NULL, NULL, SW_MAXIMIZE); ShellExecute(NULL, L"OPEN", documentLabel->GetActiveHyperlinkReference().Buffer(), NULL, NULL, SW_MAXIMIZE);
} }
void AboutWindow::OnCreate()
{
}
void AboutWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
AboutWindow::AboutWindow() AboutWindow::AboutWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
AboutWindow::~AboutWindow() AboutWindow::~AboutWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -21,6 +21,8 @@ namespace demo
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments); void documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
AboutWindow(); AboutWindow();
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void FindWindow::OnCreate()
{
}
void FindWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
FindWindow::FindWindow(Ptr<vm::IFindWindowViewModel> ViewModel) FindWindow::FindWindow(Ptr<vm::IFindWindowViewModel> ViewModel)
{ {
InitializeComponents(ViewModel); InitializeComponents(ViewModel);
OnCreate();
} }
FindWindow::~FindWindow() FindWindow::~FindWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -238,6 +238,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
FindWindow(Ptr<vm::IFindWindowViewModel> ViewModel); FindWindow(Ptr<vm::IFindWindowViewModel> ViewModel);
@@ -188,6 +188,17 @@ namespace demo
arguments.cancel = !CanCloseFile(); arguments.cancel = !CanCloseFile();
} }
void MainWindow::OnCreate()
{
findWindow = MakePtr<FindWindow>(MakePtr<FindWindowViewModel>(textBox));
findWindow->MoveToScreenCenter();
findWindow->GetNativeWindow()->SetParent(GetNativeWindow());
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
bool MainWindow::CanCloseFile() bool MainWindow::CanCloseFile()
@@ -312,13 +323,12 @@ namespace demo
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
findWindow = MakePtr<FindWindow>(MakePtr<FindWindowViewModel>(textBox)); OnCreate();
findWindow->MoveToScreenCenter();
findWindow->GetNativeWindow()->SetParent(GetNativeWindow());
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
@@ -38,6 +38,8 @@ namespace demo
void commandFileSaveAs_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments); void commandFileSaveAs_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
void commandFileSave_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments); void commandFileSave_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
void window_Closing(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiRequestEventArgs& arguments); void window_Closing(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiRequestEventArgs& arguments);
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
private: private:
Binary file not shown.
@@ -14,15 +14,25 @@ namespace helloworld
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -62,6 +62,8 @@ namespace helloworld
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -81,6 +81,7 @@ namespace helloworld
,textBoxPassword(0) ,textBoxPassword(0)
,textBoxUserName(0) ,textBoxUserName(0)
{ {
this->HasLoggedIn_ = vl::reflection::description::UnboxValue<bool>(vl::reflection::description::Value::From(L"false", reflection::description::GetTypeDescriptor<bool>()));
} }
Ptr<vm::IViewModel> GetViewModel() Ptr<vm::IViewModel> GetViewModel()
@@ -21,15 +21,25 @@ namespace helloworld
} }
} }
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow(Ptr<vm::IViewModel> ViewModel) MainWindow::MainWindow(Ptr<vm::IViewModel> ViewModel)
{ {
InitializeComponents(ViewModel); InitializeComponents(ViewModel);
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -21,6 +21,8 @@ namespace helloworld
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void buttonSignUp_Clicked(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments); void buttonSignUp_Clicked(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(Ptr<vm::IViewModel> ViewModel); MainWindow(Ptr<vm::IViewModel> ViewModel);
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -62,6 +62,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -77,6 +77,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow(Ptr<demo::IViewModel> ViewModel) MainWindow::MainWindow(Ptr<demo::IViewModel> ViewModel)
{ {
InitializeComponents(ViewModel); InitializeComponents(ViewModel);
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -81,6 +81,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(Ptr<demo::IViewModel> ViewModel); MainWindow(Ptr<demo::IViewModel> ViewModel);
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -68,6 +68,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -62,6 +62,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -71,6 +71,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -62,6 +62,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -65,6 +65,8 @@ namespace demo
protected: protected:
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -18,15 +18,25 @@ namespace demo
{ {
} }
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow() MainWindow::MainWindow()
{ {
InitializeComponents(); InitializeComponents();
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }
@@ -66,6 +66,8 @@ namespace demo
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments); void documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
void OnCreate();
void OnDestroy();
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
public: public:
MainWindow(); MainWindow();
@@ -14,15 +14,25 @@ namespace demo
{ {
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
void MainWindow::OnCreate()
{
}
void MainWindow::OnDestroy()
{
}
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER // #endregion CLASS_MEMBER_GUIEVENT_HANDLER
MainWindow::MainWindow(Ptr<demo::IViewModel> ViewModel) MainWindow::MainWindow(Ptr<demo::IViewModel> ViewModel)
{ {
InitializeComponents(ViewModel); InitializeComponents(ViewModel);
OnCreate();
} }
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
OnDestroy();
ClearSubscriptions(); ClearSubscriptions();
} }
} }

Some files were not shown because too many files have changed in this diff Show More