MS SaveGrid

This commit is contained in:
SchreiberM 2021-03-26 11:10:56 +01:00
parent 8e671b77fe
commit 0cc29caecb

View File

@ -105,7 +105,7 @@ Public Class frmMain
My.Settings.frmMainSize = Me.Size My.Settings.frmMainSize = Me.Size
My.Settings.frmMainPosition = Me.Location My.Settings.frmMainPosition = Me.Location
My.Settings.Save() My.Settings.Save()
SaveGridLayout() 'SaveGridLayout()
Catch ex As Exception Catch ex As Exception
LOGGER.Error(ex) LOGGER.Error(ex)
LOGGER.Info("Error in Save FormLayout: " & ex.Message) LOGGER.Info("Error in Save FormLayout: " & ex.Message)
@ -1101,7 +1101,7 @@ Public Class frmMain
Exit Sub Exit Sub
End If End If
Try Try
SaveGridLayout() ' SaveGridLayout()
'bwSync.ReportProgress(10) 'bwSync.ReportProgress(10)
LoadNavBar() LoadNavBar()
'bwSync.ReportProgress(60) 'bwSync.ReportProgress(60)
@ -1834,7 +1834,7 @@ Public Class frmMain
oColNotPartofLayout = Column_inGridViewLayout("CONV_YN") oColNotPartofLayout = Column_inGridViewLayout("CONV_YN")
End If End If
End If End If
If FORCE_LAYOUT_OVERVIEW = True And GridLayoutChanged() = True Or oColNotPartofLayout = True Then If FORCE_LAYOUT_OVERVIEW = True And (GridLayoutChanged() = True Or oColNotPartofLayout = True) Then
ResetLayout() ResetLayout()
SaveGridLayout() SaveGridLayout()
Else Else