private void createHotkeyPanel()
{
IniData config = Globals.ThisAddIn.Configuration;
String extendWordKey = config["hotkeys"]["extendWord"];
extendWordKeyPanel = new Panel();
setHotkeyPanelWithKeys(extendWordKeyPanel, extendWordKey);
extendWordKeyPanel.Location = new Point( (extendWordPanel.Width-extendWordKeyPanel.Width)/2 , 18);
extendWordPanel.Controls.Add(extendWordKeyPanel);
String reduceWordKey = config["hotkeys"]["reduceWord"];
reduceWordKeyPanel = new Panel();
setHotkeyPanelWithKeys(reduceWordKeyPanel, reduceWordKey);
reduceWordKeyPanel.Location = new Point((reduceWordPanel.Width - reduceWordKeyPanel.Width) / 2, 18);
reduceWordPanel.Controls.Add(reduceWordKeyPanel);
String extendSentenceKey = config["hotkeys"]["extendSentence"];
extendSentenceKeyPanel = new Panel();
setHotkeyPanelWithKeys(extendSentenceKeyPanel, extendSentenceKey);
extendSentenceKeyPanel.Location = new Point((extendSentencePanel.Width - extendSentenceKeyPanel.Width) / 2, 18);
extendSentencePanel.Controls.Add(extendSentenceKeyPanel);
String reduceSentenceKey = config["hotkeys"]["reduceSentence"];
reduceSentenceKeyPanel = new Panel();
setHotkeyPanelWithKeys(reduceSentenceKeyPanel, reduceSentenceKey);
reduceSentenceKeyPanel.Location = new Point((reduceSentencePanel.Width - reduceSentenceKeyPanel.Width) / 2, 18);
reduceSentencePanel.Controls.Add(reduceSentenceKeyPanel);
String extendParagraphKey = config["hotkeys"]["extendParagraph"];
extendParagraphKeyPanel = new Panel();
setHotkeyPanelWithKeys(extendParagraphKeyPanel, extendParagraphKey);
extendParagraphKeyPanel.Location = new Point((extendParagraphPanel.Width - extendParagraphKeyPanel.Width) / 2, 18);
extendParagraphPanel.Controls.Add(extendParagraphKeyPanel);
String reduceParagraphKey = config["hotkeys"]["reduceParagraph"];
reduceParagraphKeyPanel = new Panel();
setHotkeyPanelWithKeys(reduceParagraphKeyPanel, reduceParagraphKey);
reduceParagraphKeyPanel.Location = new Point((reduceParagraphPanel.Width - reduceParagraphKeyPanel.Width) / 2, 18);
reduceParagraphPanel.Controls.Add(reduceParagraphKeyPanel);
}