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.SplitContainer1 = New System.Windows.Forms.SplitContainer()
|
||||
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.btnSaveAllAndClose = New System.Windows.Forms.Button()
|
||||
Me.StatusStrip1.SuspendLayout()
|
||||
@ -1911,7 +1911,7 @@ Partial Class frmNIVerknuepfungen
|
||||
'
|
||||
Me.pnlFooter.BackColor = System.Drawing.Color.Transparent
|
||||
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.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
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.TabIndex = 53
|
||||
'
|
||||
'btnCancelAndClose
|
||||
'btnCancelAllAndClose
|
||||
'
|
||||
Me.btnCancelAndClose.Anchor = System.Windows.Forms.AnchorStyles.Top
|
||||
Me.btnCancelAndClose.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.btnCancelAndClose.Location = New System.Drawing.Point(1009, 6)
|
||||
Me.btnCancelAndClose.Name = "btnCancelAndClose"
|
||||
Me.btnCancelAndClose.Size = New System.Drawing.Size(120, 30)
|
||||
Me.btnCancelAndClose.TabIndex = 1
|
||||
Me.btnCancelAndClose.Text = "Abbrechen"
|
||||
Me.btnCancelAndClose.UseVisualStyleBackColor = False
|
||||
Me.btnCancelAllAndClose.Anchor = System.Windows.Forms.AnchorStyles.Top
|
||||
Me.btnCancelAllAndClose.BackColor = System.Drawing.SystemColors.ControlLightLight
|
||||
Me.btnCancelAllAndClose.DialogResult = System.Windows.Forms.DialogResult.Cancel
|
||||
Me.btnCancelAllAndClose.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.btnCancelAllAndClose.Location = New System.Drawing.Point(1009, 6)
|
||||
Me.btnCancelAllAndClose.Name = "btnCancelAllAndClose"
|
||||
Me.btnCancelAllAndClose.Size = New System.Drawing.Size(120, 30)
|
||||
Me.btnCancelAllAndClose.TabIndex = 1
|
||||
Me.btnCancelAllAndClose.Text = "Abbrechen"
|
||||
Me.btnCancelAllAndClose.UseVisualStyleBackColor = False
|
||||
'
|
||||
'btnSaveAll
|
||||
'
|
||||
@ -1947,6 +1948,7 @@ Partial Class frmNIVerknuepfungen
|
||||
'btnSaveAllAndClose
|
||||
'
|
||||
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.Location = New System.Drawing.Point(883, 6)
|
||||
Me.btnSaveAllAndClose.Name = "btnSaveAllAndClose"
|
||||
@ -2152,6 +2154,6 @@ Partial Class frmNIVerknuepfungen
|
||||
Friend WithEvents Label2 As Label
|
||||
Friend WithEvents pnlFooter As Panel
|
||||
Friend WithEvents btnSaveAll As Button
|
||||
Friend WithEvents btnCancelAndClose As Button
|
||||
Friend WithEvents btnCancelAllAndClose As Button
|
||||
Friend WithEvents btnSaveAllAndClose As Button
|
||||
End Class
|
||||
|
||||
@ -2312,6 +2312,13 @@ Public Class frmNIVerknuepfungen
|
||||
End If
|
||||
End If
|
||||
|
||||
Select Case Me.DialogResult
|
||||
Case DialogResult.OK
|
||||
If Not Me._selectedProfil.IsSaved Then SaveProfile()
|
||||
If Not Me._selectedProfil._links.IsLinksSaved Then SaveLinks()
|
||||
Case DialogResult.Cancel
|
||||
'nichts
|
||||
Case Else
|
||||
' If Not Me._selectedProfil.IsSaved Or Not Me._selectedProfil._links.IsSaved Then
|
||||
If Not Me._selectedProfil.IsSaved Then
|
||||
|
||||
@ -2329,6 +2336,7 @@ Public Class frmNIVerknuepfungen
|
||||
End If
|
||||
|
||||
End If
|
||||
End Select
|
||||
|
||||
End If
|
||||
End Sub
|
||||
@ -3696,4 +3704,12 @@ Public Class frmNIVerknuepfungen
|
||||
SaveProfile()
|
||||
SaveScript()
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user