Exemple #1
0
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser)
        {
            this.pluginServer = pluginServer;

            if (!pluginServer.TryGetLocalizedStrings(this, 1, out this.ResStr))
            {
                this.ResStr = new string[] { StringResources.ButtonNames[8] };
            }
        }
Exemple #2
0
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser) {
            this.pluginServer = pluginServer;
            this.shellBrowser = shellBrowser;

            if(!pluginServer.TryGetLocalizedStrings(this, 1, out ResStr)) {
                ResStr = new string[] { StringResources.ButtonNames[0] };
            }

            this.pluginServer.SelectionChanged += pluginServer_SelectionChanged;
            this.pluginServer.NavigationComplete += pluginServer_NavigationComplete;
        }
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser) {
            this.pluginServer = pluginServer;
            this.shellBrowser = shellBrowser;

            if(!pluginServer.TryGetLocalizedStrings(this, 3, out ResStrs)) {
                if(CultureInfo.CurrentCulture.Parent.Name == "ja")
                    ResStrs = Resource.strQTFolderButton_ja.Split(new char[] { ';' });
                else
                    ResStrs = Resource.strQTFolderButton.Split(new char[] { ';' });
            }
        }
Exemple #4
0
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser)
        {
            this.pluginServer = pluginServer;

            if (!pluginServer.TryGetLocalizedStrings(this, 1, out this.ResStr))
            {
                this.ResStr = new string[] { StringResources.ButtonNames[7] };
            }

            this.pluginServer.SelectionChanged   += new PluginEventHandler(pluginServer_SelectionChanged);
            this.pluginServer.NavigationComplete += new PluginEventHandler(pluginServer_NavigationComplete);
        }
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser) {
            this.pluginServer = pluginServer;

            if(!pluginServer.TryGetLocalizedStrings(this, RES_COUNT, out this.ResStrs)) {
                if(System.Globalization.CultureInfo.CurrentCulture.Parent.Name == "ja")
                    this.ResStrs = Resource.ResStrs_ja.Split(new char[] { ';' });
                else
                    this.ResStrs = Resource.ResStrs.Split(new char[] { ';' });
            }

            this.RestoreInitialSize();
        }
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser)
        {
            this.pluginServer = pluginServer;
            this.shellBrowser = shellBrowser;

            if (!pluginServer.TryGetLocalizedStrings(this, 1, out ResStr))
            {
                ResStr = new string[] { StringResources.ButtonNames[0] };
            }

            this.pluginServer.SelectionChanged   += pluginServer_SelectionChanged;
            this.pluginServer.NavigationComplete += pluginServer_NavigationComplete;
        }
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser)
        {
            this.pluginServer = pluginServer;
            this.shellBrowser = shellBrowser;

            if (!pluginServer.TryGetLocalizedStrings(this, 3, out ResStrs))
            {
                if (CultureInfo.CurrentCulture.Parent.Name == "ja")
                {
                    ResStrs = Resource.strQTFolderButton_ja.Split(new char[] { ';' });
                }
                else
                {
                    ResStrs = Resource.strQTFolderButton.Split(new char[] { ';' });
                }
            }
        }
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser)
        {
            this.pluginServer = pluginServer;

            if (!pluginServer.TryGetLocalizedStrings(this, RES_COUNT, out ResStrs))
            {
                if (CultureInfo.CurrentCulture.Parent.Name == "ja")
                {
                    ResStrs = Resource.ResStrs_ja.Split(new char[] { ';' });
                }
                else
                {
                    ResStrs = Resource.ResStrs.Split(new char[] { ';' });
                }
            }

            RestoreInitialSize();
        }
Exemple #9
0
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser) {
            this.pluginServer = pluginServer;

            if(!pluginServer.TryGetLocalizedStrings(this, 1, out ResStr)) {
                ResStr = new string[] { StringResources.ButtonNames[8] };
            }
        }
Exemple #10
0
        public void Open(IPluginServer pluginServer, IShellBrowser shellBrowser) {
            this.pluginServer = pluginServer;

            if(!pluginServer.TryGetLocalizedStrings(this, 1, out this.ResStr)) {
                this.ResStr = new string[] { StringResources.ButtonNames[7] };
            }

            this.pluginServer.SelectionChanged += new PluginEventHandler(pluginServer_SelectionChanged);
            this.pluginServer.NavigationComplete += new PluginEventHandler(pluginServer_NavigationComplete);
        }