From 95fee6e007464ff9ba360ad5f14047a4415bc9e4 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Thu, 3 Mar 2016 22:00:39 +0800 Subject: [PATCH] Fixed #409 by adding a default constructor to CommandBarControl. --- .../OpenLiveWriter.ApplicationFramework/CommandBarControl.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/managed/OpenLiveWriter.ApplicationFramework/CommandBarControl.cs b/src/managed/OpenLiveWriter.ApplicationFramework/CommandBarControl.cs index 0dec9c6a..cad02a9e 100644 --- a/src/managed/OpenLiveWriter.ApplicationFramework/CommandBarControl.cs +++ b/src/managed/OpenLiveWriter.ApplicationFramework/CommandBarControl.cs @@ -22,6 +22,11 @@ namespace OpenLiveWriter.ApplicationFramework protected CommandBarLightweightControl _commandBar; + public CommandBarControl() + { + InitializeComponent(); + } + public CommandBarControl(CommandBarLightweightControl commandBar, CommandBarDefinition commandBarDefinition) { // It's important that the commandBarDefinition not be set