|
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.CompositeUI.Commands;
using XtensibleSolutions.CompositeUI.Extensions;
using XtensibleSolutions.CompositeUI.Extensions.SmartParts;
namespace XtensibleSolutions.MyServerModule.SmartParts
{
public class MyServerPresenter : XSPresenter, IXSPresenter
{
public MyServerPresenter(XSWorkItem thisWorkItem) : base(thisWorkItem)
{
this.View = new XSView(this);
}
public void OnToolsLoadClientModule_Click(object sender, EventArgs e)
{
((Command)sender).Status = CommandStatus.Disabled;
((MyServerWorkItem)this.WorkItem).LoadClientModule();
}
}
}
|
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.