ZooFlow: Add frmAdmin_SourceSQL
This commit is contained in:
@@ -7,7 +7,7 @@ Partial Public MustInherit Class BaseForm
|
||||
Private Logger As Logger
|
||||
|
||||
Public Sub New()
|
||||
Logger = My.LogConfig.GetLogger
|
||||
Logger = My.LogConfig?.GetLogger
|
||||
End Sub
|
||||
|
||||
Public Sub ShowInfo(Message As String)
|
||||
|
||||
463
GUIs.ZooFlow/Administration/frmAdmin_SourceSQL.Designer.vb
generated
Normal file
463
GUIs.ZooFlow/Administration/frmAdmin_SourceSQL.Designer.vb
generated
Normal file
@@ -0,0 +1,463 @@
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class frmAdmin_SourceSQL
|
||||
Inherits frmAdmin_Base
|
||||
|
||||
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
Try
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
components.Dispose()
|
||||
End If
|
||||
Finally
|
||||
MyBase.Dispose(disposing)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Wird vom Windows Form-Designer benötigt.
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
||||
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
||||
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.components = New System.ComponentModel.Container()
|
||||
Me.RibbonControl1 = New DevExpress.XtraBars.Ribbon.RibbonControl()
|
||||
Me.BarButtonItem1 = New DevExpress.XtraBars.BarButtonItem()
|
||||
Me.BarButtonItem2 = New DevExpress.XtraBars.BarButtonItem()
|
||||
Me.labelStatus = New DevExpress.XtraBars.BarStaticItem()
|
||||
Me.labelError = New DevExpress.XtraBars.BarStaticItem()
|
||||
Me.RibbonPage1 = New DevExpress.XtraBars.Ribbon.RibbonPage()
|
||||
Me.RibbonPageGroup1 = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
||||
Me.RibbonStatusBar1 = New DevExpress.XtraBars.Ribbon.RibbonStatusBar()
|
||||
Me.RibbonPage2 = New DevExpress.XtraBars.Ribbon.RibbonPage()
|
||||
Me.LayoutControl1 = New DevExpress.XtraLayout.LayoutControl()
|
||||
Me.TextEdit1 = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.TBZF_ADMIN_SOURCE_SQLBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||
Me.DSIDB_Stammdaten = New DigitalData.GUIs.ZooFlow.DSIDB_Stammdaten()
|
||||
Me.TextEdit2 = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.TextEdit3 = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.TextEdit4 = New DevExpress.XtraEditors.MemoEdit()
|
||||
Me.TextEdit5 = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.txtAddedWho = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.txtChangedWho = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.TextEdit8 = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.TextEdit9 = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.Root = New DevExpress.XtraLayout.LayoutControlGroup()
|
||||
Me.LayoutControlItem1 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.LayoutControlItem2 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.LayoutControlItem3 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.LayoutControlItem4 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.LayoutControlItem5 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.LayoutControlItem6 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.LayoutControlItem7 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.LayoutControlItem8 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.LayoutControlItem9 = New DevExpress.XtraLayout.LayoutControlItem()
|
||||
Me.TBZF_ADMIN_SOURCE_SQLTableAdapter = New DigitalData.GUIs.ZooFlow.DSIDB_StammdatenTableAdapters.TBZF_ADMIN_SOURCE_SQLTableAdapter()
|
||||
Me.TableAdapterManager = New DigitalData.GUIs.ZooFlow.DSIDB_StammdatenTableAdapters.TableAdapterManager()
|
||||
CType(Me.RibbonControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.LayoutControl1.SuspendLayout()
|
||||
CType(Me.TextEdit1.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TBZF_ADMIN_SOURCE_SQLBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.DSIDB_Stammdaten, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TextEdit2.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TextEdit3.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TextEdit4.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TextEdit5.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.txtAddedWho.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.txtChangedWho.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TextEdit8.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TextEdit9.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.Root, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem2, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem3, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem4, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem5, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem6, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem7, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem8, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.LayoutControlItem9, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'RibbonControl1
|
||||
'
|
||||
Me.RibbonControl1.CommandLayout = DevExpress.XtraBars.Ribbon.CommandLayout.Simplified
|
||||
Me.RibbonControl1.ExpandCollapseItem.Id = 0
|
||||
Me.RibbonControl1.Items.AddRange(New DevExpress.XtraBars.BarItem() {Me.RibbonControl1.ExpandCollapseItem, Me.RibbonControl1.SearchEditItem, Me.BarButtonItem1, Me.BarButtonItem2, Me.labelStatus, Me.labelError})
|
||||
Me.RibbonControl1.Location = New System.Drawing.Point(0, 0)
|
||||
Me.RibbonControl1.MaxItemId = 5
|
||||
Me.RibbonControl1.Name = "RibbonControl1"
|
||||
Me.RibbonControl1.Pages.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPage() {Me.RibbonPage1})
|
||||
Me.RibbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.[False]
|
||||
Me.RibbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide
|
||||
Me.RibbonControl1.Size = New System.Drawing.Size(800, 63)
|
||||
Me.RibbonControl1.StatusBar = Me.RibbonStatusBar1
|
||||
'
|
||||
'BarButtonItem1
|
||||
'
|
||||
Me.BarButtonItem1.Caption = "Speichern und Schließen"
|
||||
Me.BarButtonItem1.Id = 1
|
||||
Me.BarButtonItem1.ImageOptions.SvgImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.actions_check1
|
||||
Me.BarButtonItem1.Name = "BarButtonItem1"
|
||||
'
|
||||
'BarButtonItem2
|
||||
'
|
||||
Me.BarButtonItem2.Caption = "Speichern"
|
||||
Me.BarButtonItem2.Id = 2
|
||||
Me.BarButtonItem2.ImageOptions.SvgImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.save1
|
||||
Me.BarButtonItem2.Name = "BarButtonItem2"
|
||||
'
|
||||
'labelStatus
|
||||
'
|
||||
Me.labelStatus.Caption = "labelStatus"
|
||||
Me.labelStatus.Id = 3
|
||||
Me.labelStatus.ImageOptions.SvgImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.about1
|
||||
Me.labelStatus.Name = "labelStatus"
|
||||
Me.labelStatus.Visibility = DevExpress.XtraBars.BarItemVisibility.OnlyInCustomizing
|
||||
'
|
||||
'labelError
|
||||
'
|
||||
Me.labelError.Caption = "labelError"
|
||||
Me.labelError.Id = 4
|
||||
Me.labelError.ImageOptions.SvgImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.highimportance
|
||||
Me.labelError.Name = "labelError"
|
||||
Me.labelError.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph
|
||||
Me.labelError.Visibility = DevExpress.XtraBars.BarItemVisibility.OnlyInCustomizing
|
||||
'
|
||||
'RibbonPage1
|
||||
'
|
||||
Me.RibbonPage1.Groups.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPageGroup() {Me.RibbonPageGroup1})
|
||||
Me.RibbonPage1.Name = "RibbonPage1"
|
||||
Me.RibbonPage1.Text = "RibbonPage1"
|
||||
'
|
||||
'RibbonPageGroup1
|
||||
'
|
||||
Me.RibbonPageGroup1.ItemLinks.Add(Me.BarButtonItem1)
|
||||
Me.RibbonPageGroup1.ItemLinks.Add(Me.BarButtonItem2)
|
||||
Me.RibbonPageGroup1.Name = "RibbonPageGroup1"
|
||||
Me.RibbonPageGroup1.Text = "RibbonPageGroup1"
|
||||
'
|
||||
'RibbonStatusBar1
|
||||
'
|
||||
Me.RibbonStatusBar1.ItemLinks.Add(Me.labelStatus)
|
||||
Me.RibbonStatusBar1.ItemLinks.Add(Me.labelError)
|
||||
Me.RibbonStatusBar1.Location = New System.Drawing.Point(0, 426)
|
||||
Me.RibbonStatusBar1.Name = "RibbonStatusBar1"
|
||||
Me.RibbonStatusBar1.Ribbon = Me.RibbonControl1
|
||||
Me.RibbonStatusBar1.Size = New System.Drawing.Size(800, 24)
|
||||
'
|
||||
'RibbonPage2
|
||||
'
|
||||
Me.RibbonPage2.Name = "RibbonPage2"
|
||||
Me.RibbonPage2.Text = "RibbonPage2"
|
||||
'
|
||||
'LayoutControl1
|
||||
'
|
||||
Me.LayoutControl1.Controls.Add(Me.TextEdit1)
|
||||
Me.LayoutControl1.Controls.Add(Me.TextEdit2)
|
||||
Me.LayoutControl1.Controls.Add(Me.TextEdit3)
|
||||
Me.LayoutControl1.Controls.Add(Me.TextEdit4)
|
||||
Me.LayoutControl1.Controls.Add(Me.TextEdit5)
|
||||
Me.LayoutControl1.Controls.Add(Me.txtAddedWho)
|
||||
Me.LayoutControl1.Controls.Add(Me.txtChangedWho)
|
||||
Me.LayoutControl1.Controls.Add(Me.TextEdit8)
|
||||
Me.LayoutControl1.Controls.Add(Me.TextEdit9)
|
||||
Me.LayoutControl1.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
Me.LayoutControl1.Location = New System.Drawing.Point(0, 63)
|
||||
Me.LayoutControl1.Name = "LayoutControl1"
|
||||
Me.LayoutControl1.Root = Me.Root
|
||||
Me.LayoutControl1.Size = New System.Drawing.Size(800, 363)
|
||||
Me.LayoutControl1.TabIndex = 2
|
||||
Me.LayoutControl1.Text = "LayoutControl1"
|
||||
'
|
||||
'TextEdit1
|
||||
'
|
||||
Me.TextEdit1.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "ENTITY_TITLE", True))
|
||||
Me.TextEdit1.Location = New System.Drawing.Point(99, 60)
|
||||
Me.TextEdit1.MenuManager = Me.RibbonControl1
|
||||
Me.TextEdit1.Name = "TextEdit1"
|
||||
Me.TextEdit1.Size = New System.Drawing.Size(681, 20)
|
||||
Me.TextEdit1.StyleController = Me.LayoutControl1
|
||||
Me.TextEdit1.TabIndex = 4
|
||||
'
|
||||
'TBZF_ADMIN_SOURCE_SQLBindingSource
|
||||
'
|
||||
Me.TBZF_ADMIN_SOURCE_SQLBindingSource.DataMember = "TBZF_ADMIN_SOURCE_SQL"
|
||||
Me.TBZF_ADMIN_SOURCE_SQLBindingSource.DataSource = Me.DSIDB_Stammdaten
|
||||
'
|
||||
'DSIDB_Stammdaten
|
||||
'
|
||||
Me.DSIDB_Stammdaten.DataSetName = "DSIDB_Stammdaten"
|
||||
Me.DSIDB_Stammdaten.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
|
||||
'
|
||||
'TextEdit2
|
||||
'
|
||||
Me.TextEdit2.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "PK_COLUMN", True))
|
||||
Me.TextEdit2.Location = New System.Drawing.Point(99, 100)
|
||||
Me.TextEdit2.MenuManager = Me.RibbonControl1
|
||||
Me.TextEdit2.Name = "TextEdit2"
|
||||
Me.TextEdit2.Size = New System.Drawing.Size(681, 20)
|
||||
Me.TextEdit2.StyleController = Me.LayoutControl1
|
||||
Me.TextEdit2.TabIndex = 5
|
||||
'
|
||||
'TextEdit3
|
||||
'
|
||||
Me.TextEdit3.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "COMMENT", True))
|
||||
Me.TextEdit3.Location = New System.Drawing.Point(99, 140)
|
||||
Me.TextEdit3.MenuManager = Me.RibbonControl1
|
||||
Me.TextEdit3.Name = "TextEdit3"
|
||||
Me.TextEdit3.Size = New System.Drawing.Size(681, 20)
|
||||
Me.TextEdit3.StyleController = Me.LayoutControl1
|
||||
Me.TextEdit3.TabIndex = 6
|
||||
'
|
||||
'TextEdit4
|
||||
'
|
||||
Me.TextEdit4.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "SQL_COMMAND", True))
|
||||
Me.TextEdit4.Location = New System.Drawing.Point(99, 180)
|
||||
Me.TextEdit4.MenuManager = Me.RibbonControl1
|
||||
Me.TextEdit4.Name = "TextEdit4"
|
||||
Me.TextEdit4.Size = New System.Drawing.Size(681, 83)
|
||||
Me.TextEdit4.StyleController = Me.LayoutControl1
|
||||
Me.TextEdit4.TabIndex = 7
|
||||
'
|
||||
'TextEdit5
|
||||
'
|
||||
Me.TextEdit5.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "GUID", True))
|
||||
Me.TextEdit5.Location = New System.Drawing.Point(99, 20)
|
||||
Me.TextEdit5.MenuManager = Me.RibbonControl1
|
||||
Me.TextEdit5.Name = "TextEdit5"
|
||||
Me.TextEdit5.Properties.ReadOnly = True
|
||||
Me.TextEdit5.Size = New System.Drawing.Size(681, 20)
|
||||
Me.TextEdit5.StyleController = Me.LayoutControl1
|
||||
Me.TextEdit5.TabIndex = 8
|
||||
'
|
||||
'txtAddedWho
|
||||
'
|
||||
Me.txtAddedWho.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "ADDED_WHO", True))
|
||||
Me.txtAddedWho.Location = New System.Drawing.Point(99, 283)
|
||||
Me.txtAddedWho.MenuManager = Me.RibbonControl1
|
||||
Me.txtAddedWho.Name = "txtAddedWho"
|
||||
Me.txtAddedWho.Size = New System.Drawing.Size(291, 20)
|
||||
Me.txtAddedWho.StyleController = Me.LayoutControl1
|
||||
Me.txtAddedWho.TabIndex = 9
|
||||
'
|
||||
'txtChangedWho
|
||||
'
|
||||
Me.txtChangedWho.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "CHANGED_WHO", True))
|
||||
Me.txtChangedWho.Location = New System.Drawing.Point(99, 323)
|
||||
Me.txtChangedWho.MenuManager = Me.RibbonControl1
|
||||
Me.txtChangedWho.Name = "txtChangedWho"
|
||||
Me.txtChangedWho.Size = New System.Drawing.Size(291, 20)
|
||||
Me.txtChangedWho.StyleController = Me.LayoutControl1
|
||||
Me.txtChangedWho.TabIndex = 10
|
||||
'
|
||||
'TextEdit8
|
||||
'
|
||||
Me.TextEdit8.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "ADDED_WHEN", True))
|
||||
Me.TextEdit8.Location = New System.Drawing.Point(489, 283)
|
||||
Me.TextEdit8.MenuManager = Me.RibbonControl1
|
||||
Me.TextEdit8.Name = "TextEdit8"
|
||||
Me.TextEdit8.Size = New System.Drawing.Size(291, 20)
|
||||
Me.TextEdit8.StyleController = Me.LayoutControl1
|
||||
Me.TextEdit8.TabIndex = 11
|
||||
'
|
||||
'TextEdit9
|
||||
'
|
||||
Me.TextEdit9.DataBindings.Add(New System.Windows.Forms.Binding("EditValue", Me.TBZF_ADMIN_SOURCE_SQLBindingSource, "CHANGED_WHEN", True))
|
||||
Me.TextEdit9.Location = New System.Drawing.Point(489, 323)
|
||||
Me.TextEdit9.MenuManager = Me.RibbonControl1
|
||||
Me.TextEdit9.Name = "TextEdit9"
|
||||
Me.TextEdit9.Size = New System.Drawing.Size(291, 20)
|
||||
Me.TextEdit9.StyleController = Me.LayoutControl1
|
||||
Me.TextEdit9.TabIndex = 12
|
||||
'
|
||||
'Root
|
||||
'
|
||||
Me.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.[True]
|
||||
Me.Root.GroupBordersVisible = False
|
||||
Me.Root.Items.AddRange(New DevExpress.XtraLayout.BaseLayoutItem() {Me.LayoutControlItem1, Me.LayoutControlItem2, Me.LayoutControlItem3, Me.LayoutControlItem4, Me.LayoutControlItem5, Me.LayoutControlItem6, Me.LayoutControlItem7, Me.LayoutControlItem8, Me.LayoutControlItem9})
|
||||
Me.Root.Name = "Root"
|
||||
Me.Root.Size = New System.Drawing.Size(800, 363)
|
||||
Me.Root.TextVisible = False
|
||||
'
|
||||
'LayoutControlItem1
|
||||
'
|
||||
Me.LayoutControlItem1.Control = Me.TextEdit1
|
||||
Me.LayoutControlItem1.Location = New System.Drawing.Point(0, 40)
|
||||
Me.LayoutControlItem1.Name = "LayoutControlItem1"
|
||||
Me.LayoutControlItem1.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem1.Size = New System.Drawing.Size(780, 40)
|
||||
Me.LayoutControlItem1.Text = "Entität"
|
||||
Me.LayoutControlItem1.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'LayoutControlItem2
|
||||
'
|
||||
Me.LayoutControlItem2.Control = Me.TextEdit2
|
||||
Me.LayoutControlItem2.Location = New System.Drawing.Point(0, 80)
|
||||
Me.LayoutControlItem2.Name = "LayoutControlItem2"
|
||||
Me.LayoutControlItem2.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem2.Size = New System.Drawing.Size(780, 40)
|
||||
Me.LayoutControlItem2.Text = "Primäschlüssel"
|
||||
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'LayoutControlItem3
|
||||
'
|
||||
Me.LayoutControlItem3.Control = Me.TextEdit3
|
||||
Me.LayoutControlItem3.Location = New System.Drawing.Point(0, 120)
|
||||
Me.LayoutControlItem3.Name = "LayoutControlItem3"
|
||||
Me.LayoutControlItem3.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem3.Size = New System.Drawing.Size(780, 40)
|
||||
Me.LayoutControlItem3.Text = "Kommentar"
|
||||
Me.LayoutControlItem3.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'LayoutControlItem4
|
||||
'
|
||||
Me.LayoutControlItem4.Control = Me.TextEdit4
|
||||
Me.LayoutControlItem4.Location = New System.Drawing.Point(0, 160)
|
||||
Me.LayoutControlItem4.Name = "LayoutControlItem4"
|
||||
Me.LayoutControlItem4.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem4.Size = New System.Drawing.Size(780, 103)
|
||||
Me.LayoutControlItem4.Text = "SQL Abfrage"
|
||||
Me.LayoutControlItem4.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'LayoutControlItem5
|
||||
'
|
||||
Me.LayoutControlItem5.Control = Me.TextEdit5
|
||||
Me.LayoutControlItem5.Location = New System.Drawing.Point(0, 0)
|
||||
Me.LayoutControlItem5.Name = "LayoutControlItem5"
|
||||
Me.LayoutControlItem5.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem5.Size = New System.Drawing.Size(780, 40)
|
||||
Me.LayoutControlItem5.Text = "GUID"
|
||||
Me.LayoutControlItem5.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'LayoutControlItem6
|
||||
'
|
||||
Me.LayoutControlItem6.Control = Me.txtAddedWho
|
||||
Me.LayoutControlItem6.Location = New System.Drawing.Point(0, 263)
|
||||
Me.LayoutControlItem6.Name = "LayoutControlItem6"
|
||||
Me.LayoutControlItem6.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem6.Size = New System.Drawing.Size(390, 40)
|
||||
Me.LayoutControlItem6.Text = "Erstellt Wer"
|
||||
Me.LayoutControlItem6.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'LayoutControlItem7
|
||||
'
|
||||
Me.LayoutControlItem7.Control = Me.txtChangedWho
|
||||
Me.LayoutControlItem7.Location = New System.Drawing.Point(0, 303)
|
||||
Me.LayoutControlItem7.Name = "LayoutControlItem7"
|
||||
Me.LayoutControlItem7.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem7.Size = New System.Drawing.Size(390, 40)
|
||||
Me.LayoutControlItem7.Text = "Geändert Wer"
|
||||
Me.LayoutControlItem7.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'LayoutControlItem8
|
||||
'
|
||||
Me.LayoutControlItem8.Control = Me.TextEdit8
|
||||
Me.LayoutControlItem8.Location = New System.Drawing.Point(390, 263)
|
||||
Me.LayoutControlItem8.Name = "LayoutControlItem8"
|
||||
Me.LayoutControlItem8.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem8.Size = New System.Drawing.Size(390, 40)
|
||||
Me.LayoutControlItem8.Text = "Erstellt Wann"
|
||||
Me.LayoutControlItem8.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'LayoutControlItem9
|
||||
'
|
||||
Me.LayoutControlItem9.Control = Me.TextEdit9
|
||||
Me.LayoutControlItem9.Location = New System.Drawing.Point(390, 303)
|
||||
Me.LayoutControlItem9.Name = "LayoutControlItem9"
|
||||
Me.LayoutControlItem9.Padding = New DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10)
|
||||
Me.LayoutControlItem9.Size = New System.Drawing.Size(390, 40)
|
||||
Me.LayoutControlItem9.Text = "Geändert Wann"
|
||||
Me.LayoutControlItem9.TextSize = New System.Drawing.Size(76, 13)
|
||||
'
|
||||
'TBZF_ADMIN_SOURCE_SQLTableAdapter
|
||||
'
|
||||
Me.TBZF_ADMIN_SOURCE_SQLTableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'TableAdapterManager
|
||||
'
|
||||
Me.TableAdapterManager.BackupDataSetBeforeUpdate = False
|
||||
Me.TableAdapterManager.TBIDB_ATTRIBUTE_TYPETableAdapter = Nothing
|
||||
Me.TableAdapterManager.TBIDB_ATTRIBUTETableAdapter = Nothing
|
||||
Me.TableAdapterManager.TBIDB_BUSINESS_ENTITYTableAdapter = Nothing
|
||||
Me.TableAdapterManager.TBZF_ADMIN_SOURCE_SQLTableAdapter = Me.TBZF_ADMIN_SOURCE_SQLTableAdapter
|
||||
Me.TableAdapterManager.UpdateOrder = DigitalData.GUIs.ZooFlow.DSIDB_StammdatenTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
||||
'
|
||||
'frmAdmin_SourceSQL
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(800, 450)
|
||||
Me.Controls.Add(Me.LayoutControl1)
|
||||
Me.Controls.Add(Me.RibbonStatusBar1)
|
||||
Me.Controls.Add(Me.RibbonControl1)
|
||||
Me.Name = "frmAdmin_SourceSQL"
|
||||
Me.Ribbon = Me.RibbonControl1
|
||||
Me.StatusBar = Me.RibbonStatusBar1
|
||||
Me.Text = "Source SQL"
|
||||
CType(Me.RibbonControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.LayoutControl1.ResumeLayout(False)
|
||||
CType(Me.TextEdit1.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TBZF_ADMIN_SOURCE_SQLBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.DSIDB_Stammdaten, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TextEdit2.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TextEdit3.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TextEdit4.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TextEdit5.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.txtAddedWho.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.txtChangedWho.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TextEdit8.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TextEdit9.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.Root, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem2, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem3, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem4, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem5, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem6, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem7, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem8, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.LayoutControlItem9, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
|
||||
Friend WithEvents RibbonControl1 As DevExpress.XtraBars.Ribbon.RibbonControl
|
||||
Friend WithEvents RibbonPage1 As DevExpress.XtraBars.Ribbon.RibbonPage
|
||||
Friend WithEvents RibbonPageGroup1 As DevExpress.XtraBars.Ribbon.RibbonPageGroup
|
||||
Friend WithEvents RibbonStatusBar1 As DevExpress.XtraBars.Ribbon.RibbonStatusBar
|
||||
Friend WithEvents RibbonPage2 As DevExpress.XtraBars.Ribbon.RibbonPage
|
||||
Friend WithEvents BarButtonItem1 As DevExpress.XtraBars.BarButtonItem
|
||||
Friend WithEvents BarButtonItem2 As DevExpress.XtraBars.BarButtonItem
|
||||
Friend WithEvents LayoutControl1 As DevExpress.XtraLayout.LayoutControl
|
||||
Friend WithEvents Root As DevExpress.XtraLayout.LayoutControlGroup
|
||||
Friend WithEvents TextEdit1 As DevExpress.XtraEditors.TextEdit
|
||||
Friend WithEvents TextEdit2 As DevExpress.XtraEditors.TextEdit
|
||||
Friend WithEvents TextEdit3 As DevExpress.XtraEditors.TextEdit
|
||||
Friend WithEvents TextEdit4 As DevExpress.XtraEditors.MemoEdit
|
||||
Friend WithEvents TextEdit5 As DevExpress.XtraEditors.TextEdit
|
||||
Friend WithEvents txtAddedWho As DevExpress.XtraEditors.TextEdit
|
||||
Friend WithEvents txtChangedWho As DevExpress.XtraEditors.TextEdit
|
||||
Friend WithEvents TextEdit8 As DevExpress.XtraEditors.TextEdit
|
||||
Friend WithEvents TextEdit9 As DevExpress.XtraEditors.TextEdit
|
||||
Friend WithEvents LayoutControlItem1 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem2 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem3 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem4 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem5 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem6 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem7 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem8 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents LayoutControlItem9 As DevExpress.XtraLayout.LayoutControlItem
|
||||
Friend WithEvents DSIDB_Stammdaten As DSIDB_Stammdaten
|
||||
Friend WithEvents TBZF_ADMIN_SOURCE_SQLBindingSource As BindingSource
|
||||
Friend WithEvents TBZF_ADMIN_SOURCE_SQLTableAdapter As DSIDB_StammdatenTableAdapters.TBZF_ADMIN_SOURCE_SQLTableAdapter
|
||||
Friend WithEvents TableAdapterManager As DSIDB_StammdatenTableAdapters.TableAdapterManager
|
||||
Friend WithEvents labelStatus As DevExpress.XtraBars.BarStaticItem
|
||||
Friend WithEvents labelError As DevExpress.XtraBars.BarStaticItem
|
||||
End Class
|
||||
135
GUIs.ZooFlow/Administration/frmAdmin_SourceSQL.resx
Normal file
135
GUIs.ZooFlow/Administration/frmAdmin_SourceSQL.resx
Normal file
@@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="TBZF_ADMIN_SOURCE_SQLBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>474, 17</value>
|
||||
</metadata>
|
||||
<metadata name="DSIDB_Stammdaten.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>314, 17</value>
|
||||
</metadata>
|
||||
<metadata name="DSIDB_Stammdaten.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>314, 17</value>
|
||||
</metadata>
|
||||
<metadata name="TBZF_ADMIN_SOURCE_SQLTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>754, 17</value>
|
||||
</metadata>
|
||||
<metadata name="TableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
</root>
|
||||
78
GUIs.ZooFlow/Administration/frmAdmin_SourceSQL.vb
Normal file
78
GUIs.ZooFlow/Administration/frmAdmin_SourceSQL.vb
Normal file
@@ -0,0 +1,78 @@
|
||||
Imports DigitalData.Modules.Logging
|
||||
|
||||
Public Class frmAdmin_SourceSQL
|
||||
Inherits frmAdmin_Base
|
||||
Implements frmAdmin_Interface
|
||||
|
||||
Public Property PrimaryKey As Integer Implements frmAdmin_Interface.PrimaryKey
|
||||
Public Property Logger As Logger Implements frmAdmin_Interface.Logger
|
||||
Public Property HasChanges As Boolean = False Implements frmAdmin_Interface.HasChanges
|
||||
Public Property IsInsert As Boolean Implements frmAdmin_Interface.IsInsert
|
||||
|
||||
Public Sub New(PrimaryKey As Integer, Optional IsInsert As Boolean = False)
|
||||
' Dieser Aufruf ist für den Designer erforderlich.
|
||||
InitializeComponent()
|
||||
|
||||
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||
Logger = My.LogConfig.GetLogger()
|
||||
Me.PrimaryKey = PrimaryKey
|
||||
Me.IsInsert = IsInsert
|
||||
End Sub
|
||||
|
||||
Private Sub ResetMessages()
|
||||
labelStatus.Visibility = DevExpress.XtraBars.BarItemVisibility.Never
|
||||
End Sub
|
||||
|
||||
Private Sub ShowStatus(Message As String)
|
||||
labelStatus.Caption = Message
|
||||
labelStatus.Visibility = DevExpress.XtraBars.BarItemVisibility.Always
|
||||
End Sub
|
||||
|
||||
Private Sub frmAdmin_SourceSQL_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||
Try
|
||||
TBZF_ADMIN_SOURCE_SQLTableAdapter.Fill(DSIDB_Stammdaten.TBZF_ADMIN_SOURCE_SQL, PrimaryKey)
|
||||
Catch ex As Exception
|
||||
ShowError(ex)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Public Function SaveData() As Boolean Implements frmAdmin_Interface.SaveData
|
||||
Try
|
||||
TBZF_ADMIN_SOURCE_SQLBindingSource.EndEdit()
|
||||
|
||||
If DSIDB_Stammdaten.TBZF_ADMIN_SOURCE_SQL.GetChanges() IsNot Nothing Then
|
||||
HasChanges = True
|
||||
|
||||
If IsInsert Then
|
||||
txtAddedWho.EditValue = My.Application.User.UserName
|
||||
Else
|
||||
txtChangedWho.EditValue = My.Application.User.UserName
|
||||
End If
|
||||
|
||||
TBZF_ADMIN_SOURCE_SQLBindingSource.EndEdit()
|
||||
TBZF_ADMIN_SOURCE_SQLTableAdapter.Update(DSIDB_Stammdaten.TBZF_ADMIN_SOURCE_SQL)
|
||||
End If
|
||||
|
||||
Return True
|
||||
Catch ex As Exception
|
||||
ShowError(ex)
|
||||
Return False
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Private Sub BarButtonItem1_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem1.ItemClick
|
||||
ResetMessages()
|
||||
|
||||
If SaveData() Then
|
||||
Close()
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub BarButtonItem2_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem2.ItemClick
|
||||
ResetMessages()
|
||||
|
||||
If SaveData() And HasChanges Then
|
||||
ShowStatus("Attribute gespeichert!")
|
||||
End If
|
||||
End Sub
|
||||
End Class
|
||||
135
GUIs.ZooFlow/Administration/frmAdmin_Start.Designer.vb
generated
135
GUIs.ZooFlow/Administration/frmAdmin_Start.Designer.vb
generated
@@ -45,7 +45,9 @@ Partial Class frmAdmin_Start
|
||||
Me.BarButtonItem6 = New DevExpress.XtraBars.BarButtonItem()
|
||||
Me.BarButtonItem7 = New DevExpress.XtraBars.BarButtonItem()
|
||||
Me.BarButtonItem8 = New DevExpress.XtraBars.BarButtonItem()
|
||||
Me.BarButtonItem9 = New DevExpress.XtraBars.BarButtonItem()
|
||||
Me.RibbonPage1 = New DevExpress.XtraBars.Ribbon.RibbonPage()
|
||||
Me.RibbonPageGroup2 = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
||||
Me.RibbonPage_ClipboardWatcher = New DevExpress.XtraBars.Ribbon.RibbonPage()
|
||||
Me.RibbonGroup_ClipboardWatcher_Profile = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
||||
Me.RibbonGroup_ClipboardWatcher_DocSearch = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
||||
@@ -94,10 +96,12 @@ Partial Class frmAdmin_Start
|
||||
Me.ADDED_WHENTextBox = New System.Windows.Forms.TextBox()
|
||||
Me.CHANGED_WHOTextBox = New System.Windows.Forms.TextBox()
|
||||
Me.CHANGED_WHENTextBox = New System.Windows.Forms.TextBox()
|
||||
Me.XtraTabPage2 = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.XtraTabPageIDB_SourceSQL = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.XtraTabPage_GlobalIndexer = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.XtraTabPage_ClipboardWatcher = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.XtraTabControl = New DevExpress.XtraTab.XtraTabControl()
|
||||
Me.GridSourceSQL = New DevExpress.XtraGrid.GridControl()
|
||||
Me.ViewSourceSQL = New DevExpress.XtraGrid.Views.Grid.GridView()
|
||||
CHANGED_WHENLabel = New System.Windows.Forms.Label()
|
||||
CHANGED_WHOLabel = New System.Windows.Forms.Label()
|
||||
ADDED_WHENLabel = New System.Windows.Forms.Label()
|
||||
@@ -124,8 +128,11 @@ Partial Class frmAdmin_Start
|
||||
Me.XtraTabPageIDB_Attributes.SuspendLayout()
|
||||
CType(Me.GridControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.GridView1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.XtraTabPageIDB_SourceSQL.SuspendLayout()
|
||||
CType(Me.XtraTabControl, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.XtraTabControl.SuspendLayout()
|
||||
CType(Me.GridSourceSQL, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.ViewSourceSQL, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'CHANGED_WHENLabel
|
||||
@@ -133,7 +140,7 @@ Partial Class frmAdmin_Start
|
||||
CHANGED_WHENLabel.AutoSize = True
|
||||
CHANGED_WHENLabel.Location = New System.Drawing.Point(472, 188)
|
||||
CHANGED_WHENLabel.Name = "CHANGED_WHENLabel"
|
||||
CHANGED_WHENLabel.Size = New System.Drawing.Size(90, 13)
|
||||
CHANGED_WHENLabel.Size = New System.Drawing.Size(85, 13)
|
||||
CHANGED_WHENLabel.TabIndex = 20
|
||||
CHANGED_WHENLabel.Text = "Geändert wann:"
|
||||
'
|
||||
@@ -142,7 +149,7 @@ Partial Class frmAdmin_Start
|
||||
CHANGED_WHOLabel.AutoSize = True
|
||||
CHANGED_WHOLabel.Location = New System.Drawing.Point(351, 188)
|
||||
CHANGED_WHOLabel.Name = "CHANGED_WHOLabel"
|
||||
CHANGED_WHOLabel.Size = New System.Drawing.Size(80, 13)
|
||||
CHANGED_WHOLabel.Size = New System.Drawing.Size(77, 13)
|
||||
CHANGED_WHOLabel.TabIndex = 18
|
||||
CHANGED_WHOLabel.Text = "Geändert wer:"
|
||||
'
|
||||
@@ -151,7 +158,7 @@ Partial Class frmAdmin_Start
|
||||
ADDED_WHENLabel.AutoSize = True
|
||||
ADDED_WHENLabel.Location = New System.Drawing.Point(472, 146)
|
||||
ADDED_WHENLabel.Name = "ADDED_WHENLabel"
|
||||
ADDED_WHENLabel.Size = New System.Drawing.Size(77, 13)
|
||||
ADDED_WHENLabel.Size = New System.Drawing.Size(73, 13)
|
||||
ADDED_WHENLabel.TabIndex = 16
|
||||
ADDED_WHENLabel.Text = "Erstellt wann:"
|
||||
'
|
||||
@@ -160,7 +167,7 @@ Partial Class frmAdmin_Start
|
||||
ADDED_WHOLabel.AutoSize = True
|
||||
ADDED_WHOLabel.Location = New System.Drawing.Point(351, 146)
|
||||
ADDED_WHOLabel.Name = "ADDED_WHOLabel"
|
||||
ADDED_WHOLabel.Size = New System.Drawing.Size(67, 13)
|
||||
ADDED_WHOLabel.Size = New System.Drawing.Size(65, 13)
|
||||
ADDED_WHOLabel.TabIndex = 14
|
||||
ADDED_WHOLabel.Text = "Erstellt wer:"
|
||||
'
|
||||
@@ -169,7 +176,7 @@ Partial Class frmAdmin_Start
|
||||
COMMENTLabel.AutoSize = True
|
||||
COMMENTLabel.Location = New System.Drawing.Point(351, 106)
|
||||
COMMENTLabel.Name = "COMMENTLabel"
|
||||
COMMENTLabel.Size = New System.Drawing.Size(68, 13)
|
||||
COMMENTLabel.Size = New System.Drawing.Size(65, 13)
|
||||
COMMENTLabel.TabIndex = 12
|
||||
COMMENTLabel.Text = "Kommentar:"
|
||||
'
|
||||
@@ -178,7 +185,7 @@ Partial Class frmAdmin_Start
|
||||
VIEW_SEQUENCELabel.AutoSize = True
|
||||
VIEW_SEQUENCELabel.Location = New System.Drawing.Point(351, 82)
|
||||
VIEW_SEQUENCELabel.Name = "VIEW_SEQUENCELabel"
|
||||
VIEW_SEQUENCELabel.Size = New System.Drawing.Size(101, 13)
|
||||
VIEW_SEQUENCELabel.Size = New System.Drawing.Size(93, 13)
|
||||
VIEW_SEQUENCELabel.TabIndex = 8
|
||||
VIEW_SEQUENCELabel.Text = "View Reihenfolge:"
|
||||
'
|
||||
@@ -187,7 +194,7 @@ Partial Class frmAdmin_Start
|
||||
TITLELabel.AutoSize = True
|
||||
TITLELabel.Location = New System.Drawing.Point(351, 12)
|
||||
TITLELabel.Name = "TITLELabel"
|
||||
TITLELabel.Size = New System.Drawing.Size(76, 13)
|
||||
TITLELabel.Size = New System.Drawing.Size(71, 13)
|
||||
TITLELabel.TabIndex = 2
|
||||
TITLELabel.Text = "Bezeichnung:"
|
||||
'
|
||||
@@ -196,19 +203,19 @@ Partial Class frmAdmin_Start
|
||||
GUIDLabel.AutoSize = True
|
||||
GUIDLabel.Location = New System.Drawing.Point(297, 12)
|
||||
GUIDLabel.Name = "GUIDLabel"
|
||||
GUIDLabel.Size = New System.Drawing.Size(37, 13)
|
||||
GUIDLabel.Size = New System.Drawing.Size(36, 13)
|
||||
GUIDLabel.TabIndex = 0
|
||||
GUIDLabel.Text = "GUID:"
|
||||
'
|
||||
'RibbonControl1
|
||||
'
|
||||
Me.RibbonControl1.ExpandCollapseItem.Id = 0
|
||||
Me.RibbonControl1.Items.AddRange(New DevExpress.XtraBars.BarItem() {Me.RibbonControl1.ExpandCollapseItem, Me.RibbonControl1.SearchEditItem, Me.BarButtonItem1, Me.BarButtonItem2, Me.BarButtonItem3, Me.BarButtonItem4, Me.BarButtonItem5, Me.labelStatus, Me.labelError, Me.BarButtonItemAddAttribute, Me.BarButtonItemRefreshAttribute, Me.BarButtonItem6, Me.BarButtonItem7, Me.BarButtonItem8})
|
||||
Me.RibbonControl1.Items.AddRange(New DevExpress.XtraBars.BarItem() {Me.RibbonControl1.ExpandCollapseItem, Me.RibbonControl1.SearchEditItem, Me.BarButtonItem1, Me.BarButtonItem2, Me.BarButtonItem3, Me.BarButtonItem4, Me.BarButtonItem5, Me.labelStatus, Me.labelError, Me.BarButtonItemAddAttribute, Me.BarButtonItemRefreshAttribute, Me.BarButtonItem6, Me.BarButtonItem7, Me.BarButtonItem8, Me.BarButtonItem9})
|
||||
Me.RibbonControl1.Location = New System.Drawing.Point(0, 0)
|
||||
Me.RibbonControl1.MaxItemId = 14
|
||||
Me.RibbonControl1.MaxItemId = 15
|
||||
Me.RibbonControl1.Name = "RibbonControl1"
|
||||
Me.RibbonControl1.Pages.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPage() {Me.RibbonPage1, Me.RibbonPage_ClipboardWatcher, Me.RibbonPage_GlobalIndexer, Me.RibbonPage_IDB})
|
||||
Me.RibbonControl1.Size = New System.Drawing.Size(1328, 159)
|
||||
Me.RibbonControl1.Size = New System.Drawing.Size(1328, 158)
|
||||
Me.RibbonControl1.StatusBar = Me.RibbonStatusBar1
|
||||
'
|
||||
'BarButtonItem1
|
||||
@@ -302,11 +309,25 @@ Partial Class frmAdmin_Start
|
||||
Me.BarButtonItem8.Name = "BarButtonItem8"
|
||||
Me.BarButtonItem8.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithText
|
||||
'
|
||||
'BarButtonItem9
|
||||
'
|
||||
Me.BarButtonItem9.Caption = "Source SQL"
|
||||
Me.BarButtonItem9.Id = 14
|
||||
Me.BarButtonItem9.ImageOptions.SvgImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.crossdatasourcefiltering
|
||||
Me.BarButtonItem9.Name = "BarButtonItem9"
|
||||
'
|
||||
'RibbonPage1
|
||||
'
|
||||
Me.RibbonPage1.Groups.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPageGroup() {Me.RibbonPageGroup2})
|
||||
Me.RibbonPage1.Name = "RibbonPage1"
|
||||
Me.RibbonPage1.Text = "Start"
|
||||
'
|
||||
'RibbonPageGroup2
|
||||
'
|
||||
Me.RibbonPageGroup2.ItemLinks.Add(Me.BarButtonItem9)
|
||||
Me.RibbonPageGroup2.Name = "RibbonPageGroup2"
|
||||
Me.RibbonPageGroup2.Text = "RibbonPageGroup2"
|
||||
'
|
||||
'RibbonPage_ClipboardWatcher
|
||||
'
|
||||
Me.RibbonPage_ClipboardWatcher.Groups.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPageGroup() {Me.RibbonGroup_ClipboardWatcher_Profile, Me.RibbonGroup_ClipboardWatcher_DocSearch, Me.RibbonGroup_ClipboardWatcher_DataSearch, Me.RibbonGroup_ClipboardWatcher_Process, Me.RibbonGroup_ClipboardWatcher_Window, Me.RibbonGroup_ClipboardWatcher_Control})
|
||||
@@ -380,10 +401,10 @@ Partial Class frmAdmin_Start
|
||||
'
|
||||
Me.RibbonStatusBar1.ItemLinks.Add(Me.labelStatus)
|
||||
Me.RibbonStatusBar1.ItemLinks.Add(Me.labelError)
|
||||
Me.RibbonStatusBar1.Location = New System.Drawing.Point(0, 729)
|
||||
Me.RibbonStatusBar1.Location = New System.Drawing.Point(0, 727)
|
||||
Me.RibbonStatusBar1.Name = "RibbonStatusBar1"
|
||||
Me.RibbonStatusBar1.Ribbon = Me.RibbonControl1
|
||||
Me.RibbonStatusBar1.Size = New System.Drawing.Size(1328, 22)
|
||||
Me.RibbonStatusBar1.Size = New System.Drawing.Size(1328, 24)
|
||||
'
|
||||
'RibbonPage2
|
||||
'
|
||||
@@ -403,6 +424,7 @@ Partial Class frmAdmin_Start
|
||||
Me.TreeListMenu.AppendNode(New Object() {"IDB"}, -1)
|
||||
Me.TreeListMenu.AppendNode(New Object() {"Attributes"}, 0, 2, 2, -1, "IDB_ATTRIBUTES")
|
||||
Me.TreeListMenu.AppendNode(New Object() {"Business Entities"}, 0, 1, 1, -1, "IDB_ENTITIES")
|
||||
Me.TreeListMenu.AppendNode(New Object() {"Source SQL"}, 0, 3, 3, -1, "SOURCE_SQL")
|
||||
Me.TreeListMenu.AppendNode(New Object() {"Global Indexer"}, -1, "GLOBIX")
|
||||
Me.TreeListMenu.AppendNode(New Object() {"Clipboard Watcher"}, -1, "CLIPBOARD_WATCHER")
|
||||
Me.TreeListMenu.EndUnboundLoad()
|
||||
@@ -412,7 +434,7 @@ Partial Class frmAdmin_Start
|
||||
Me.TreeListMenu.OptionsView.ShowIndicator = False
|
||||
Me.TreeListMenu.OptionsView.ShowVertLines = False
|
||||
Me.TreeListMenu.SelectImageList = Me.SvgImageCollection1
|
||||
Me.TreeListMenu.Size = New System.Drawing.Size(193, 521)
|
||||
Me.TreeListMenu.Size = New System.Drawing.Size(193, 540)
|
||||
Me.TreeListMenu.TabIndex = 8
|
||||
'
|
||||
'TreeListColumn1
|
||||
@@ -428,6 +450,7 @@ Partial Class frmAdmin_Start
|
||||
Me.SvgImageCollection1.Add("shopping_box", "image://svgimages/icon builder/shopping_box.svg")
|
||||
Me.SvgImageCollection1.Add("bo_organization", "image://svgimages/business objects/bo_organization.svg")
|
||||
Me.SvgImageCollection1.Add("bo_appearance", "image://svgimages/business objects/bo_appearance.svg")
|
||||
Me.SvgImageCollection1.Add("managedatasource", "image://svgimages/spreadsheet/managedatasource.svg")
|
||||
'
|
||||
'DockManager1
|
||||
'
|
||||
@@ -440,18 +463,18 @@ Partial Class frmAdmin_Start
|
||||
Me.DockPanel1.Controls.Add(Me.DockPanel1_Container)
|
||||
Me.DockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left
|
||||
Me.DockPanel1.ID = New System.Guid("ce81b5b5-eff5-4006-8018-548aa8413799")
|
||||
Me.DockPanel1.Location = New System.Drawing.Point(0, 159)
|
||||
Me.DockPanel1.Location = New System.Drawing.Point(0, 158)
|
||||
Me.DockPanel1.Name = "DockPanel1"
|
||||
Me.DockPanel1.OriginalSize = New System.Drawing.Size(200, 200)
|
||||
Me.DockPanel1.Size = New System.Drawing.Size(200, 570)
|
||||
Me.DockPanel1.Size = New System.Drawing.Size(200, 569)
|
||||
Me.DockPanel1.Text = "Übersicht"
|
||||
'
|
||||
'DockPanel1_Container
|
||||
'
|
||||
Me.DockPanel1_Container.Controls.Add(Me.TreeListMenu)
|
||||
Me.DockPanel1_Container.Location = New System.Drawing.Point(3, 46)
|
||||
Me.DockPanel1_Container.Location = New System.Drawing.Point(3, 26)
|
||||
Me.DockPanel1_Container.Name = "DockPanel1_Container"
|
||||
Me.DockPanel1_Container.Size = New System.Drawing.Size(193, 521)
|
||||
Me.DockPanel1_Container.Size = New System.Drawing.Size(193, 540)
|
||||
Me.DockPanel1_Container.TabIndex = 0
|
||||
'
|
||||
'TBIDB_ATTRIBUTEBindingSource
|
||||
@@ -490,7 +513,7 @@ Partial Class frmAdmin_Start
|
||||
'
|
||||
Me.XtraTabPage_IDB.Controls.Add(Me.XtraTabControlIDB)
|
||||
Me.XtraTabPage_IDB.Name = "XtraTabPage_IDB"
|
||||
Me.XtraTabPage_IDB.Size = New System.Drawing.Size(1126, 547)
|
||||
Me.XtraTabPage_IDB.Size = New System.Drawing.Size(1126, 544)
|
||||
Me.XtraTabPage_IDB.Text = "IDB"
|
||||
'
|
||||
'XtraTabControlIDB
|
||||
@@ -499,15 +522,15 @@ Partial Class frmAdmin_Start
|
||||
Me.XtraTabControlIDB.Location = New System.Drawing.Point(0, 0)
|
||||
Me.XtraTabControlIDB.Name = "XtraTabControlIDB"
|
||||
Me.XtraTabControlIDB.SelectedTabPage = Me.XtraTabPageIDB_Attributes_New
|
||||
Me.XtraTabControlIDB.Size = New System.Drawing.Size(1126, 547)
|
||||
Me.XtraTabControlIDB.Size = New System.Drawing.Size(1126, 544)
|
||||
Me.XtraTabControlIDB.TabIndex = 0
|
||||
Me.XtraTabControlIDB.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.XtraTabPageIDB_Attributes_New, Me.XtraTabPageIDB_Attributes, Me.XtraTabPage2})
|
||||
Me.XtraTabControlIDB.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.XtraTabPageIDB_Attributes_New, Me.XtraTabPageIDB_Attributes, Me.XtraTabPageIDB_SourceSQL})
|
||||
'
|
||||
'XtraTabPageIDB_Attributes_New
|
||||
'
|
||||
Me.XtraTabPageIDB_Attributes_New.Controls.Add(Me.GridAttributes)
|
||||
Me.XtraTabPageIDB_Attributes_New.Name = "XtraTabPageIDB_Attributes_New"
|
||||
Me.XtraTabPageIDB_Attributes_New.Size = New System.Drawing.Size(1124, 524)
|
||||
Me.XtraTabPageIDB_Attributes_New.Size = New System.Drawing.Size(1124, 519)
|
||||
Me.XtraTabPageIDB_Attributes_New.Text = "Attribute"
|
||||
'
|
||||
'GridAttributes
|
||||
@@ -517,7 +540,7 @@ Partial Class frmAdmin_Start
|
||||
Me.GridAttributes.MainView = Me.ViewAttributes
|
||||
Me.GridAttributes.MenuManager = Me.RibbonControl1
|
||||
Me.GridAttributes.Name = "GridAttributes"
|
||||
Me.GridAttributes.Size = New System.Drawing.Size(1124, 524)
|
||||
Me.GridAttributes.Size = New System.Drawing.Size(1124, 519)
|
||||
Me.GridAttributes.TabIndex = 0
|
||||
Me.GridAttributes.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.ViewAttributes})
|
||||
'
|
||||
@@ -551,7 +574,7 @@ Partial Class frmAdmin_Start
|
||||
Me.XtraTabPageIDB_Attributes.Controls.Add(CHANGED_WHENLabel)
|
||||
Me.XtraTabPageIDB_Attributes.Controls.Add(Me.CHANGED_WHENTextBox)
|
||||
Me.XtraTabPageIDB_Attributes.Name = "XtraTabPageIDB_Attributes"
|
||||
Me.XtraTabPageIDB_Attributes.Size = New System.Drawing.Size(1124, 524)
|
||||
Me.XtraTabPageIDB_Attributes.Size = New System.Drawing.Size(1124, 519)
|
||||
Me.XtraTabPageIDB_Attributes.Text = "Attributverwaltung"
|
||||
'
|
||||
'ComboBox1
|
||||
@@ -570,7 +593,7 @@ Partial Class frmAdmin_Start
|
||||
Me.GridControl1.MainView = Me.GridView1
|
||||
Me.GridControl1.MenuManager = Me.RibbonControl1
|
||||
Me.GridControl1.Name = "GridControl1"
|
||||
Me.GridControl1.Size = New System.Drawing.Size(282, 524)
|
||||
Me.GridControl1.Size = New System.Drawing.Size(282, 519)
|
||||
Me.GridControl1.TabIndex = 28
|
||||
Me.GridControl1.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.GridView1})
|
||||
'
|
||||
@@ -616,7 +639,7 @@ Partial Class frmAdmin_Start
|
||||
Me.GUIDTextBox.Location = New System.Drawing.Point(300, 28)
|
||||
Me.GUIDTextBox.Name = "GUIDTextBox"
|
||||
Me.GUIDTextBox.ReadOnly = True
|
||||
Me.GUIDTextBox.Size = New System.Drawing.Size(33, 22)
|
||||
Me.GUIDTextBox.Size = New System.Drawing.Size(33, 21)
|
||||
Me.GUIDTextBox.TabIndex = 1
|
||||
'
|
||||
'TITLETextBox
|
||||
@@ -624,7 +647,7 @@ Partial Class frmAdmin_Start
|
||||
Me.TITLETextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBIDB_ATTRIBUTEBindingSource, "TITLE", True))
|
||||
Me.TITLETextBox.Location = New System.Drawing.Point(354, 28)
|
||||
Me.TITLETextBox.Name = "TITLETextBox"
|
||||
Me.TITLETextBox.Size = New System.Drawing.Size(290, 22)
|
||||
Me.TITLETextBox.Size = New System.Drawing.Size(290, 21)
|
||||
Me.TITLETextBox.TabIndex = 3
|
||||
'
|
||||
'TYP_IDTextBox
|
||||
@@ -632,7 +655,7 @@ Partial Class frmAdmin_Start
|
||||
Me.TYP_IDTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBIDB_ATTRIBUTEBindingSource, "TYP_ID", True))
|
||||
Me.TYP_IDTextBox.Location = New System.Drawing.Point(777, 28)
|
||||
Me.TYP_IDTextBox.Name = "TYP_IDTextBox"
|
||||
Me.TYP_IDTextBox.Size = New System.Drawing.Size(104, 22)
|
||||
Me.TYP_IDTextBox.Size = New System.Drawing.Size(104, 21)
|
||||
Me.TYP_IDTextBox.TabIndex = 5
|
||||
'
|
||||
'MULTI_CONTEXTCheckBox
|
||||
@@ -650,7 +673,7 @@ Partial Class frmAdmin_Start
|
||||
Me.VIEW_SEQUENCETextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBIDB_ATTRIBUTEBindingSource, "VIEW_SEQUENCE", True))
|
||||
Me.VIEW_SEQUENCETextBox.Location = New System.Drawing.Point(450, 79)
|
||||
Me.VIEW_SEQUENCETextBox.Name = "VIEW_SEQUENCETextBox"
|
||||
Me.VIEW_SEQUENCETextBox.Size = New System.Drawing.Size(33, 22)
|
||||
Me.VIEW_SEQUENCETextBox.Size = New System.Drawing.Size(33, 21)
|
||||
Me.VIEW_SEQUENCETextBox.TabIndex = 9
|
||||
'
|
||||
'VIEW_VISIBLECheckBox
|
||||
@@ -668,7 +691,7 @@ Partial Class frmAdmin_Start
|
||||
Me.COMMENTTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBIDB_ATTRIBUTEBindingSource, "COMMENT", True))
|
||||
Me.COMMENTTextBox.Location = New System.Drawing.Point(354, 122)
|
||||
Me.COMMENTTextBox.Name = "COMMENTTextBox"
|
||||
Me.COMMENTTextBox.Size = New System.Drawing.Size(417, 22)
|
||||
Me.COMMENTTextBox.Size = New System.Drawing.Size(417, 21)
|
||||
Me.COMMENTTextBox.TabIndex = 13
|
||||
'
|
||||
'ADDED_WHOTextBox
|
||||
@@ -677,7 +700,7 @@ Partial Class frmAdmin_Start
|
||||
Me.ADDED_WHOTextBox.Location = New System.Drawing.Point(354, 164)
|
||||
Me.ADDED_WHOTextBox.Name = "ADDED_WHOTextBox"
|
||||
Me.ADDED_WHOTextBox.ReadOnly = True
|
||||
Me.ADDED_WHOTextBox.Size = New System.Drawing.Size(104, 22)
|
||||
Me.ADDED_WHOTextBox.Size = New System.Drawing.Size(104, 21)
|
||||
Me.ADDED_WHOTextBox.TabIndex = 15
|
||||
'
|
||||
'ADDED_WHENTextBox
|
||||
@@ -686,7 +709,7 @@ Partial Class frmAdmin_Start
|
||||
Me.ADDED_WHENTextBox.Location = New System.Drawing.Point(475, 164)
|
||||
Me.ADDED_WHENTextBox.Name = "ADDED_WHENTextBox"
|
||||
Me.ADDED_WHENTextBox.ReadOnly = True
|
||||
Me.ADDED_WHENTextBox.Size = New System.Drawing.Size(131, 22)
|
||||
Me.ADDED_WHENTextBox.Size = New System.Drawing.Size(131, 21)
|
||||
Me.ADDED_WHENTextBox.TabIndex = 17
|
||||
'
|
||||
'CHANGED_WHOTextBox
|
||||
@@ -695,7 +718,7 @@ Partial Class frmAdmin_Start
|
||||
Me.CHANGED_WHOTextBox.Location = New System.Drawing.Point(354, 204)
|
||||
Me.CHANGED_WHOTextBox.Name = "CHANGED_WHOTextBox"
|
||||
Me.CHANGED_WHOTextBox.ReadOnly = True
|
||||
Me.CHANGED_WHOTextBox.Size = New System.Drawing.Size(104, 22)
|
||||
Me.CHANGED_WHOTextBox.Size = New System.Drawing.Size(104, 21)
|
||||
Me.CHANGED_WHOTextBox.TabIndex = 19
|
||||
'
|
||||
'CHANGED_WHENTextBox
|
||||
@@ -704,40 +727,57 @@ Partial Class frmAdmin_Start
|
||||
Me.CHANGED_WHENTextBox.Location = New System.Drawing.Point(475, 204)
|
||||
Me.CHANGED_WHENTextBox.Name = "CHANGED_WHENTextBox"
|
||||
Me.CHANGED_WHENTextBox.ReadOnly = True
|
||||
Me.CHANGED_WHENTextBox.Size = New System.Drawing.Size(131, 22)
|
||||
Me.CHANGED_WHENTextBox.Size = New System.Drawing.Size(131, 21)
|
||||
Me.CHANGED_WHENTextBox.TabIndex = 21
|
||||
'
|
||||
'XtraTabPage2
|
||||
'XtraTabPageIDB_SourceSQL
|
||||
'
|
||||
Me.XtraTabPage2.Name = "XtraTabPage2"
|
||||
Me.XtraTabPage2.Size = New System.Drawing.Size(1124, 524)
|
||||
Me.XtraTabPage2.Text = "XtraTabPage2"
|
||||
Me.XtraTabPageIDB_SourceSQL.Controls.Add(Me.GridSourceSQL)
|
||||
Me.XtraTabPageIDB_SourceSQL.Name = "XtraTabPageIDB_SourceSQL"
|
||||
Me.XtraTabPageIDB_SourceSQL.Size = New System.Drawing.Size(1124, 519)
|
||||
Me.XtraTabPageIDB_SourceSQL.Text = "Source SQL"
|
||||
'
|
||||
'XtraTabPage_GlobalIndexer
|
||||
'
|
||||
Me.XtraTabPage_GlobalIndexer.Name = "XtraTabPage_GlobalIndexer"
|
||||
Me.XtraTabPage_GlobalIndexer.PageVisible = False
|
||||
Me.XtraTabPage_GlobalIndexer.Size = New System.Drawing.Size(1126, 547)
|
||||
Me.XtraTabPage_GlobalIndexer.Size = New System.Drawing.Size(1126, 544)
|
||||
Me.XtraTabPage_GlobalIndexer.Text = "Global Indexer"
|
||||
'
|
||||
'XtraTabPage_ClipboardWatcher
|
||||
'
|
||||
Me.XtraTabPage_ClipboardWatcher.Name = "XtraTabPage_ClipboardWatcher"
|
||||
Me.XtraTabPage_ClipboardWatcher.PageVisible = False
|
||||
Me.XtraTabPage_ClipboardWatcher.Size = New System.Drawing.Size(1126, 547)
|
||||
Me.XtraTabPage_ClipboardWatcher.Size = New System.Drawing.Size(1126, 544)
|
||||
Me.XtraTabPage_ClipboardWatcher.Text = "Clipboard Watcher"
|
||||
'
|
||||
'XtraTabControl
|
||||
'
|
||||
Me.XtraTabControl.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
Me.XtraTabControl.Location = New System.Drawing.Point(200, 159)
|
||||
Me.XtraTabControl.Location = New System.Drawing.Point(200, 158)
|
||||
Me.XtraTabControl.Name = "XtraTabControl"
|
||||
Me.XtraTabControl.SelectedTabPage = Me.XtraTabPage_IDB
|
||||
Me.XtraTabControl.ShowTabHeader = DevExpress.Utils.DefaultBoolean.[True]
|
||||
Me.XtraTabControl.Size = New System.Drawing.Size(1128, 570)
|
||||
Me.XtraTabControl.Size = New System.Drawing.Size(1128, 569)
|
||||
Me.XtraTabControl.TabIndex = 4
|
||||
Me.XtraTabControl.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.XtraTabPage_ClipboardWatcher, Me.XtraTabPage_GlobalIndexer, Me.XtraTabPage_IDB})
|
||||
'
|
||||
'GridSourceSQL
|
||||
'
|
||||
Me.GridSourceSQL.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
Me.GridSourceSQL.Location = New System.Drawing.Point(0, 0)
|
||||
Me.GridSourceSQL.MainView = Me.ViewSourceSQL
|
||||
Me.GridSourceSQL.MenuManager = Me.RibbonControl1
|
||||
Me.GridSourceSQL.Name = "GridSourceSQL"
|
||||
Me.GridSourceSQL.Size = New System.Drawing.Size(1124, 519)
|
||||
Me.GridSourceSQL.TabIndex = 0
|
||||
Me.GridSourceSQL.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.ViewSourceSQL})
|
||||
'
|
||||
'ViewSourceSQL
|
||||
'
|
||||
Me.ViewSourceSQL.GridControl = Me.GridSourceSQL
|
||||
Me.ViewSourceSQL.Name = "ViewSourceSQL"
|
||||
'
|
||||
'frmAdmin_Start
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
@@ -771,8 +811,11 @@ Partial Class frmAdmin_Start
|
||||
Me.XtraTabPageIDB_Attributes.PerformLayout()
|
||||
CType(Me.GridControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.GridView1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.XtraTabPageIDB_SourceSQL.ResumeLayout(False)
|
||||
CType(Me.XtraTabControl, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.XtraTabControl.ResumeLayout(False)
|
||||
CType(Me.GridSourceSQL, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.ViewSourceSQL, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
@@ -843,8 +886,12 @@ Partial Class frmAdmin_Start
|
||||
Friend WithEvents ADDED_WHENTextBox As TextBox
|
||||
Friend WithEvents CHANGED_WHOTextBox As TextBox
|
||||
Friend WithEvents CHANGED_WHENTextBox As TextBox
|
||||
Friend WithEvents XtraTabPage2 As DevExpress.XtraTab.XtraTabPage
|
||||
Friend WithEvents XtraTabPageIDB_SourceSQL As DevExpress.XtraTab.XtraTabPage
|
||||
Friend WithEvents BarButtonItem6 As DevExpress.XtraBars.BarButtonItem
|
||||
Friend WithEvents BarButtonItem7 As DevExpress.XtraBars.BarButtonItem
|
||||
Friend WithEvents BarButtonItem8 As DevExpress.XtraBars.BarButtonItem
|
||||
Friend WithEvents BarButtonItem9 As DevExpress.XtraBars.BarButtonItem
|
||||
Friend WithEvents RibbonPageGroup2 As DevExpress.XtraBars.Ribbon.RibbonPageGroup
|
||||
Friend WithEvents GridSourceSQL As DevExpress.XtraGrid.GridControl
|
||||
Friend WithEvents ViewSourceSQL As DevExpress.XtraGrid.Views.Grid.GridView
|
||||
End Class
|
||||
|
||||
@@ -294,15 +294,12 @@
|
||||
<metadata name="SvgImageCollection1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>22, 21</value>
|
||||
</metadata>
|
||||
<metadata name="SvgImageCollection1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>22, 21</value>
|
||||
</metadata>
|
||||
<metadata name="DockManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>352, 21</value>
|
||||
</metadata>
|
||||
<metadata name="TBIDB_ATTRIBUTEBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>647, 21</value>
|
||||
</metadata>
|
||||
<metadata name="DSIDB_Stammdaten.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>487, 21</value>
|
||||
</metadata>
|
||||
<data name="frmAdmin_Start.IconOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||
@@ -326,6 +323,12 @@
|
||||
LjEsMjguMSwyNy42LDI3LjZ6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgPC9nPg0KPC9zdmc+Cw==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="TBIDB_ATTRIBUTEBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>647, 21</value>
|
||||
</metadata>
|
||||
<metadata name="DSIDB_Stammdaten.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>487, 21</value>
|
||||
</metadata>
|
||||
<metadata name="DSIDB_Stammdaten.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>487, 21</value>
|
||||
</metadata>
|
||||
|
||||
@@ -15,6 +15,7 @@ Public Class frmAdmin_Start
|
||||
Private Const IDB_BUSINESS_ENTITY = "IDB_BUSINESS_ENTITY"
|
||||
Private Const GLOBIX = "GLOBIX"
|
||||
Private Const CLIPBOARD_WATCHER = "CLIPBOARD_WATCHER"
|
||||
Private Const SOURCE_SQL = "SOURCE_SQL"
|
||||
|
||||
Private PrimaryKey As String = Nothing
|
||||
Private SourceCommands As New Dictionary(Of String, SourceSql)
|
||||
@@ -28,7 +29,7 @@ Public Class frmAdmin_Start
|
||||
End Class
|
||||
|
||||
Private Sub frmAdministration_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||
Load_SourceSql()
|
||||
Load_SQLData()
|
||||
|
||||
TreeListMenu.ExpandAll()
|
||||
|
||||
@@ -36,7 +37,7 @@ Public Class frmAdmin_Start
|
||||
XtraTabControl.ShowTabHeader = DefaultBoolean.False
|
||||
End Sub
|
||||
|
||||
Private Sub Load_SourceSql()
|
||||
Private Sub Load_SQLData()
|
||||
Dim oTable As DataTable = My.Database.GetDatatable("SELECT * FROM TBZF_ADMIN_SOURCE_SQL")
|
||||
|
||||
For Each oRow As DataRow In oTable.Rows
|
||||
@@ -109,6 +110,13 @@ Public Class frmAdmin_Start
|
||||
Display_Tab(XtraTabPage_ClipboardWatcher, XtraTabControl)
|
||||
Display_RibbonPage(RibbonPage_ClipboardWatcher)
|
||||
|
||||
Case SOURCE_SQL
|
||||
Display_Tab(XtraTabPage_IDB, XtraTabControl)
|
||||
Display_Tab(XtraTabPageIDB_SourceSQL, XtraTabControlIDB)
|
||||
|
||||
Dim oTable As DataTable = My.Database.GetDatatable(oSource.SQL)
|
||||
Load_Grid(oTable, oSource.PrimaryKey, GridSourceSQL)
|
||||
|
||||
End Select
|
||||
Catch ex As Exception
|
||||
ShowError(ex)
|
||||
@@ -177,15 +185,24 @@ Public Class frmAdmin_Start
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Private Sub ViewAttributes_DoubleClick(sender As Object, e As EventArgs) Handles ViewAttributes.DoubleClick
|
||||
Dim view As GridView = TryCast(sender, GridView)
|
||||
Dim hitInfo As GridHitInfo = view.CalcHitInfo((TryCast(e, DXMouseEventArgs)).Location)
|
||||
Private Sub View_DoubleClick(sender As Object, e As EventArgs) Handles ViewAttributes.DoubleClick, ViewSourceSQL.DoubleClick
|
||||
Dim oView As GridView = TryCast(sender, GridView)
|
||||
Dim hitInfo As GridHitInfo = oView.CalcHitInfo(TryCast(e, DXMouseEventArgs).Location)
|
||||
If hitInfo.InDataRow Then
|
||||
Try
|
||||
Dim oRow As DataRow = ViewAttributes.GetFocusedDataRow
|
||||
Dim oRow As DataRow = oView.GetFocusedDataRow
|
||||
If oRow IsNot Nothing Then
|
||||
Dim oPrimaryKey As Integer = oRow.Item(PrimaryKey)
|
||||
LoadAttribute(oPrimaryKey)
|
||||
|
||||
Select Case oView.Name
|
||||
Case ViewAttributes.Name
|
||||
Load_Attributes(oPrimaryKey)
|
||||
|
||||
Case ViewSourceSQL.Name
|
||||
Load_SourceSql(oPrimaryKey)
|
||||
|
||||
End Select
|
||||
|
||||
End If
|
||||
Catch ex As Exception
|
||||
ShowError(ex)
|
||||
@@ -193,7 +210,7 @@ Public Class frmAdmin_Start
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub LoadAttribute(PrimaryKey As Integer)
|
||||
Private Sub Load_Attributes(PrimaryKey As Integer)
|
||||
Try
|
||||
Dim oForm As New frmAdmin_IDBAttribute(PrimaryKey)
|
||||
oForm.ShowDialog()
|
||||
@@ -208,12 +225,27 @@ Public Class frmAdmin_Start
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Private Sub Load_SourceSql(PrimaryKey As Integer)
|
||||
Try
|
||||
Dim oForm As New frmAdmin_SourceSQL(PrimaryKey)
|
||||
oForm.ShowDialog()
|
||||
|
||||
If oForm.HasChanges Then
|
||||
Dim oSource As SourceSql = SourceCommands.Item(CurrentPage)
|
||||
Dim oTable As DataTable = My.Database.GetDatatable(oSource.SQL)
|
||||
Load_Grid(oTable, oSource.PrimaryKey, GridSourceSQL)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
ShowError(ex)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Private Sub BarButtonItem7_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem7.ItemClick
|
||||
Try
|
||||
Dim oRow As DataRow = ViewAttributes.GetFocusedDataRow
|
||||
If oRow IsNot Nothing Then
|
||||
Dim oPrimaryKey As Integer = oRow.Item(PrimaryKey)
|
||||
LoadAttribute(oPrimaryKey)
|
||||
Load_Attributes(oPrimaryKey)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
ShowError(ex)
|
||||
|
||||
Reference in New Issue
Block a user