mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-26 12:08:37 +08:00
small fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0-windows10.0.26100.0</TargetFramework>
|
||||
<TargetFramework>net10.0-windows10.0.26100.0</TargetFramework>
|
||||
<Deterministic>false</Deterministic>
|
||||
<RootNamespace>BrightIdeasSoftware</RootNamespace>
|
||||
<AssemblyName>ObjectListView</AssemblyName>
|
||||
@@ -35,8 +35,4 @@
|
||||
<Folder Include="Resources\" />
|
||||
<Folder Include="Rendering\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Drawing.Common" />
|
||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -1906,7 +1906,7 @@ namespace BrightIdeasSoftware
|
||||
[Category("ObjectListView"),
|
||||
Description("The image list from which group header will take their images"),
|
||||
DefaultValue(null)]
|
||||
public ImageList GroupImageList
|
||||
public new ImageList GroupImageList
|
||||
{
|
||||
get { return this.groupImageList; }
|
||||
set
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace BrightIdeasSoftware
|
||||
/// <para>
|
||||
/// Although it isn't documented, .NET virtual lists cannot have checkboxes. This class codes around this limitation,
|
||||
/// but you must use the functions provided by ObjectListView: CheckedObjects, CheckObject(), UncheckObject() and their friends.
|
||||
/// If you use the normal check box properties (CheckedItems or CheckedIndicies), they will throw an exception, since the
|
||||
/// If you use the normal check box properties (CheckedItems or CheckedIndicie), they will throw an exception, since the
|
||||
/// list is in virtual mode, and .NET "knows" it can't handle checkboxes in virtual mode.
|
||||
/// </para>
|
||||
/// <para>Due to the limits of the underlying Windows control, virtual lists do not trigger ItemCheck/ItemChecked events.
|
||||
@@ -155,7 +155,7 @@ namespace BrightIdeasSoftware
|
||||
/// <para>
|
||||
/// This property returns a simple collection. Changes made to the returned
|
||||
/// collection do NOT affect the list. This is different to the behaviour of
|
||||
/// CheckedIndicies collection.
|
||||
/// CheckedIndicie collection.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// When getting CheckedObjects, the performance of this method is O(n) where n is the number of checked objects.
|
||||
@@ -405,8 +405,6 @@ namespace BrightIdeasSoftware
|
||||
[UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_virtualListSize")]
|
||||
private static extern ref int GetVirtualListSizeField(ListView listView);
|
||||
|
||||
static private FieldInfo virtualListSizeFieldInfo;
|
||||
|
||||
#endregion
|
||||
|
||||
#region OLV accessing
|
||||
|
||||
Reference in New Issue
Block a user