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();
        }
Ejemplo n.º 2
0
 public Logger(VCObject Parent)
 {
     this.parent = Parent;
 }
Ejemplo n.º 3
0
 public VCProcess(Production production)
 {
     sender = production;
 }
Ejemplo n.º 4
0
 public VCProcess(Job job)
 {
     sender = job;
 }