public Initialize ( System.Boolean firstRun ) : void | ||
firstRun | System.Boolean | Whether it is the first time that CmisSync is being run. |
리턴 | void |
public virtual void Initialize(Boolean firstRun)
{
this.firstRun = firstRun;
FoldersPath = ConfigManager.CurrentConfig.FoldersPath;
// Create the CmisSync folder and add it to the bookmarks
bool syncFolderCreated = CreateCmisSyncFolder();
if (syncFolderCreated)
{
AddToBookmarks();
}
if (firstRun)
{
ConfigManager.CurrentConfig.Notifications = true;
}
folderLock = new FolderLock(FoldersPath);
}