Fixed #409 by adding a default constructor to CommandBarControl.

This commit is contained in:
Lex Li 2016-03-03 22:00:39 +08:00
parent 2654f5c049
commit 95fee6e007
1 changed files with 5 additions and 0 deletions

View File

@ -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