mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
18 lines
455 B
C#
18 lines
455 B
C#
using BrightIdeasSoftware;
|
|
using mRemoteNG.Connection;
|
|
|
|
|
|
namespace mRemoteNG.UI.Controls
|
|
{
|
|
public class NameColumn : OLVColumn
|
|
{
|
|
public NameColumn(ImageGetterDelegate imageGetterDelegate)
|
|
{
|
|
AspectName = "Name";
|
|
FillsFreeSpace = false;
|
|
AspectGetter = item => ((ConnectionInfo) item).Name;
|
|
ImageGetter = imageGetterDelegate;
|
|
AutoCompleteEditor = false;
|
|
}
|
|
}
|
|
} |