jj 03.04 kampf mit net framework
This commit is contained in:
@@ -2687,9 +2687,9 @@ Public Class frmConstructor_Main
|
||||
For Each Control As System.Windows.Forms.Control In controls
|
||||
Dim controlId As Integer = DirectCast(Control.Tag, ClassControlMetadata).Id
|
||||
Select Case Control.GetType()
|
||||
Case GetType(Windows.Forms.GroupBox)
|
||||
Case GetType(System.Windows.Forms.GroupBox)
|
||||
Lock_Record_Controls_Recursive(state, DirectCast(Control, GroupBox).Controls)
|
||||
Case GetType(Windows.Forms.TextBox)
|
||||
Case GetType(System.Windows.Forms.TextBox)
|
||||
Dim txt As TextBox = CType(Control, TextBox)
|
||||
txt.ReadOnly = CHECK_CONTROL_CONFIGURED_RO(controlId, state)
|
||||
Case Else
|
||||
@@ -2713,7 +2713,7 @@ Public Class frmConstructor_Main
|
||||
msg1 = "Unsaved changes"
|
||||
End If
|
||||
Dim result As DialogResult = MessageBox.Show(msg, msg1, MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
||||
If result = Windows.Forms.DialogResult.Yes Then
|
||||
If result = System.Windows.Forms.DialogResult.Yes Then
|
||||
If CtrlCommandUI.IsInsert = True Then
|
||||
EDIT_STATE = EditState.None
|
||||
Lock_RecordControls(True)
|
||||
@@ -4809,13 +4809,13 @@ Public Class frmConstructor_Main
|
||||
Try
|
||||
Dim view As BaseView = CType(sender, BaseView)
|
||||
|
||||
If e.Button = Windows.Forms.MouseButtons.Right Then
|
||||
If e.Button = System.Windows.Forms.MouseButtons.Right Then
|
||||
GRIDRightMouse_Clicked = True
|
||||
Else
|
||||
GRIDRightMouse_Clicked = False
|
||||
End If
|
||||
Dim hitInfo As GridHitInfo = view.CalcHitInfo(New Point(e.X, e.Y))
|
||||
If e.Button = Windows.Forms.MouseButtons.Left AndAlso hitInfo.InRow AndAlso hitInfo.HitTest <> GridHitTest.RowIndicator Then
|
||||
If e.Button = System.Windows.Forms.MouseButtons.Left AndAlso hitInfo.InRow AndAlso hitInfo.HitTest <> GridHitTest.RowIndicator Then
|
||||
GRIDdownHitInfo = hitInfo
|
||||
End If
|
||||
Catch ex As Exception
|
||||
|
||||
Reference in New Issue
Block a user