Esempio n. 1
0
        public WindowDosingSettings(OpcServer.OpcList opcName, DosingSettingsViewModel dosingSettingsViewModel)
        {
            InitializeComponent();

            ElDosingSettings.Initialize(opcName, dosingSettingsViewModel);

            DataContext = dosingSettingsViewModel;

            KeyDown += OnKeyDown;
            Closed  += Window_OnClosed;
        }
Esempio n. 2
0
 public void Initialize(OpcServer.OpcList opcName, DosingSettingsViewModel dosingSettingsViewModel)
 {
     DataContext = dosingSettingsViewModel;
 }