Example #1
0
		bool CanShowInstruction()
		{
            var instructionViewModel = new InstructionViewModel(Alarm.Device, Alarm.Zone, Alarm.Direction, Alarm.AlarmType);
			return instructionViewModel.HasContent;
		}
Example #2
0
		void OnShowInstruction()
		{
			var instructionViewModel = new InstructionViewModel(Alarm.Device, Alarm.Zone, Alarm.Direction, Alarm.AlarmType);
			DialogService.ShowModalWindow(instructionViewModel);
		}