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