public MonitorShellViewModel() { Title = "Оперативная задача ОПС FireSec-2"; Toolbar = new ToolbarViewModel(); ContentFotter = new UserFotterViewModel(); Height = 700; Width = 1100; MinWidth = 800; MinHeight = 550; }
public MonitorShellViewModel(string name) : base(name) { Title = "Оперативная задача ОПС FireSec"; Toolbar = new ToolbarViewModel(); Height = 700; Width = 1100; MinWidth = 980; MinHeight = 550; UptateOnChangeViewPermission(); ServiceFactory.Events.GetEvent<UserChangedEvent>().Subscribe((x) => { UptateOnChangeViewPermission(); }); }
internal void SetToolbarViewModel(ToolbarViewModel toolbarViewModel) { _toolbarViewModel = toolbarViewModel; }