|
using System;
using System.Windows;
namespace TestableXrayDemo.Views
{
/// <summary>
/// Displays the image associated with an Xray in a modal dialog.
/// </summary>
public partial class XrayImageViewer : Window, IXrayImageViewer
{
public XrayImageViewer()
{
InitializeComponent();
}
#region IXrayImageViewer Members
public void ShowImage(Uri imageLocation)
{
this.DataContext = imageLocation;
this.ShowDialog();
}
#endregion // IXrayImageViewer Members
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.