mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-25 19:38:37 +08:00
18 lines
443 B
C#
18 lines
443 B
C#
using BrightIdeasSoftware;
|
|
using mRemoteNG.Connection;
|
|
|
|
|
|
namespace mRemoteNG.UI.Controls
|
|
{
|
|
public class NameColumn : OLVColumn
|
|
{
|
|
public NameColumn(ImageGetterDelegate imageGetterDelegate)
|
|
{
|
|
AspectName = "Name";
|
|
FillsFreeSpace = true;
|
|
IsButton = true;
|
|
AspectGetter = item => ((ConnectionInfo) item).Name;
|
|
ImageGetter = imageGetterDelegate;
|
|
}
|
|
}
|
|
} |