ACPAddIn.ExtendSuggestionHint.updateHotkeyPanel C# (CSharp) Метод

updateHotkeyPanel() приватный Метод

private updateHotkeyPanel ( ) : void
Результат void
        private void updateHotkeyPanel()
        {
            IniData config = Globals.ThisAddIn.Configuration;

            String extendWordKey = config["hotkeys"]["extendWord"];
            setHotkeyPanelWithKeys(extendWordKeyPanel, extendWordKey);
            extendWordKeyPanel.Location = new Point((extendWordPanel.Width - extendWordKeyPanel.Width) / 2, 18);

            String reduceWordKey = config["hotkeys"]["reduceWord"];
            setHotkeyPanelWithKeys(reduceWordKeyPanel, reduceWordKey);
            reduceWordKeyPanel.Location = new Point((reduceWordPanel.Width - reduceWordKeyPanel.Width) / 2, 18);

            String extendSentenceKey = config["hotkeys"]["extendSentence"];
            setHotkeyPanelWithKeys(extendSentenceKeyPanel, extendSentenceKey);
            extendSentenceKeyPanel.Location = new Point((extendSentencePanel.Width - extendSentenceKeyPanel.Width) / 2, 18);

            String reduceSentenceKey = config["hotkeys"]["reduceSentence"];
            setHotkeyPanelWithKeys(reduceSentenceKeyPanel, reduceSentenceKey);
            reduceSentenceKeyPanel.Location = new Point((reduceSentencePanel.Width - reduceSentenceKeyPanel.Width) / 2, 18);

            String extendParagraphKey = config["hotkeys"]["extendParagraph"];
            setHotkeyPanelWithKeys(extendParagraphKeyPanel, extendParagraphKey);
            extendParagraphKeyPanel.Location = new Point((extendParagraphPanel.Width - extendParagraphKeyPanel.Width) / 2, 18);

            String reduceParagraphKey = config["hotkeys"]["reduceParagraph"];
            setHotkeyPanelWithKeys(reduceParagraphKeyPanel, reduceParagraphKey);
            reduceParagraphKeyPanel.Location = new Point((reduceParagraphPanel.Width - reduceParagraphKeyPanel.Width) / 2, 18);
        }