コード例 #1
0
 public MonitorShellViewModel()
 {
     Title = "Оперативная задача ОПС FireSec-2";
     Toolbar = new ToolbarViewModel();
     ContentFotter = new UserFotterViewModel();
     Height = 700;
     Width = 1100;
     MinWidth = 800;
     MinHeight = 550;
 }
コード例 #2
0
		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(); });
		}
コード例 #3
0
ファイル: LayoutService.cs プロジェクト: hjlfmy/Rubezh
 internal void SetToolbarViewModel(ToolbarViewModel toolbarViewModel)
 {
     _toolbarViewModel = toolbarViewModel;
 }