public void InitialiseHotKeyManager(IGlobalHotKeyManager manager) { HKM = manager; log.Debug("Initialising MSSQLPlugin."); TemplateFolder = TemplateLoader.GetDefaultTemplateFolder(Assembly.GetExecutingAssembly()); AutoTemplates = new List <TextTemplate>(); LoadAutoTemplates(); LoadCustomTemplates(); HKM.Register(Modifiers.Ctrl | Modifiers.Shift, Keys.P, ShowMainForm); }