|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Microsoft.Practices.CompositeUI.SmartParts;
namespace XtensibleSolutions.CompositeUI.Extensions.SmartParts
{
[SmartPart]
public partial class XSViewUserControl : UserControl, IXSView
{
private IXSPresenter presenter;
// VS 2005 designer support only
protected XSViewUserControl() { InitializeComponent(); }
// framework support
public XSViewUserControl(IXSPresenter thisPresenter)
{
InitializeComponent();
this.presenter = thisPresenter;
}
public IXSPresenter Presenter { get { return this.presenter; } }
public virtual IWorkspace GetWorkspace(XSWorkspaceType thisWorkspaceType) { return null; }
}
}
|
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.