コード例 #1
0
        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();
        }
コード例 #2
0
 public Logger(VCObject Parent)
 {
     this.parent = Parent;
 }
コード例 #3
0
 public VCProcess(Production production)
 {
     sender = production;
 }
コード例 #4
0
 public VCProcess(Job job)
 {
     sender = job;
 }