private void PostInitGUI() { this.DDInputMethod.Items.Clear(); var inputMethods = MdMetaUtil.GetListOfInputMethods(); this.Icon = MdSessionData.WindowIcon; for (var i = 0; i < inputMethods.Count; i++) { var item = Path.GetFileNameWithoutExtension(inputMethods[i]); this.DDInputMethod.Items.Add(item); if (item + MdConstant.E_INPUT_METHOD == MdConfig.Main.CurrentInputMethod) { this.DDInputMethod.SelectedIndex = i; } } MdSessionData.KeyMenu = new FmKeyMenu(); }