jj: fix final indicies, switch to first tab on load
This commit is contained in:
parent
3a9338b8a6
commit
bc23d53bca
@ -49,6 +49,8 @@ Public Class frmAdministration
|
||||
btnUserManager.Enabled = False
|
||||
End If
|
||||
|
||||
tabctrl_Profilkonfig.SelectedIndex = 0
|
||||
|
||||
Catch ex As Exception
|
||||
MsgBox("Fehler bei Laden der Wertehilfen und Konfig-Daten: " & vbNewLine & ex.Message, MsgBoxStyle.Critical, "Achtung:")
|
||||
End Try
|
||||
@ -865,17 +867,21 @@ Public Class frmAdministration
|
||||
|
||||
End If
|
||||
Dim i, ID As Integer
|
||||
i = TBPM_PROFILE_FINAL_INDEXINGDataGridView.CurrentRow.Index
|
||||
ID = TBPM_PROFILE_FINAL_INDEXINGDataGridView.Item(0, i).Value
|
||||
If ID > 0 Then
|
||||
CURRENT_INDEX_ID = ID
|
||||
CURRENT_DESIGN_TYPE = "FINAL_INDEX"
|
||||
CURRENT_SQL_COMAMND = SQL_COMMANDTextBox.Text
|
||||
CURRENT_SQL_CON = CONID
|
||||
CURRENT_ProfilGUID = PROFILGUIDTextBox.Text
|
||||
Try
|
||||
i = TBPM_PROFILE_FINAL_INDEXINGDataGridView.CurrentRow.Index
|
||||
ID = TBPM_PROFILE_FINAL_INDEXINGDataGridView.Item(0, i).Value
|
||||
If ID > 0 Then
|
||||
CURRENT_INDEX_ID = ID
|
||||
CURRENT_DESIGN_TYPE = "FINAL_INDEX"
|
||||
CURRENT_SQL_COMAMND = SQL_COMMANDTextBox.Text
|
||||
CURRENT_SQL_CON = CONID
|
||||
CURRENT_ProfilGUID = PROFILGUIDTextBox.Text
|
||||
|
||||
frmSQL_DESIGNER.ShowDialog()
|
||||
End If
|
||||
frmSQL_DESIGNER.ShowDialog()
|
||||
End If
|
||||
Catch ex As Exception
|
||||
clsLogger.Add("Error while operating on TBPM_PROFILE_FINAL_INDEXINGDataGridView: " & ex.Message)
|
||||
End Try
|
||||
|
||||
Refresh_Final_indexe()
|
||||
Catch ex As Exception
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user