MS AnyCPU DesignerLOcked bei ClickGrid

This commit is contained in:
SchreiberM 2021-03-16 08:33:19 +01:00
parent db0bb54790
commit 8df0e68ba9
2 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,7 @@
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x64</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>

View File

@ -552,6 +552,9 @@ Public Class frmFormDesigner
Public Sub gridControl_MouseClick(sender As GridControl, e As MouseEventArgs)
Try
If Designer_Locked = True Then
Exit Sub
End If
Dim oView As GridView = sender.DefaultView
Dim oHitinfo As GridHitInfo = oView.CalcHitInfo(sender.PointToClient(Cursor.Position))