Lots of work on Getting the QueueData instance to be separate form the UI queue and refs.

This commit is contained in:
larsbrubaker 2014-04-15 18:13:27 -07:00
parent 49c8a045a5
commit 4b6a3cfa97
40 changed files with 586 additions and 1534 deletions

View file

@ -19,9 +19,12 @@ namespace MatterHackers.MatterControl
{
public class ActionBarPlus : FlowLayoutWidget
{
public ActionBarPlus()
QueueDataView queueDataView;
public ActionBarPlus(QueueDataView queueDataView)
: base(FlowDirection.TopToBottom)
{
{
this.queueDataView = queueDataView;
this.Create();
}
@ -42,7 +45,7 @@ namespace MatterHackers.MatterControl
// Add Child Elements
this.AddChild(new ActionBar.PrinterActionRow());
this.AddChild(new PrintStatusRow());
this.AddChild(new PrintStatusRow(queueDataView));
// Add Handlers
ActiveTheme.Instance.ThemeChanged.RegisterEvent(onThemeChanged, ref unregisterEvents);