private void ShowLog(VCObject selectedObject) { LogView logView = (GlobalValues.LogWindow.Content as Grid).FindChildByType <LogView>(); if (selectedObject is Job) { GlobalValues.LogWindow.Header = "Job " + selectedObject.ID; logView.DataContext = selectedObject as Job; } else { GlobalValues.LogWindow.Header = "Production " + selectedObject.ID; logView.DataContext = selectedObject as Production; } GlobalValues.LogWindow.Show(); }
public Logger(VCObject Parent) { this.parent = Parent; }
public VCProcess(Production production) { sender = production; }
public VCProcess(Job job) { sender = job; }