Ok-Button, Abbrechen-Button, Übernehmen-Button, frmNIVerknuepfungen, frmNIVerknuepfungen.Designer
This commit is contained in:
parent
609d90ed9c
commit
6eef02e0ec
28
ToolCollection/frmNIVerknuepfungen.Designer.vb
generated
28
ToolCollection/frmNIVerknuepfungen.Designer.vb
generated
@ -168,7 +168,7 @@ Partial Class frmNIVerknuepfungen
|
|||||||
Me.rbvkt_overwrite = New System.Windows.Forms.RadioButton()
|
Me.rbvkt_overwrite = New System.Windows.Forms.RadioButton()
|
||||||
Me.SplitContainer1 = New System.Windows.Forms.SplitContainer()
|
Me.SplitContainer1 = New System.Windows.Forms.SplitContainer()
|
||||||
Me.pnlFooter = New System.Windows.Forms.Panel()
|
Me.pnlFooter = New System.Windows.Forms.Panel()
|
||||||
Me.btnCancelAndClose = New System.Windows.Forms.Button()
|
Me.btnCancelAllAndClose = New System.Windows.Forms.Button()
|
||||||
Me.btnSaveAll = New System.Windows.Forms.Button()
|
Me.btnSaveAll = New System.Windows.Forms.Button()
|
||||||
Me.btnSaveAllAndClose = New System.Windows.Forms.Button()
|
Me.btnSaveAllAndClose = New System.Windows.Forms.Button()
|
||||||
Me.StatusStrip1.SuspendLayout()
|
Me.StatusStrip1.SuspendLayout()
|
||||||
@ -1911,7 +1911,7 @@ Partial Class frmNIVerknuepfungen
|
|||||||
'
|
'
|
||||||
Me.pnlFooter.BackColor = System.Drawing.Color.Transparent
|
Me.pnlFooter.BackColor = System.Drawing.Color.Transparent
|
||||||
Me.pnlFooter.Controls.Add(Me.btnSaveAllAndClose)
|
Me.pnlFooter.Controls.Add(Me.btnSaveAllAndClose)
|
||||||
Me.pnlFooter.Controls.Add(Me.btnCancelAndClose)
|
Me.pnlFooter.Controls.Add(Me.btnCancelAllAndClose)
|
||||||
Me.pnlFooter.Controls.Add(Me.btnSaveAll)
|
Me.pnlFooter.Controls.Add(Me.btnSaveAll)
|
||||||
Me.pnlFooter.Dock = System.Windows.Forms.DockStyle.Fill
|
Me.pnlFooter.Dock = System.Windows.Forms.DockStyle.Fill
|
||||||
Me.pnlFooter.Location = New System.Drawing.Point(0, 250)
|
Me.pnlFooter.Location = New System.Drawing.Point(0, 250)
|
||||||
@ -1919,17 +1919,18 @@ Partial Class frmNIVerknuepfungen
|
|||||||
Me.pnlFooter.Size = New System.Drawing.Size(1265, 44)
|
Me.pnlFooter.Size = New System.Drawing.Size(1265, 44)
|
||||||
Me.pnlFooter.TabIndex = 53
|
Me.pnlFooter.TabIndex = 53
|
||||||
'
|
'
|
||||||
'btnCancelAndClose
|
'btnCancelAllAndClose
|
||||||
'
|
'
|
||||||
Me.btnCancelAndClose.Anchor = System.Windows.Forms.AnchorStyles.Top
|
Me.btnCancelAllAndClose.Anchor = System.Windows.Forms.AnchorStyles.Top
|
||||||
Me.btnCancelAndClose.BackColor = System.Drawing.SystemColors.ControlLightLight
|
Me.btnCancelAllAndClose.BackColor = System.Drawing.SystemColors.ControlLightLight
|
||||||
Me.btnCancelAndClose.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.btnCancelAllAndClose.DialogResult = System.Windows.Forms.DialogResult.Cancel
|
||||||
Me.btnCancelAndClose.Location = New System.Drawing.Point(1009, 6)
|
Me.btnCancelAllAndClose.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.btnCancelAndClose.Name = "btnCancelAndClose"
|
Me.btnCancelAllAndClose.Location = New System.Drawing.Point(1009, 6)
|
||||||
Me.btnCancelAndClose.Size = New System.Drawing.Size(120, 30)
|
Me.btnCancelAllAndClose.Name = "btnCancelAllAndClose"
|
||||||
Me.btnCancelAndClose.TabIndex = 1
|
Me.btnCancelAllAndClose.Size = New System.Drawing.Size(120, 30)
|
||||||
Me.btnCancelAndClose.Text = "Abbrechen"
|
Me.btnCancelAllAndClose.TabIndex = 1
|
||||||
Me.btnCancelAndClose.UseVisualStyleBackColor = False
|
Me.btnCancelAllAndClose.Text = "Abbrechen"
|
||||||
|
Me.btnCancelAllAndClose.UseVisualStyleBackColor = False
|
||||||
'
|
'
|
||||||
'btnSaveAll
|
'btnSaveAll
|
||||||
'
|
'
|
||||||
@ -1947,6 +1948,7 @@ Partial Class frmNIVerknuepfungen
|
|||||||
'btnSaveAllAndClose
|
'btnSaveAllAndClose
|
||||||
'
|
'
|
||||||
Me.btnSaveAllAndClose.BackColor = System.Drawing.SystemColors.ControlLightLight
|
Me.btnSaveAllAndClose.BackColor = System.Drawing.SystemColors.ControlLightLight
|
||||||
|
Me.btnSaveAllAndClose.DialogResult = System.Windows.Forms.DialogResult.OK
|
||||||
Me.btnSaveAllAndClose.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.btnSaveAllAndClose.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.btnSaveAllAndClose.Location = New System.Drawing.Point(883, 6)
|
Me.btnSaveAllAndClose.Location = New System.Drawing.Point(883, 6)
|
||||||
Me.btnSaveAllAndClose.Name = "btnSaveAllAndClose"
|
Me.btnSaveAllAndClose.Name = "btnSaveAllAndClose"
|
||||||
@ -2152,6 +2154,6 @@ Partial Class frmNIVerknuepfungen
|
|||||||
Friend WithEvents Label2 As Label
|
Friend WithEvents Label2 As Label
|
||||||
Friend WithEvents pnlFooter As Panel
|
Friend WithEvents pnlFooter As Panel
|
||||||
Friend WithEvents btnSaveAll As Button
|
Friend WithEvents btnSaveAll As Button
|
||||||
Friend WithEvents btnCancelAndClose As Button
|
Friend WithEvents btnCancelAllAndClose As Button
|
||||||
Friend WithEvents btnSaveAllAndClose As Button
|
Friend WithEvents btnSaveAllAndClose As Button
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@ -2312,23 +2312,31 @@ Public Class frmNIVerknuepfungen
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
' If Not Me._selectedProfil.IsSaved Or Not Me._selectedProfil._links.IsSaved Then
|
Select Case Me.DialogResult
|
||||||
If Not Me._selectedProfil.IsSaved Then
|
Case DialogResult.OK
|
||||||
|
If Not Me._selectedProfil.IsSaved Then SaveProfile()
|
||||||
Dim msgResult As MsgBoxResult = MsgBox("Möchten Sie die Änderungen speichern?", MsgBoxStyle.YesNoCancel, "Änderungen übernehmen?")
|
If Not Me._selectedProfil._links.IsLinksSaved Then SaveLinks()
|
||||||
If msgResult = MsgBoxResult.Yes Then
|
Case DialogResult.Cancel
|
||||||
|
'nichts
|
||||||
|
Case Else
|
||||||
|
' If Not Me._selectedProfil.IsSaved Or Not Me._selectedProfil._links.IsSaved Then
|
||||||
If Not Me._selectedProfil.IsSaved Then
|
If Not Me._selectedProfil.IsSaved Then
|
||||||
SaveProfile()
|
|
||||||
|
Dim msgResult As MsgBoxResult = MsgBox("Möchten Sie die Änderungen speichern?", MsgBoxStyle.YesNoCancel, "Änderungen übernehmen?")
|
||||||
|
If msgResult = MsgBoxResult.Yes Then
|
||||||
|
|
||||||
|
If Not Me._selectedProfil.IsSaved Then
|
||||||
|
SaveProfile()
|
||||||
|
End If
|
||||||
|
|
||||||
|
If Not Me._selectedProfil._links.IsSaved Then
|
||||||
|
SaveLinks()
|
||||||
|
End If
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
End Select
|
||||||
If Not Me._selectedProfil._links.IsSaved Then
|
|
||||||
SaveLinks()
|
|
||||||
End If
|
|
||||||
|
|
||||||
End If
|
|
||||||
|
|
||||||
End If
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
@ -3696,4 +3704,12 @@ Public Class frmNIVerknuepfungen
|
|||||||
SaveProfile()
|
SaveProfile()
|
||||||
SaveScript()
|
SaveScript()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub btnSaveAllAndClose_Click(sender As Object, e As EventArgs) Handles btnSaveAllAndClose.Click
|
||||||
|
Me.Close()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub btnCancelAllAndClose_Click(sender As Object, e As EventArgs) Handles btnCancelAllAndClose.Click
|
||||||
|
Me.Close()
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
Loading…
x
Reference in New Issue
Block a user