public PCemeconStandarProcessVM(PCoatingCemeconProcess process)
        {
            ProcessManager.Instance.update();
            m_process   = process;
            m_update    = true;
            SaveProcess = new RelayCommand(Save, CanSave);

            m_adherentLayer   = m_process.AdherentLayer.GetValueOrDefault().Structure;
            m_protectiveLayer = m_process.ProtectiveLayer.GetValueOrDefault().Structure;
        }
 public CoatingStandardProcessWindow(PCoatingCemeconProcess process)
 {
     InitializeComponent();
     DataContext = new ViewModels.PCemeconStandarProcessVM(process);
 }
 public PCemeconStandarProcessVM()
 {
     ProcessManager.Instance.update();
     m_process   = new PCoatingCemeconProcess();
     SaveProcess = new RelayCommand(Save, CanSave);
 }