/// <summary>
    /// Overriden constructor gets all class schema attributes from AD Schema template
    /// </summary>
    /// <param name="container"></param>
    /// <param name="parentPage"></param>
    /// <param name="text"></param>
    /// <param name="schemaCache"></param>
    public NewShareWizardDlg(IPlugInContainer container, StandardPage parentPage, IPlugIn plugin)
        : this()
    {
        this.plugin = plugin as FileShareManagerIPlugIn;
        this.shareInfo = new ShareInfo();
        shareInfo.hostName = this.plugin.HostInfo.hostName;
        sharedFolderList = new List<ShareInfo>();

        this.AddPage(new NewShareWelcomePage(this, plugin, container));
        this.AddPage(new NewShareFolderSetUpPage(this, plugin, container));
        this.AddPage(new NewSharePermissionsPage(this, plugin, container));
        this.AddPage(new NewShareFinishPage(this, plugin, container));
    }
示例#2
0
        /// <summary>
        /// Overriden constructor gets all class schema attributes from AD Schema template
        /// </summary>
        /// <param name="container"></param>
        /// <param name="parentPage"></param>
        /// <param name="text"></param>
        /// <param name="schemaCache"></param>
        public NewShareWizardDlg(IPlugInContainer container, StandardPage parentPage, IPlugIn plugin)
            : this()
        {
            this.plugin        = plugin as FileShareManagerIPlugIn;
            this.shareInfo     = new ShareInfo();
            shareInfo.hostName = this.plugin.HostInfo.hostName;
            sharedFolderList   = new List <ShareInfo>();

            this.AddPage(new NewShareWelcomePage(this, plugin, container));
            this.AddPage(new NewShareFolderSetUpPage(this, plugin, container));
            this.AddPage(new NewSharePermissionsPage(this, plugin, container));
            this.AddPage(new NewShareFinishPage(this, plugin, container));
        }