public NewShareWelcomePage(WizardDialog wizardDialog, IPlugIn plugin, IPlugInContainer container)
        {
            InitializeComponent();

            this.plugin = plugin as FileShareManagerIPlugIn;
            this.container = container;
            this.parentDlg = wizardDialog as NewShareWizardDlg;
        }
Exemplo n.º 2
0
        public NewShareWelcomePage(WizardDialog wizardDialog, IPlugIn plugin, IPlugInContainer container)
        {
            InitializeComponent();

            this.plugin    = plugin as FileShareManagerIPlugIn;
            this.container = container;
            this.parentDlg = wizardDialog as NewShareWizardDlg;
        }
        public SharePropertiesDlg(IPlugInContainer container, StandardPage parentPage, FileShareManagerIPlugIn plugin, Hostinfo hn)
            : base(container, parentPage)
        {
            InitializeComponent();

            this.Text = "{0} Properties";
            this._hn = hn;
            _plugin = plugin;
            _container = container;
            InitializePages();
        }
Exemplo n.º 4
0
        public SharePropertiesDlg(IPlugInContainer container, StandardPage parentPage, FileShareManagerIPlugIn plugin, Hostinfo hn)
            : base(container, parentPage)
        {
            InitializeComponent();

            this.Text  = "{0} Properties";
            this._hn   = hn;
            _plugin    = plugin;
            _container = container;
            InitializePages();
        }
Exemplo n.º 5
0
    public override void SetPlugInInfo(IPlugInContainer container, IPlugIn pi, LACTreeNode treeNode, LWTreeView lmctreeview, CServerControl sc)
    {
        Hostinfo hn = ctx as Hostinfo;

        base.SetPlugInInfo(container, pi, treeNode, lmctreeview, sc);
        bEnableActionMenu = false;
        plugin = pi as FileShareManagerIPlugIn;
        hn = plugin.HostInfo;

        Refresh();
    }
Exemplo n.º 6
0
        public override void SetPlugInInfo(IPlugInContainer container, IPlugIn pi, LACTreeNode treeNode, LWTreeView lmctreeview, CServerControl sc)
        {
            Hostinfo hn = ctx as Hostinfo;

            base.SetPlugInInfo(container, pi, treeNode, lmctreeview, sc);
            bEnableActionMenu = false;
            plugin            = pi as FileShareManagerIPlugIn;
            hn = plugin.HostInfo;

            Refresh();
        }
Exemplo n.º 7
0
    public SharesPage(FileShareManagerIPlugIn.PluginNodeType nodetype)
    {
        InitializeComponent();

        // Create an instance of a ListView column sorter and assign it
        // to the ListView control.
        lvwColumnSorter = new ListViewColumnSorter();
        this.lvSharePage.ListViewItemSorter = lvwColumnSorter;

        Icon ic = new Icon(Resources.SharedFolder, 48, 48);
        this.picture.Image = ic.ToBitmap();
        this.nodeType = nodetype;
    }
    /// <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));
    }
Exemplo n.º 9
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));
        }