2,743
edits
Line 57:
==3 MainEntry to start a subProject==
Calling the SubProjectStartup is to load the plug-in and also to activate the license.
In 2.1, there are 3 classes
You may find the document at [[Initiate UserSession and DBSetting]].
===MainEntry in AutoCount.Accounting.dll===
'''MainEntry.Startup'''<br/>
This MainEntry is
<syntaxhighlight lang="csharp">
AutoCount.MainEntry.Startup startup = new AutoCount.MainEntry.Startup();
Line 75 ⟶ 76:
===MainEntry in AutoCount.Accounting.UI.dll===
'''MainEntry.MainStartup'''<br/>
This
If user clicked [Cancel], the object of UserSession is null.
<syntaxhighlight lang="csharp">
Line 91 ⟶ 92:
===MainEntry in AutoCount.MainEntry.dll===
'''MainEntry.UIStartup'''<br/>
This MainEntry
<syntaxhighlight lang="csharp">
AutoCount.MainEntry.UIStartup startup = new AutoCount.MainEntry.UIStartup();
|