How to get the Alarm details whenever the user clicks on an item in the Alarm List from Smart Client?

I want to develop a plugin to display an image whenever the user clicks on an item in the Alarm List. Planning to use AnalyticsObject to store an image and send it to smart client as an alarm.

I have seen the AlarmPreview sample project, but it uses WPF User Control to display the Alarm details. As I do not want to modify the UI of the Alarm Preview, how should I retrieve the alarm details without using WPF User Control?

The most appropriate way would be to do as AlarmPreview sample (if you don’t want to use WPF you can use WindowsFormsHost inside the WPF UserControl and then embed a WinForms control in there).

Alternatively you can listen for the AlarmList.ObjectSelected message as is done in the DynamicView sample: https://doc.developer.milestonesys.com/html/index.html?base=samples/dynamicview_sample.html&tree=tree_1.html