예제 #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] };
            }
        }
예제 #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;
        }
예제 #3
0
        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[] { ';' });
            }
        }
예제 #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);
        }
예제 #5
0
        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();
        }
예제 #6
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;
        }
예제 #7
0
        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[] { ';' });
                }
            }
        }
예제 #8
0
        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();
        }
예제 #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] };
            }
        }
예제 #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);
        }