mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Changed the drag-drop highlight color
This commit is contained in:
@@ -45,6 +45,7 @@ namespace mRemoteNG.UI.Window
|
||||
};
|
||||
|
||||
FillImageList();
|
||||
SetDragAndDropProperties();
|
||||
LinkModelToView();
|
||||
SetEventHandlers();
|
||||
}
|
||||
@@ -70,6 +71,12 @@ namespace mRemoteNG.UI.Window
|
||||
}
|
||||
}
|
||||
|
||||
private void SetDragAndDropProperties()
|
||||
{
|
||||
var dropSink = (SimpleDropSink)olvConnections.DropSink;
|
||||
dropSink.FeedbackColor = Color.SteelBlue;
|
||||
}
|
||||
|
||||
private void LinkModelToView()
|
||||
{
|
||||
olvNameColumn.AspectGetter = item => ((ConnectionInfo)item).Name;
|
||||
|
||||
Reference in New Issue
Block a user