Пример #1
0
        public WindowDosingSettings(OpcServer.OpcList opcName, DosingSettingsViewModel dosingSettingsViewModel)
        {
            InitializeComponent();

            ElDosingSettings.Initialize(opcName, dosingSettingsViewModel);

            DataContext = dosingSettingsViewModel;

            KeyDown += OnKeyDown;
            Closed  += Window_OnClosed;
        }
Пример #2
0
 public void Initialize(OpcServer.OpcList opcName, DosingSettingsViewModel dosingSettingsViewModel)
 {
     DataContext = dosingSettingsViewModel;
 }