implement search by control bounds

This commit is contained in:
Jonathan Jenne 2019-09-19 16:20:09 +02:00
parent 88bae3ee92
commit a765fe4cce
13 changed files with 1673 additions and 416 deletions

View File

@ -2,6 +2,7 @@
Imports DD_Clipboard_Watcher.ClassWindowAPI
Imports DigitalData.Modules.Language.Utils
Imports System.Windows.Automation
Imports DigitalData.Modules.Windows
Public Class ClassProfileFilter
Private _ProfileTable As DataTable
@ -49,12 +50,23 @@ Public Class ClassProfileFilter
Class ControlData
Public Guid As Integer
Public WINDOW_ID As Integer
Public WindowId As Integer
Public Description As String
Public Regex As String
Public AutomationId As String
Public ControlName As String
Public IsMatched As Boolean = False
Public TopLeft As ControlBounds
Public TopRight As ControlBounds
Public BottomLeft As ControlBounds
Public BottomRight As ControlBounds
End Class
Class ControlBounds
Public Top As Integer
Public Bottom As Integer
Public Left As Integer
Public Right As Integer
End Class
' TODO: Fill this Class!!!! :D
@ -251,6 +263,55 @@ Public Class ClassProfileFilter
Return oProfiles
End Function
Public Function FilterProfilesByFocusedControlLocation(Profiles As List(Of ProfileData), ClipboardContents As String, WindowHandle As IntPtr) As List(Of ProfileData)
Dim oFilteredProfiles As New List(Of ProfileData)
Dim oWindow As New Window(LogConfig)
For Each oProfile In Profiles
If oProfile.IsMatched = False Then Continue For
If oProfile.Controls.Count = 0 Then
oFilteredProfiles.Add(oProfile)
Continue For
End If
Dim oControls As New List(Of ControlData)
For Each oControl In oProfile.Controls
Dim oControlBounds = oWindow.GetFocusedControlLocation(WindowHandle)
For Each oItem As KeyValuePair(Of String, Window.RectangleInfo) In oControlBounds
Select Case oItem.Key
Case "TOPLEFT"
If oControl.TopLeft.Top = oItem.Value.Top And oControl.TopLeft.Left = oItem.Value.Left Then
oFilteredProfiles.Add(oProfile)
End If
Case "TOPRIGHT"
If oControl.TopRight.Top = oItem.Value.Top And oControl.TopLeft.Right = oItem.Value.Right Then
oFilteredProfiles.Add(oProfile)
End If
Case "BOTTOMLEFT"
If oControl.BottomLeft.Bottom = oItem.Value.Bottom And oControl.TopLeft.Left = oItem.Value.Left Then
oFilteredProfiles.Add(oProfile)
End If
Case "BOTTOMRIGHT"
If oControl.BottomRight.Bottom = oItem.Value.Bottom And oControl.TopLeft.Right = oItem.Value.Right Then
oFilteredProfiles.Add(oProfile)
End If
End Select
Next
Next
If oControls.Count > 0 Then
oProfile.Controls = oControls
oFilteredProfiles.Add(oProfile)
End If
Next
Return oFilteredProfiles
End Function
Public Function FilterWindowsByWindowClipboardRegex(Profiles As List(Of ProfileData), ClipboardContents As String) As List(Of ProfileData)
Dim oProfiles As New List(Of ProfileData)
@ -338,7 +399,7 @@ Public Class ClassProfileFilter
Dim oControlsForMatchedWindow As New List(Of ControlData)
For Each oControl In oProfileMatchedSofar.Controls
If oControl.WINDOW_ID = oProfileMatchedSofar.MatchedWindowID Then
If oControl.WindowId = oProfileMatchedSofar.MatchedWindowID Then
oControlsForMatchedWindow.Add(oControl)
End If
Next
@ -363,8 +424,8 @@ Public Class ClassProfileFilter
For Each oControlDefinition In oControlsForMatchedWindow
Try
If oControlDefinition.WINDOW_ID <> oProfileMatchedSofar.MatchedWindowID Then
Logger.Debug("Current WindowId {0} does not match Control WindowId {1}. Skipping.", oProfileMatchedSofar.MatchedWindowID, oControlDefinition.WINDOW_ID)
If oControlDefinition.WindowId <> oProfileMatchedSofar.MatchedWindowID Then
Logger.Debug("Current WindowId {0} does not match Control WindowId {1}. Skipping.", oProfileMatchedSofar.MatchedWindowID, oControlDefinition.WindowId)
Continue For
End If
@ -511,10 +572,33 @@ Public Class ClassProfileFilter
If oRow.Item("PROFILE_ID") = ProfileId Then
oControlList.Add(New ControlData() With {
.Guid = oRow.Item("GUID"),
.Description = NotNull(oRow.Item("DESCRIPTION"), String.Empty),
.Regex = NotNull(oRow.Item("REGEX"), String.Empty),
.AutomationId = NotNull(oRow.Item("AUTOMATION_ID"), String.Empty),
.WINDOW_ID = oRow.Item("WINDOW_ID")
.Description = NotNull(oRow.Item("DESCRIPTION"), String.Empty),
.Regex = NotNull(oRow.Item("REGEX"), String.Empty),
.WindowId = oRow.Item("WINDOW_ID"),
.TopLeft = New ControlBounds() With {
.Left = oRow.Item("TOPLEFT_LEFT"),
.Right = oRow.Item("TOPLEFT_RIGHT"),
.Top = oRow.Item("TOPLEFT_TOP"),
.Bottom = oRow.Item("TOPLEFT_BOTTOM")
},
.TopRight = New ControlBounds() With {
.Left = oRow.Item("TOPRIGHT_LEFT"),
.Right = oRow.Item("TOPRIGHT_RIGHT"),
.Top = oRow.Item("TOPRIGHT_TOP"),
.Bottom = oRow.Item("TOPRIGHT_BOTTOM")
},
.BottomLeft = New ControlBounds() With {
.Left = oRow.Item("BOTTOMLEFT_LEFT"),
.Right = oRow.Item("BOTTOMLEFT_RIGHT"),
.Top = oRow.Item("BOTTOMLEFT_TOP"),
.Bottom = oRow.Item("BOTTOMLEFT_BOTTOM")
},
.BottomRight = New ControlBounds() With {
.Left = oRow.Item("BOTTOMRIGHT_LEFT"),
.Right = oRow.Item("BOTTOMRIGHT_RIGHT"),
.Top = oRow.Item("BOTTOMRIGHT_TOP"),
.Bottom = oRow.Item("BOTTOMRIGHT_BOTTOM")
}
})
End If
Next
@ -526,10 +610,10 @@ Public Class ClassProfileFilter
For Each oRow As DataRow In ProcessDatatable.Rows
oProcessList.Add(New ProcessData() With {
.Guid = oRow.Item("GUID"),
.PROFILE_ID = oRow.Item("PROFILE_ID"),
.ProcessName = NotNull(oRow.Item("PROC_NAME"), String.Empty)
})
.Guid = oRow.Item("GUID"),
.PROFILE_ID = oRow.Item("PROFILE_ID"),
.ProcessName = NotNull(oRow.Item("PROC_NAME"), String.Empty)
})
Next

View File

@ -0,0 +1,43 @@
Imports DD_Clipboard_Watcher.ClassProfileFilter
Public Class ClassProfileMatch
Private TreeView As TreeView
Private ImageList As ImageList
Public Sub New(TreeView As TreeView, ImageList As ImageList)
Me.TreeView = TreeView
Me.ImageList = ImageList
Me.TreeView.Nodes.Clear()
Me.TreeView.ImageList = ImageList
Me.TreeView.SelectedImageIndex = 0
End Sub
Public Function AddProfileNode(Profile As ProfileData) As TreeNode
Dim oNode As New TreeNode With {
.ImageIndex = 0,
.Tag = $"{Profile.Name}-ROOT",
.Text = $"Profile: {Profile.Name}"
}
TreeView.Nodes.Add(oNode)
Return oNode
End Function
Public Function AddProfileRegexNode(ParentNode As TreeNode, Profile As ProfileData, Regex As String, IsMatch As Boolean) As TreeNode
Dim oNode As New TreeNode With {
.ImageIndex = 1,
.Tag = $"{Profile.Name}-REGEX",
.Text = $"MATCH on Global Clipboard Regex: {Profile.Regex}"
}
ParentNode.Nodes.Add(oNode)
Return oNode
End Function
Public Function FindNodeByTag(TagName As String) As TreeNode
End Function
End Class

View File

@ -87,6 +87,9 @@
<Reference Include="DigitalData.Modules.Logging">
<HintPath>..\..\..\DDMonorepo\Modules.Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
</Reference>
<Reference Include="DigitalData.Modules.Windows">
<HintPath>..\..\..\DDMonorepo\Windows\bin\Debug\DigitalData.Modules.Windows.dll</HintPath>
</Reference>
<Reference Include="GdPicture.NET.14">
<HintPath>D:\ProgramFiles\GdPicture.NET 14\Redist\GdPicture.NET\GdPicture.NET.14.dll</HintPath>
</Reference>
@ -133,6 +136,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="ClassAutomation.vb" />
<Compile Include="ClassProfileMatch.vb" />
<Compile Include="ClassWindow.vb" />
<Compile Include="ClassConfig.vb" />
<Compile Include="ClassConstants.vb" />

File diff suppressed because it is too large Load Diff

View File

@ -690,34 +690,77 @@ SELECT GUID, BEZEICHNUNG, SQL_PROVIDER, SERVER, DATENBANK, USERNAME, PASSWORD, B
<MainSource>
<DbSource ConnectionRef="DD_ECMConnectionString (MySettings)" DbObjectName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>DELETE FROM TBCW_PROF_REL_CONTROL
WHERE (GUID = @Original_GUID)</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [TBCW_PROF_REL_CONTROL] WHERE (([GUID] = @Original_GUID) AND ([WINDOW_ID] = @Original_WINDOW_ID) AND ([DESCRIPTION] = @Original_DESCRIPTION) AND ([REGEX] = @Original_REGEX) AND ([SEQUENCE] = @Original_SEQUENCE) AND ([ADDED_WHO] = @Original_ADDED_WHO) AND ((@IsNull_ADDED_WHEN = 1 AND [ADDED_WHEN] IS NULL) OR ([ADDED_WHEN] = @Original_ADDED_WHEN)) AND ((@IsNull_CHANGED_WHO = 1 AND [CHANGED_WHO] IS NULL) OR ([CHANGED_WHO] = @Original_CHANGED_WHO)) AND ((@IsNull_CHANGED_WHEN = 1 AND [CHANGED_WHEN] IS NULL) OR ([CHANGED_WHEN] = @Original_CHANGED_WHEN)) AND ([TOPLEFT_TOP] = @Original_TOPLEFT_TOP) AND ([TOPLEFT_LEFT] = @Original_TOPLEFT_LEFT) AND ([TOPLEFT_RIGHT] = @Original_TOPLEFT_RIGHT) AND ([TOPLEFT_BOTTOM] = @Original_TOPLEFT_BOTTOM) AND ([TOPRIGHT_TOP] = @Original_TOPRIGHT_TOP) AND ([TOPRIGHT_LEFT] = @Original_TOPRIGHT_LEFT) AND ([TOPRIGHT_RIGHT] = @Original_TOPRIGHT_RIGHT) AND ([TOPRIGHT_BOTTOM] = @Original_TOPRIGHT_BOTTOM) AND ([BOTTOMLEFT_TOP] = @Original_BOTTOMLEFT_TOP) AND ([BOTTOMLEFT_LEFT] = @Original_BOTTOMLEFT_LEFT) AND ([BOTTOMLEFT_RIGHT] = @Original_BOTTOMLEFT_RIGHT) AND ([BOTTOMLEFT_BOTTOM] = @Original_BOTTOMLEFT_BOTTOM) AND ([BOTTOMRIGHT_TOP] = @Original_BOTTOMRIGHT_TOP) AND ([BOTTOMRIGHT_LEFT] = @Original_BOTTOMRIGHT_LEFT) AND ([BOTTOMRIGHT_RIGHT] = @Original_BOTTOMRIGHT_RIGHT) AND ([BOTTOMRIGHT_BOTTOM] = @Original_BOTTOMRIGHT_BOTTOM))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="Original_GUID" ColumnName="GUID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_GUID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_GUID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_WINDOW_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WINDOW_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_REGEX" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REGEX" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_SEQUENCE" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SEQUENCE" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ADDED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ADDED_WHO" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ADDED_WHEN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ADDED_WHEN" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ADDED_WHEN" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ADDED_WHEN" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CHANGED_WHO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CHANGED_WHO" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CHANGED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CHANGED_WHO" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CHANGED_WHEN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CHANGED_WHEN" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CHANGED_WHEN" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CHANGED_WHEN" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPLEFT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_TOP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPLEFT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_LEFT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPLEFT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPLEFT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPRIGHT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_TOP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPRIGHT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_LEFT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPRIGHT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPRIGHT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMLEFT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_TOP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMLEFT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_LEFT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMLEFT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMLEFT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMRIGHT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_TOP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMRIGHT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_LEFT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMRIGHT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMRIGHT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO TBCW_PROF_REL_CONTROL
(WINDOW_ID, DESCRIPTION, AUTOMATION_ID, FRAMEWORK_ID, REGEX, SEQUENCE, ADDED_WHO)
VALUES (@WINDOW_ID,@DESCRIPTION,@AUTOMATION_ID,@FRAMEWORK_ID,@REGEX,@SEQUENCE,@ADDED_WHO);
SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FRAMEWORK_ID, REGEX, SEQUENCE, ADDED_WHO, ADDED_WHEN, CHANGED_WHO, CHANGED_WHEN FROM TBCW_PROF_REL_CONTROL WHERE (GUID = SCOPE_IDENTITY())</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [TBCW_PROF_REL_CONTROL] ([WINDOW_ID], [DESCRIPTION], [REGEX], [SEQUENCE], [ADDED_WHO], [ADDED_WHEN], [CHANGED_WHO], [CHANGED_WHEN], [TOPLEFT_TOP], [TOPLEFT_LEFT], [TOPLEFT_RIGHT], [TOPLEFT_BOTTOM], [TOPRIGHT_TOP], [TOPRIGHT_LEFT], [TOPRIGHT_RIGHT], [TOPRIGHT_BOTTOM], [BOTTOMLEFT_TOP], [BOTTOMLEFT_LEFT], [BOTTOMLEFT_RIGHT], [BOTTOMLEFT_BOTTOM], [BOTTOMRIGHT_TOP], [BOTTOMRIGHT_LEFT], [BOTTOMRIGHT_RIGHT], [BOTTOMRIGHT_BOTTOM]) VALUES (@WINDOW_ID, @DESCRIPTION, @REGEX, @SEQUENCE, @ADDED_WHO, @ADDED_WHEN, @CHANGED_WHO, @CHANGED_WHEN, @TOPLEFT_TOP, @TOPLEFT_LEFT, @TOPLEFT_RIGHT, @TOPLEFT_BOTTOM, @TOPRIGHT_TOP, @TOPRIGHT_LEFT, @TOPRIGHT_RIGHT, @TOPRIGHT_BOTTOM, @BOTTOMLEFT_TOP, @BOTTOMLEFT_LEFT, @BOTTOMLEFT_RIGHT, @BOTTOMLEFT_BOTTOM, @BOTTOMRIGHT_TOP, @BOTTOMRIGHT_LEFT, @BOTTOMRIGHT_RIGHT, @BOTTOMRIGHT_BOTTOM);
SELECT GUID, WINDOW_ID, DESCRIPTION, REGEX, SEQUENCE, ADDED_WHO, ADDED_WHEN, CHANGED_WHO, CHANGED_WHEN, TOPLEFT_TOP, TOPLEFT_LEFT, TOPLEFT_RIGHT, TOPLEFT_BOTTOM, TOPRIGHT_TOP, TOPRIGHT_LEFT, TOPRIGHT_RIGHT, TOPRIGHT_BOTTOM, BOTTOMLEFT_TOP, BOTTOMLEFT_LEFT, BOTTOMLEFT_RIGHT, BOTTOMLEFT_BOTTOM, BOTTOMRIGHT_TOP, BOTTOMRIGHT_LEFT, BOTTOMRIGHT_RIGHT, BOTTOMRIGHT_BOTTOM FROM TBCW_PROF_REL_CONTROL WHERE (GUID = SCOPE_IDENTITY()) ORDER BY SEQUENCE</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="WINDOW_ID" ColumnName="WINDOW_ID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@WINDOW_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="WINDOW_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="DESCRIPTION" ColumnName="DESCRIPTION" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(250)" DbType="AnsiString" Direction="Input" ParameterName="@DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="250" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="AUTOMATION_ID" ColumnName="AUTOMATION_ID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@AUTOMATION_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="AUTOMATION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="FRAMEWORK_ID" ColumnName="FRAMEWORK_ID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@FRAMEWORK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="FRAMEWORK_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="REGEX" ColumnName="REGEX" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(500)" DbType="AnsiString" Direction="Input" ParameterName="@REGEX" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumn="REGEX" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="SEQUENCE" ColumnName="SEQUENCE" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@SEQUENCE" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="SEQUENCE" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="ADDED_WHO" ColumnName="ADDED_WHO" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@ADDED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="ADDED_WHO" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@WINDOW_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WINDOW_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@REGEX" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REGEX" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@SEQUENCE" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SEQUENCE" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ADDED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ADDED_WHO" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ADDED_WHEN" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ADDED_WHEN" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CHANGED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CHANGED_WHO" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CHANGED_WHEN" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CHANGED_WHEN" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPLEFT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_TOP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPLEFT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_LEFT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPLEFT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPLEFT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPRIGHT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_TOP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPRIGHT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_LEFT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPRIGHT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPRIGHT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMLEFT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_TOP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMLEFT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_LEFT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMLEFT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMLEFT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMRIGHT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_TOP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMRIGHT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_LEFT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMRIGHT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMRIGHT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT GUID, WINDOW_ID, DESCRIPTION, AUTOMATION_ID, FRAMEWORK_ID, REGEX, SEQUENCE, ADDED_WHO, ADDED_WHEN, CHANGED_WHO, CHANGED_WHEN
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT GUID, WINDOW_ID, DESCRIPTION, REGEX, SEQUENCE, ADDED_WHO, ADDED_WHEN, CHANGED_WHO, CHANGED_WHEN, TOPLEFT_TOP, TOPLEFT_LEFT, TOPLEFT_RIGHT, TOPLEFT_BOTTOM, TOPRIGHT_TOP,
TOPRIGHT_LEFT, TOPRIGHT_RIGHT, TOPRIGHT_BOTTOM, BOTTOMLEFT_TOP, BOTTOMLEFT_LEFT, BOTTOMLEFT_RIGHT, BOTTOMLEFT_BOTTOM, BOTTOMRIGHT_TOP, BOTTOMRIGHT_LEFT, BOTTOMRIGHT_RIGHT,
BOTTOMRIGHT_BOTTOM
FROM TBCW_PROF_REL_CONTROL
WHERE (WINDOW_ID = @WINDOW_ID)
ORDER BY SEQUENCE</CommandText>
@ -727,20 +770,63 @@ ORDER BY SEQUENCE</CommandText>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE TBCW_PROF_REL_CONTROL
SET WINDOW_ID = @WINDOW_ID, DESCRIPTION = @DESCRIPTION, AUTOMATION_ID = @AUTOMATION_ID, FRAMEWORK_ID = @FRAMEWORK_ID, REGEX = @REGEX, SEQUENCE = @SEQUENCE
WHERE (GUID = @Original_GUID);
SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FRAMEWORK_ID, REGEX, SEQUENCE, ADDED_WHO, ADDED_WHEN, CHANGED_WHO, CHANGED_WHEN FROM TBCW_PROF_REL_CONTROL WHERE (GUID = @GUID)</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [TBCW_PROF_REL_CONTROL] SET [WINDOW_ID] = @WINDOW_ID, [DESCRIPTION] = @DESCRIPTION, [REGEX] = @REGEX, [SEQUENCE] = @SEQUENCE, [ADDED_WHO] = @ADDED_WHO, [ADDED_WHEN] = @ADDED_WHEN, [CHANGED_WHO] = @CHANGED_WHO, [CHANGED_WHEN] = @CHANGED_WHEN, [TOPLEFT_TOP] = @TOPLEFT_TOP, [TOPLEFT_LEFT] = @TOPLEFT_LEFT, [TOPLEFT_RIGHT] = @TOPLEFT_RIGHT, [TOPLEFT_BOTTOM] = @TOPLEFT_BOTTOM, [TOPRIGHT_TOP] = @TOPRIGHT_TOP, [TOPRIGHT_LEFT] = @TOPRIGHT_LEFT, [TOPRIGHT_RIGHT] = @TOPRIGHT_RIGHT, [TOPRIGHT_BOTTOM] = @TOPRIGHT_BOTTOM, [BOTTOMLEFT_TOP] = @BOTTOMLEFT_TOP, [BOTTOMLEFT_LEFT] = @BOTTOMLEFT_LEFT, [BOTTOMLEFT_RIGHT] = @BOTTOMLEFT_RIGHT, [BOTTOMLEFT_BOTTOM] = @BOTTOMLEFT_BOTTOM, [BOTTOMRIGHT_TOP] = @BOTTOMRIGHT_TOP, [BOTTOMRIGHT_LEFT] = @BOTTOMRIGHT_LEFT, [BOTTOMRIGHT_RIGHT] = @BOTTOMRIGHT_RIGHT, [BOTTOMRIGHT_BOTTOM] = @BOTTOMRIGHT_BOTTOM WHERE (([GUID] = @Original_GUID) AND ([WINDOW_ID] = @Original_WINDOW_ID) AND ([DESCRIPTION] = @Original_DESCRIPTION) AND ([REGEX] = @Original_REGEX) AND ([SEQUENCE] = @Original_SEQUENCE) AND ([ADDED_WHO] = @Original_ADDED_WHO) AND ((@IsNull_ADDED_WHEN = 1 AND [ADDED_WHEN] IS NULL) OR ([ADDED_WHEN] = @Original_ADDED_WHEN)) AND ((@IsNull_CHANGED_WHO = 1 AND [CHANGED_WHO] IS NULL) OR ([CHANGED_WHO] = @Original_CHANGED_WHO)) AND ((@IsNull_CHANGED_WHEN = 1 AND [CHANGED_WHEN] IS NULL) OR ([CHANGED_WHEN] = @Original_CHANGED_WHEN)) AND ([TOPLEFT_TOP] = @Original_TOPLEFT_TOP) AND ([TOPLEFT_LEFT] = @Original_TOPLEFT_LEFT) AND ([TOPLEFT_RIGHT] = @Original_TOPLEFT_RIGHT) AND ([TOPLEFT_BOTTOM] = @Original_TOPLEFT_BOTTOM) AND ([TOPRIGHT_TOP] = @Original_TOPRIGHT_TOP) AND ([TOPRIGHT_LEFT] = @Original_TOPRIGHT_LEFT) AND ([TOPRIGHT_RIGHT] = @Original_TOPRIGHT_RIGHT) AND ([TOPRIGHT_BOTTOM] = @Original_TOPRIGHT_BOTTOM) AND ([BOTTOMLEFT_TOP] = @Original_BOTTOMLEFT_TOP) AND ([BOTTOMLEFT_LEFT] = @Original_BOTTOMLEFT_LEFT) AND ([BOTTOMLEFT_RIGHT] = @Original_BOTTOMLEFT_RIGHT) AND ([BOTTOMLEFT_BOTTOM] = @Original_BOTTOMLEFT_BOTTOM) AND ([BOTTOMRIGHT_TOP] = @Original_BOTTOMRIGHT_TOP) AND ([BOTTOMRIGHT_LEFT] = @Original_BOTTOMRIGHT_LEFT) AND ([BOTTOMRIGHT_RIGHT] = @Original_BOTTOMRIGHT_RIGHT) AND ([BOTTOMRIGHT_BOTTOM] = @Original_BOTTOMRIGHT_BOTTOM));
SELECT GUID, WINDOW_ID, DESCRIPTION, REGEX, SEQUENCE, ADDED_WHO, ADDED_WHEN, CHANGED_WHO, CHANGED_WHEN, TOPLEFT_TOP, TOPLEFT_LEFT, TOPLEFT_RIGHT, TOPLEFT_BOTTOM, TOPRIGHT_TOP, TOPRIGHT_LEFT, TOPRIGHT_RIGHT, TOPRIGHT_BOTTOM, BOTTOMLEFT_TOP, BOTTOMLEFT_LEFT, BOTTOMLEFT_RIGHT, BOTTOMLEFT_BOTTOM, BOTTOMRIGHT_TOP, BOTTOMRIGHT_LEFT, BOTTOMRIGHT_RIGHT, BOTTOMRIGHT_BOTTOM FROM TBCW_PROF_REL_CONTROL WHERE (GUID = @GUID) ORDER BY SEQUENCE</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="WINDOW_ID" ColumnName="WINDOW_ID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@WINDOW_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="WINDOW_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="DESCRIPTION" ColumnName="DESCRIPTION" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(250)" DbType="AnsiString" Direction="Input" ParameterName="@DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="250" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="AUTOMATION_ID" ColumnName="AUTOMATION_ID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@AUTOMATION_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="AUTOMATION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="FRAMEWORK_ID" ColumnName="FRAMEWORK_ID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@FRAMEWORK_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="FRAMEWORK_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="REGEX" ColumnName="REGEX" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="varchar(500)" DbType="AnsiString" Direction="Input" ParameterName="@REGEX" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumn="REGEX" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="SEQUENCE" ColumnName="SEQUENCE" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@SEQUENCE" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="SEQUENCE" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_GUID" ColumnName="GUID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_GUID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="GUID" ColumnName="GUID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@GUID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@WINDOW_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WINDOW_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@REGEX" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REGEX" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@SEQUENCE" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SEQUENCE" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ADDED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ADDED_WHO" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ADDED_WHEN" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ADDED_WHEN" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CHANGED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CHANGED_WHO" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CHANGED_WHEN" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CHANGED_WHEN" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPLEFT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_TOP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPLEFT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_LEFT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPLEFT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPLEFT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPRIGHT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_TOP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPRIGHT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_LEFT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPRIGHT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOPRIGHT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMLEFT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_TOP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMLEFT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_LEFT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMLEFT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMLEFT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMRIGHT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_TOP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMRIGHT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_LEFT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMRIGHT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BOTTOMRIGHT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_GUID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_WINDOW_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WINDOW_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_REGEX" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REGEX" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_SEQUENCE" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SEQUENCE" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ADDED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ADDED_WHO" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ADDED_WHEN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ADDED_WHEN" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ADDED_WHEN" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ADDED_WHEN" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CHANGED_WHO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CHANGED_WHO" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CHANGED_WHO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CHANGED_WHO" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CHANGED_WHEN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CHANGED_WHEN" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CHANGED_WHEN" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CHANGED_WHEN" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPLEFT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_TOP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPLEFT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_LEFT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPLEFT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPLEFT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPLEFT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPRIGHT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_TOP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPRIGHT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_LEFT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPRIGHT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOPRIGHT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOPRIGHT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMLEFT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_TOP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMLEFT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_LEFT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMLEFT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMLEFT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMLEFT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMRIGHT_TOP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_TOP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMRIGHT_LEFT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_LEFT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMRIGHT_RIGHT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_RIGHT" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BOTTOMRIGHT_BOTTOM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BOTTOMRIGHT_BOTTOM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="GUID" ColumnName="GUID" DataSourceName="DD_ECM_TEST.dbo.TBCW_PROF_REL_CONTROL" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@GUID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="GUID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@ -756,8 +842,22 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
<Mapping SourceColumn="ADDED_WHEN" DataSetColumn="ADDED_WHEN" />
<Mapping SourceColumn="CHANGED_WHO" DataSetColumn="CHANGED_WHO" />
<Mapping SourceColumn="CHANGED_WHEN" DataSetColumn="CHANGED_WHEN" />
<Mapping SourceColumn="AUTOMATION_ID" DataSetColumn="AUTOMATION_ID" />
<Mapping SourceColumn="FRAMEWORK_ID" DataSetColumn="FRAMEWORK_ID" />
<Mapping SourceColumn="TOPLEFT_TOP" DataSetColumn="TOPLEFT_TOP" />
<Mapping SourceColumn="TOPLEFT_LEFT" DataSetColumn="TOPLEFT_LEFT" />
<Mapping SourceColumn="TOPLEFT_RIGHT" DataSetColumn="TOPLEFT_RIGHT" />
<Mapping SourceColumn="TOPLEFT_BOTTOM" DataSetColumn="TOPLEFT_BOTTOM" />
<Mapping SourceColumn="TOPRIGHT_TOP" DataSetColumn="TOPRIGHT_TOP" />
<Mapping SourceColumn="TOPRIGHT_LEFT" DataSetColumn="TOPRIGHT_LEFT" />
<Mapping SourceColumn="TOPRIGHT_RIGHT" DataSetColumn="TOPRIGHT_RIGHT" />
<Mapping SourceColumn="TOPRIGHT_BOTTOM" DataSetColumn="TOPRIGHT_BOTTOM" />
<Mapping SourceColumn="BOTTOMLEFT_TOP" DataSetColumn="BOTTOMLEFT_TOP" />
<Mapping SourceColumn="BOTTOMLEFT_LEFT" DataSetColumn="BOTTOMLEFT_LEFT" />
<Mapping SourceColumn="BOTTOMLEFT_RIGHT" DataSetColumn="BOTTOMLEFT_RIGHT" />
<Mapping SourceColumn="BOTTOMLEFT_BOTTOM" DataSetColumn="BOTTOMLEFT_BOTTOM" />
<Mapping SourceColumn="BOTTOMRIGHT_TOP" DataSetColumn="BOTTOMRIGHT_TOP" />
<Mapping SourceColumn="BOTTOMRIGHT_LEFT" DataSetColumn="BOTTOMRIGHT_LEFT" />
<Mapping SourceColumn="BOTTOMRIGHT_RIGHT" DataSetColumn="BOTTOMRIGHT_RIGHT" />
<Mapping SourceColumn="BOTTOMRIGHT_BOTTOM" DataSetColumn="BOTTOMRIGHT_BOTTOM" />
</Mappings>
<Sources />
</TableAdapter>
@ -769,7 +869,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
<xs:element name="MyDataset" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="MyDataset" msprop:Generator_UserDSName="MyDataset">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="TBCW_PROFILES" msprop:Generator_TableClassName="TBCW_PROFILESDataTable" msprop:Generator_TableVarName="tableTBCW_PROFILES" msprop:Generator_RowChangedName="TBCW_PROFILESRowChanged" msprop:Generator_TablePropName="TBCW_PROFILES" msprop:Generator_RowDeletingName="TBCW_PROFILESRowDeleting" msprop:Generator_RowChangingName="TBCW_PROFILESRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROFILESRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROFILESRowDeleted" msprop:Generator_RowClassName="TBCW_PROFILESRow" msprop:Generator_UserTableName="TBCW_PROFILES" msprop:Generator_RowEvArgName="TBCW_PROFILESRowChangeEvent">
<xs:element name="TBCW_PROFILES" msprop:Generator_TableClassName="TBCW_PROFILESDataTable" msprop:Generator_TableVarName="tableTBCW_PROFILES" msprop:Generator_TablePropName="TBCW_PROFILES" msprop:Generator_RowDeletingName="TBCW_PROFILESRowDeleting" msprop:Generator_RowChangingName="TBCW_PROFILESRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROFILESRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROFILESRowDeleted" msprop:Generator_UserTableName="TBCW_PROFILES" msprop:Generator_RowChangedName="TBCW_PROFILESRowChanged" msprop:Generator_RowEvArgName="TBCW_PROFILESRowChangeEvent" msprop:Generator_RowClassName="TBCW_PROFILESRow">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -815,7 +915,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBCW_USER_PROFILE" msprop:Generator_TableClassName="TBCW_USER_PROFILEDataTable" msprop:Generator_TableVarName="tableTBCW_USER_PROFILE" msprop:Generator_RowChangedName="TBCW_USER_PROFILERowChanged" msprop:Generator_TablePropName="TBCW_USER_PROFILE" msprop:Generator_RowDeletingName="TBCW_USER_PROFILERowDeleting" msprop:Generator_RowChangingName="TBCW_USER_PROFILERowChanging" msprop:Generator_RowEvHandlerName="TBCW_USER_PROFILERowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_USER_PROFILERowDeleted" msprop:Generator_RowClassName="TBCW_USER_PROFILERow" msprop:Generator_UserTableName="TBCW_USER_PROFILE" msprop:Generator_RowEvArgName="TBCW_USER_PROFILERowChangeEvent">
<xs:element name="TBCW_USER_PROFILE" msprop:Generator_TableClassName="TBCW_USER_PROFILEDataTable" msprop:Generator_TableVarName="tableTBCW_USER_PROFILE" msprop:Generator_TablePropName="TBCW_USER_PROFILE" msprop:Generator_RowDeletingName="TBCW_USER_PROFILERowDeleting" msprop:Generator_RowChangingName="TBCW_USER_PROFILERowChanging" msprop:Generator_RowEvHandlerName="TBCW_USER_PROFILERowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_USER_PROFILERowDeleted" msprop:Generator_UserTableName="TBCW_USER_PROFILE" msprop:Generator_RowChangedName="TBCW_USER_PROFILERowChanged" msprop:Generator_RowEvArgName="TBCW_USER_PROFILERowChangeEvent" msprop:Generator_RowClassName="TBCW_USER_PROFILERow">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -832,7 +932,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VWUSER_PROFILE" msprop:Generator_TableClassName="VWUSER_PROFILEDataTable" msprop:Generator_TableVarName="tableVWUSER_PROFILE" msprop:Generator_TablePropName="VWUSER_PROFILE" msprop:Generator_RowDeletingName="VWUSER_PROFILERowDeleting" msprop:Generator_RowChangingName="VWUSER_PROFILERowChanging" msprop:Generator_RowEvHandlerName="VWUSER_PROFILERowChangeEventHandler" msprop:Generator_RowDeletedName="VWUSER_PROFILERowDeleted" msprop:Generator_UserTableName="VWUSER_PROFILE" msprop:Generator_RowChangedName="VWUSER_PROFILERowChanged" msprop:Generator_RowEvArgName="VWUSER_PROFILERowChangeEvent" msprop:Generator_RowClassName="VWUSER_PROFILERow">
<xs:element name="VWUSER_PROFILE" msprop:Generator_TableClassName="VWUSER_PROFILEDataTable" msprop:Generator_TableVarName="tableVWUSER_PROFILE" msprop:Generator_RowChangedName="VWUSER_PROFILERowChanged" msprop:Generator_TablePropName="VWUSER_PROFILE" msprop:Generator_RowDeletingName="VWUSER_PROFILERowDeleting" msprop:Generator_RowChangingName="VWUSER_PROFILERowChanging" msprop:Generator_RowEvHandlerName="VWUSER_PROFILERowChangeEventHandler" msprop:Generator_RowDeletedName="VWUSER_PROFILERowDeleted" msprop:Generator_RowClassName="VWUSER_PROFILERow" msprop:Generator_UserTableName="VWUSER_PROFILE" msprop:Generator_RowEvArgName="VWUSER_PROFILERowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -861,7 +961,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBWH_User" msprop:Generator_TableClassName="TBWH_UserDataTable" msprop:Generator_TableVarName="tableTBWH_User" msprop:Generator_RowChangedName="TBWH_UserRowChanged" msprop:Generator_TablePropName="TBWH_User" msprop:Generator_RowDeletingName="TBWH_UserRowDeleting" msprop:Generator_RowChangingName="TBWH_UserRowChanging" msprop:Generator_RowEvHandlerName="TBWH_UserRowChangeEventHandler" msprop:Generator_RowDeletedName="TBWH_UserRowDeleted" msprop:Generator_RowClassName="TBWH_UserRow" msprop:Generator_UserTableName="TBWH_User" msprop:Generator_RowEvArgName="TBWH_UserRowChangeEvent">
<xs:element name="TBWH_User" msprop:Generator_TableClassName="TBWH_UserDataTable" msprop:Generator_TableVarName="tableTBWH_User" msprop:Generator_TablePropName="TBWH_User" msprop:Generator_RowDeletingName="TBWH_UserRowDeleting" msprop:Generator_RowChangingName="TBWH_UserRowChanging" msprop:Generator_RowEvHandlerName="TBWH_UserRowChangeEventHandler" msprop:Generator_RowDeletedName="TBWH_UserRowDeleted" msprop:Generator_UserTableName="TBWH_User" msprop:Generator_RowChangedName="TBWH_UserRowChanged" msprop:Generator_RowEvArgName="TBWH_UserRowChangeEvent" msprop:Generator_RowClassName="TBWH_UserRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Username" msprop:Generator_ColumnVarNameInTable="columnUsername" msprop:Generator_ColumnPropNameInRow="Username" msprop:Generator_ColumnPropNameInTable="UsernameColumn" msprop:Generator_UserColumnName="Username" type="xs:string" minOccurs="0" />
@ -872,7 +972,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBCW_PROFILE_PROCESS" msprop:Generator_TableClassName="TBCW_PROFILE_PROCESSDataTable" msprop:Generator_TableVarName="tableTBCW_PROFILE_PROCESS" msprop:Generator_TablePropName="TBCW_PROFILE_PROCESS" msprop:Generator_RowDeletingName="TBCW_PROFILE_PROCESSRowDeleting" msprop:Generator_RowChangingName="TBCW_PROFILE_PROCESSRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROFILE_PROCESSRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROFILE_PROCESSRowDeleted" msprop:Generator_UserTableName="TBCW_PROFILE_PROCESS" msprop:Generator_RowChangedName="TBCW_PROFILE_PROCESSRowChanged" msprop:Generator_RowEvArgName="TBCW_PROFILE_PROCESSRowChangeEvent" msprop:Generator_RowClassName="TBCW_PROFILE_PROCESSRow">
<xs:element name="TBCW_PROFILE_PROCESS" msprop:Generator_TableClassName="TBCW_PROFILE_PROCESSDataTable" msprop:Generator_TableVarName="tableTBCW_PROFILE_PROCESS" msprop:Generator_RowChangedName="TBCW_PROFILE_PROCESSRowChanged" msprop:Generator_TablePropName="TBCW_PROFILE_PROCESS" msprop:Generator_RowDeletingName="TBCW_PROFILE_PROCESSRowDeleting" msprop:Generator_RowChangingName="TBCW_PROFILE_PROCESSRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROFILE_PROCESSRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROFILE_PROCESSRowDeleted" msprop:Generator_RowClassName="TBCW_PROFILE_PROCESSRow" msprop:Generator_UserTableName="TBCW_PROFILE_PROCESS" msprop:Generator_RowEvArgName="TBCW_PROFILE_PROCESSRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -895,7 +995,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBCW_PROF_DATA_SEARCH" msprop:Generator_TableClassName="TBCW_PROF_DATA_SEARCHDataTable" msprop:Generator_TableVarName="tableTBCW_PROF_DATA_SEARCH" msprop:Generator_RowChangedName="TBCW_PROF_DATA_SEARCHRowChanged" msprop:Generator_TablePropName="TBCW_PROF_DATA_SEARCH" msprop:Generator_RowDeletingName="TBCW_PROF_DATA_SEARCHRowDeleting" msprop:Generator_RowChangingName="TBCW_PROF_DATA_SEARCHRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROF_DATA_SEARCHRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROF_DATA_SEARCHRowDeleted" msprop:Generator_RowClassName="TBCW_PROF_DATA_SEARCHRow" msprop:Generator_UserTableName="TBCW_PROF_DATA_SEARCH" msprop:Generator_RowEvArgName="TBCW_PROF_DATA_SEARCHRowChangeEvent">
<xs:element name="TBCW_PROF_DATA_SEARCH" msprop:Generator_TableClassName="TBCW_PROF_DATA_SEARCHDataTable" msprop:Generator_TableVarName="tableTBCW_PROF_DATA_SEARCH" msprop:Generator_TablePropName="TBCW_PROF_DATA_SEARCH" msprop:Generator_RowDeletingName="TBCW_PROF_DATA_SEARCHRowDeleting" msprop:Generator_RowChangingName="TBCW_PROF_DATA_SEARCHRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROF_DATA_SEARCHRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROF_DATA_SEARCHRowDeleted" msprop:Generator_UserTableName="TBCW_PROF_DATA_SEARCH" msprop:Generator_RowChangedName="TBCW_PROF_DATA_SEARCHRowChanged" msprop:Generator_RowEvArgName="TBCW_PROF_DATA_SEARCHRowChangeEvent" msprop:Generator_RowClassName="TBCW_PROF_DATA_SEARCHRow">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -943,7 +1043,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBCW_PROF_DOC_SEARCH" msprop:Generator_TableClassName="TBCW_PROF_DOC_SEARCHDataTable" msprop:Generator_TableVarName="tableTBCW_PROF_DOC_SEARCH" msprop:Generator_RowChangedName="TBCW_PROF_DOC_SEARCHRowChanged" msprop:Generator_TablePropName="TBCW_PROF_DOC_SEARCH" msprop:Generator_RowDeletingName="TBCW_PROF_DOC_SEARCHRowDeleting" msprop:Generator_RowChangingName="TBCW_PROF_DOC_SEARCHRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROF_DOC_SEARCHRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROF_DOC_SEARCHRowDeleted" msprop:Generator_RowClassName="TBCW_PROF_DOC_SEARCHRow" msprop:Generator_UserTableName="TBCW_PROF_DOC_SEARCH" msprop:Generator_RowEvArgName="TBCW_PROF_DOC_SEARCHRowChangeEvent">
<xs:element name="TBCW_PROF_DOC_SEARCH" msprop:Generator_TableClassName="TBCW_PROF_DOC_SEARCHDataTable" msprop:Generator_TableVarName="tableTBCW_PROF_DOC_SEARCH" msprop:Generator_TablePropName="TBCW_PROF_DOC_SEARCH" msprop:Generator_RowDeletingName="TBCW_PROF_DOC_SEARCHRowDeleting" msprop:Generator_RowChangingName="TBCW_PROF_DOC_SEARCHRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROF_DOC_SEARCHRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROF_DOC_SEARCHRowDeleted" msprop:Generator_UserTableName="TBCW_PROF_DOC_SEARCH" msprop:Generator_RowChangedName="TBCW_PROF_DOC_SEARCHRowChanged" msprop:Generator_RowEvArgName="TBCW_PROF_DOC_SEARCHRowChangeEvent" msprop:Generator_RowClassName="TBCW_PROF_DOC_SEARCHRow">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -991,7 +1091,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBCW_GROUP_PROFILE" msprop:Generator_TableClassName="TBCW_GROUP_PROFILEDataTable" msprop:Generator_TableVarName="tableTBCW_GROUP_PROFILE" msprop:Generator_RowChangedName="TBCW_GROUP_PROFILERowChanged" msprop:Generator_TablePropName="TBCW_GROUP_PROFILE" msprop:Generator_RowDeletingName="TBCW_GROUP_PROFILERowDeleting" msprop:Generator_RowChangingName="TBCW_GROUP_PROFILERowChanging" msprop:Generator_RowEvHandlerName="TBCW_GROUP_PROFILERowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_GROUP_PROFILERowDeleted" msprop:Generator_RowClassName="TBCW_GROUP_PROFILERow" msprop:Generator_UserTableName="TBCW_GROUP_PROFILE" msprop:Generator_RowEvArgName="TBCW_GROUP_PROFILERowChangeEvent">
<xs:element name="TBCW_GROUP_PROFILE" msprop:Generator_TableClassName="TBCW_GROUP_PROFILEDataTable" msprop:Generator_TableVarName="tableTBCW_GROUP_PROFILE" msprop:Generator_TablePropName="TBCW_GROUP_PROFILE" msprop:Generator_RowDeletingName="TBCW_GROUP_PROFILERowDeleting" msprop:Generator_RowChangingName="TBCW_GROUP_PROFILERowChanging" msprop:Generator_RowEvHandlerName="TBCW_GROUP_PROFILERowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_GROUP_PROFILERowDeleted" msprop:Generator_UserTableName="TBCW_GROUP_PROFILE" msprop:Generator_RowChangedName="TBCW_GROUP_PROFILERowChanged" msprop:Generator_RowEvArgName="TBCW_GROUP_PROFILERowChangeEvent" msprop:Generator_RowClassName="TBCW_GROUP_PROFILERow">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -1008,7 +1108,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBWH_GROUP" msprop:Generator_TableClassName="TBWH_GROUPDataTable" msprop:Generator_TableVarName="tableTBWH_GROUP" msprop:Generator_RowChangedName="TBWH_GROUPRowChanged" msprop:Generator_TablePropName="TBWH_GROUP" msprop:Generator_RowDeletingName="TBWH_GROUPRowDeleting" msprop:Generator_RowChangingName="TBWH_GROUPRowChanging" msprop:Generator_RowEvHandlerName="TBWH_GROUPRowChangeEventHandler" msprop:Generator_RowDeletedName="TBWH_GROUPRowDeleted" msprop:Generator_RowClassName="TBWH_GROUPRow" msprop:Generator_UserTableName="TBWH_GROUP" msprop:Generator_RowEvArgName="TBWH_GROUPRowChangeEvent">
<xs:element name="TBWH_GROUP" msprop:Generator_TableClassName="TBWH_GROUPDataTable" msprop:Generator_TableVarName="tableTBWH_GROUP" msprop:Generator_TablePropName="TBWH_GROUP" msprop:Generator_RowDeletingName="TBWH_GROUPRowDeleting" msprop:Generator_RowChangingName="TBWH_GROUPRowChanging" msprop:Generator_RowEvHandlerName="TBWH_GROUPRowChangeEventHandler" msprop:Generator_RowDeletedName="TBWH_GROUPRowDeleted" msprop:Generator_UserTableName="TBWH_GROUP" msprop:Generator_RowChangedName="TBWH_GROUPRowChanged" msprop:Generator_RowEvArgName="TBWH_GROUPRowChangeEvent" msprop:Generator_RowClassName="TBWH_GROUPRow">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:string" minOccurs="0" />
@ -1016,7 +1116,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VWCW_GROUP_PROFILE" msprop:Generator_TableClassName="VWCW_GROUP_PROFILEDataTable" msprop:Generator_TableVarName="tableVWCW_GROUP_PROFILE" msprop:Generator_RowChangedName="VWCW_GROUP_PROFILERowChanged" msprop:Generator_TablePropName="VWCW_GROUP_PROFILE" msprop:Generator_RowDeletingName="VWCW_GROUP_PROFILERowDeleting" msprop:Generator_RowChangingName="VWCW_GROUP_PROFILERowChanging" msprop:Generator_RowEvHandlerName="VWCW_GROUP_PROFILERowChangeEventHandler" msprop:Generator_RowDeletedName="VWCW_GROUP_PROFILERowDeleted" msprop:Generator_RowClassName="VWCW_GROUP_PROFILERow" msprop:Generator_UserTableName="VWCW_GROUP_PROFILE" msprop:Generator_RowEvArgName="VWCW_GROUP_PROFILERowChangeEvent">
<xs:element name="VWCW_GROUP_PROFILE" msprop:Generator_TableClassName="VWCW_GROUP_PROFILEDataTable" msprop:Generator_TableVarName="tableVWCW_GROUP_PROFILE" msprop:Generator_TablePropName="VWCW_GROUP_PROFILE" msprop:Generator_RowDeletingName="VWCW_GROUP_PROFILERowDeleting" msprop:Generator_RowChangingName="VWCW_GROUP_PROFILERowChanging" msprop:Generator_RowEvHandlerName="VWCW_GROUP_PROFILERowChangeEventHandler" msprop:Generator_RowDeletedName="VWCW_GROUP_PROFILERowDeleted" msprop:Generator_UserTableName="VWCW_GROUP_PROFILE" msprop:Generator_RowChangedName="VWCW_GROUP_PROFILERowChanged" msprop:Generator_RowEvArgName="VWCW_GROUP_PROFILERowChangeEvent" msprop:Generator_RowClassName="VWCW_GROUP_PROFILERow">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -1030,7 +1130,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBWH_PROFILE_TYPE" msprop:Generator_TableClassName="TBWH_PROFILE_TYPEDataTable" msprop:Generator_TableVarName="tableTBWH_PROFILE_TYPE" msprop:Generator_TablePropName="TBWH_PROFILE_TYPE" msprop:Generator_RowDeletingName="TBWH_PROFILE_TYPERowDeleting" msprop:Generator_RowChangingName="TBWH_PROFILE_TYPERowChanging" msprop:Generator_RowEvHandlerName="TBWH_PROFILE_TYPERowChangeEventHandler" msprop:Generator_RowDeletedName="TBWH_PROFILE_TYPERowDeleted" msprop:Generator_UserTableName="TBWH_PROFILE_TYPE" msprop:Generator_RowChangedName="TBWH_PROFILE_TYPERowChanged" msprop:Generator_RowEvArgName="TBWH_PROFILE_TYPERowChangeEvent" msprop:Generator_RowClassName="TBWH_PROFILE_TYPERow">
<xs:element name="TBWH_PROFILE_TYPE" msprop:Generator_TableClassName="TBWH_PROFILE_TYPEDataTable" msprop:Generator_TableVarName="tableTBWH_PROFILE_TYPE" msprop:Generator_RowChangedName="TBWH_PROFILE_TYPERowChanged" msprop:Generator_TablePropName="TBWH_PROFILE_TYPE" msprop:Generator_RowDeletingName="TBWH_PROFILE_TYPERowDeleting" msprop:Generator_RowChangingName="TBWH_PROFILE_TYPERowChanging" msprop:Generator_RowEvHandlerName="TBWH_PROFILE_TYPERowChangeEventHandler" msprop:Generator_RowDeletedName="TBWH_PROFILE_TYPERowDeleted" msprop:Generator_RowClassName="TBWH_PROFILE_TYPERow" msprop:Generator_UserTableName="TBWH_PROFILE_TYPE" msprop:Generator_RowEvArgName="TBWH_PROFILE_TYPERowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="TYPE_ID" msprop:Generator_ColumnVarNameInTable="columnTYPE_ID" msprop:Generator_ColumnPropNameInRow="TYPE_ID" msprop:Generator_ColumnPropNameInTable="TYPE_IDColumn" msprop:Generator_UserColumnName="TYPE_ID" type="xs:short" default="0" />
@ -1038,7 +1138,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBCW_PROF_REL_WINDOW" msprop:Generator_TableClassName="TBCW_PROF_REL_WINDOWDataTable" msprop:Generator_TableVarName="tableTBCW_PROF_REL_WINDOW" msprop:Generator_TablePropName="TBCW_PROF_REL_WINDOW" msprop:Generator_RowDeletingName="TBCW_PROF_REL_WINDOWRowDeleting" msprop:Generator_RowChangingName="TBCW_PROF_REL_WINDOWRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROF_REL_WINDOWRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROF_REL_WINDOWRowDeleted" msprop:Generator_UserTableName="TBCW_PROF_REL_WINDOW" msprop:Generator_RowChangedName="TBCW_PROF_REL_WINDOWRowChanged" msprop:Generator_RowEvArgName="TBCW_PROF_REL_WINDOWRowChangeEvent" msprop:Generator_RowClassName="TBCW_PROF_REL_WINDOWRow">
<xs:element name="TBCW_PROF_REL_WINDOW" msprop:Generator_TableClassName="TBCW_PROF_REL_WINDOWDataTable" msprop:Generator_TableVarName="tableTBCW_PROF_REL_WINDOW" msprop:Generator_RowChangedName="TBCW_PROF_REL_WINDOWRowChanged" msprop:Generator_TablePropName="TBCW_PROF_REL_WINDOW" msprop:Generator_RowDeletingName="TBCW_PROF_REL_WINDOWRowDeleting" msprop:Generator_RowChangingName="TBCW_PROF_REL_WINDOWRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROF_REL_WINDOWRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROF_REL_WINDOWRowDeleted" msprop:Generator_RowClassName="TBCW_PROF_REL_WINDOWRow" msprop:Generator_UserTableName="TBCW_PROF_REL_WINDOW" msprop:Generator_RowEvArgName="TBCW_PROF_REL_WINDOWRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -1077,7 +1177,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBDD_CONNECTION" msprop:Generator_TableClassName="TBDD_CONNECTIONDataTable" msprop:Generator_TableVarName="tableTBDD_CONNECTION" msprop:Generator_TablePropName="TBDD_CONNECTION" msprop:Generator_RowDeletingName="TBDD_CONNECTIONRowDeleting" msprop:Generator_RowChangingName="TBDD_CONNECTIONRowChanging" msprop:Generator_RowEvHandlerName="TBDD_CONNECTIONRowChangeEventHandler" msprop:Generator_RowDeletedName="TBDD_CONNECTIONRowDeleted" msprop:Generator_UserTableName="TBDD_CONNECTION" msprop:Generator_RowChangedName="TBDD_CONNECTIONRowChanged" msprop:Generator_RowEvArgName="TBDD_CONNECTIONRowChangeEvent" msprop:Generator_RowClassName="TBDD_CONNECTIONRow">
<xs:element name="TBDD_CONNECTION" msprop:Generator_TableClassName="TBDD_CONNECTIONDataTable" msprop:Generator_TableVarName="tableTBDD_CONNECTION" msprop:Generator_RowChangedName="TBDD_CONNECTIONRowChanged" msprop:Generator_TablePropName="TBDD_CONNECTION" msprop:Generator_RowDeletingName="TBDD_CONNECTIONRowDeleting" msprop:Generator_RowChangingName="TBDD_CONNECTIONRowChanging" msprop:Generator_RowEvHandlerName="TBDD_CONNECTIONRowChangeEventHandler" msprop:Generator_RowDeletedName="TBDD_CONNECTIONRowDeleted" msprop:Generator_RowClassName="TBDD_CONNECTIONRow" msprop:Generator_UserTableName="TBDD_CONNECTION" msprop:Generator_RowEvArgName="TBDD_CONNECTIONRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:short" />
@ -1150,7 +1250,7 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TBCW_PROF_REL_CONTROL" msprop:Generator_TableClassName="TBCW_PROF_REL_CONTROLDataTable" msprop:Generator_TableVarName="tableTBCW_PROF_REL_CONTROL" msprop:Generator_RowChangedName="TBCW_PROF_REL_CONTROLRowChanged" msprop:Generator_TablePropName="TBCW_PROF_REL_CONTROL" msprop:Generator_RowDeletingName="TBCW_PROF_REL_CONTROLRowDeleting" msprop:Generator_RowChangingName="TBCW_PROF_REL_CONTROLRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROF_REL_CONTROLRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROF_REL_CONTROLRowDeleted" msprop:Generator_RowClassName="TBCW_PROF_REL_CONTROLRow" msprop:Generator_UserTableName="TBCW_PROF_REL_CONTROL" msprop:Generator_RowEvArgName="TBCW_PROF_REL_CONTROLRowChangeEvent">
<xs:element name="TBCW_PROF_REL_CONTROL" msprop:Generator_TableClassName="TBCW_PROF_REL_CONTROLDataTable" msprop:Generator_TableVarName="tableTBCW_PROF_REL_CONTROL" msprop:Generator_TablePropName="TBCW_PROF_REL_CONTROL" msprop:Generator_RowDeletingName="TBCW_PROF_REL_CONTROLRowDeleting" msprop:Generator_RowChangingName="TBCW_PROF_REL_CONTROLRowChanging" msprop:Generator_RowEvHandlerName="TBCW_PROF_REL_CONTROLRowChangeEventHandler" msprop:Generator_RowDeletedName="TBCW_PROF_REL_CONTROLRowDeleted" msprop:Generator_UserTableName="TBCW_PROF_REL_CONTROL" msprop:Generator_RowChangedName="TBCW_PROF_REL_CONTROLRowChanged" msprop:Generator_RowEvArgName="TBCW_PROF_REL_CONTROLRowChangeEvent" msprop:Generator_RowClassName="TBCW_PROF_REL_CONTROLRow">
<xs:complexType>
<xs:sequence>
<xs:element name="GUID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnGUID" msprop:Generator_ColumnPropNameInRow="GUID" msprop:Generator_ColumnPropNameInTable="GUIDColumn" msprop:Generator_UserColumnName="GUID" type="xs:int" />
@ -1186,20 +1286,22 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:simpleType>
</xs:element>
<xs:element name="CHANGED_WHEN" msprop:Generator_ColumnVarNameInTable="columnCHANGED_WHEN" msprop:Generator_ColumnPropNameInRow="CHANGED_WHEN" msprop:Generator_ColumnPropNameInTable="CHANGED_WHENColumn" msprop:Generator_UserColumnName="CHANGED_WHEN" type="xs:dateTime" minOccurs="0" />
<xs:element name="AUTOMATION_ID" msprop:Generator_ColumnVarNameInTable="columnAUTOMATION_ID" msprop:Generator_ColumnPropNameInRow="AUTOMATION_ID" msprop:Generator_ColumnPropNameInTable="AUTOMATION_IDColumn" msprop:Generator_UserColumnName="AUTOMATION_ID">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FRAMEWORK_ID" msprop:Generator_ColumnVarNameInTable="columnFRAMEWORK_ID" msprop:Generator_ColumnPropNameInRow="FRAMEWORK_ID" msprop:Generator_ColumnPropNameInTable="FRAMEWORK_IDColumn" msprop:Generator_UserColumnName="FRAMEWORK_ID">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TOPLEFT_TOP" msprop:Generator_ColumnVarNameInTable="columnTOPLEFT_TOP" msprop:Generator_ColumnPropNameInRow="TOPLEFT_TOP" msprop:Generator_ColumnPropNameInTable="TOPLEFT_TOPColumn" msprop:Generator_UserColumnName="TOPLEFT_TOP" type="xs:int" />
<xs:element name="TOPLEFT_LEFT" msprop:Generator_ColumnVarNameInTable="columnTOPLEFT_LEFT" msprop:Generator_ColumnPropNameInRow="TOPLEFT_LEFT" msprop:Generator_ColumnPropNameInTable="TOPLEFT_LEFTColumn" msprop:Generator_UserColumnName="TOPLEFT_LEFT" type="xs:int" />
<xs:element name="TOPLEFT_RIGHT" msprop:Generator_ColumnVarNameInTable="columnTOPLEFT_RIGHT" msprop:Generator_ColumnPropNameInRow="TOPLEFT_RIGHT" msprop:Generator_ColumnPropNameInTable="TOPLEFT_RIGHTColumn" msprop:Generator_UserColumnName="TOPLEFT_RIGHT" type="xs:int" />
<xs:element name="TOPLEFT_BOTTOM" msprop:Generator_ColumnVarNameInTable="columnTOPLEFT_BOTTOM" msprop:Generator_ColumnPropNameInRow="TOPLEFT_BOTTOM" msprop:Generator_ColumnPropNameInTable="TOPLEFT_BOTTOMColumn" msprop:Generator_UserColumnName="TOPLEFT_BOTTOM" type="xs:int" />
<xs:element name="TOPRIGHT_TOP" msprop:Generator_ColumnVarNameInTable="columnTOPRIGHT_TOP" msprop:Generator_ColumnPropNameInRow="TOPRIGHT_TOP" msprop:Generator_ColumnPropNameInTable="TOPRIGHT_TOPColumn" msprop:Generator_UserColumnName="TOPRIGHT_TOP" type="xs:int" />
<xs:element name="TOPRIGHT_LEFT" msprop:Generator_ColumnVarNameInTable="columnTOPRIGHT_LEFT" msprop:Generator_ColumnPropNameInRow="TOPRIGHT_LEFT" msprop:Generator_ColumnPropNameInTable="TOPRIGHT_LEFTColumn" msprop:Generator_UserColumnName="TOPRIGHT_LEFT" type="xs:int" />
<xs:element name="TOPRIGHT_RIGHT" msprop:Generator_ColumnVarNameInTable="columnTOPRIGHT_RIGHT" msprop:Generator_ColumnPropNameInRow="TOPRIGHT_RIGHT" msprop:Generator_ColumnPropNameInTable="TOPRIGHT_RIGHTColumn" msprop:Generator_UserColumnName="TOPRIGHT_RIGHT" type="xs:int" />
<xs:element name="TOPRIGHT_BOTTOM" msprop:Generator_ColumnVarNameInTable="columnTOPRIGHT_BOTTOM" msprop:Generator_ColumnPropNameInRow="TOPRIGHT_BOTTOM" msprop:Generator_ColumnPropNameInTable="TOPRIGHT_BOTTOMColumn" msprop:Generator_UserColumnName="TOPRIGHT_BOTTOM" type="xs:int" />
<xs:element name="BOTTOMLEFT_TOP" msprop:Generator_ColumnVarNameInTable="columnBOTTOMLEFT_TOP" msprop:Generator_ColumnPropNameInRow="BOTTOMLEFT_TOP" msprop:Generator_ColumnPropNameInTable="BOTTOMLEFT_TOPColumn" msprop:Generator_UserColumnName="BOTTOMLEFT_TOP" type="xs:int" />
<xs:element name="BOTTOMLEFT_LEFT" msprop:Generator_ColumnVarNameInTable="columnBOTTOMLEFT_LEFT" msprop:Generator_ColumnPropNameInRow="BOTTOMLEFT_LEFT" msprop:Generator_ColumnPropNameInTable="BOTTOMLEFT_LEFTColumn" msprop:Generator_UserColumnName="BOTTOMLEFT_LEFT" type="xs:int" />
<xs:element name="BOTTOMLEFT_RIGHT" msprop:Generator_ColumnVarNameInTable="columnBOTTOMLEFT_RIGHT" msprop:Generator_ColumnPropNameInRow="BOTTOMLEFT_RIGHT" msprop:Generator_ColumnPropNameInTable="BOTTOMLEFT_RIGHTColumn" msprop:Generator_UserColumnName="BOTTOMLEFT_RIGHT" type="xs:int" />
<xs:element name="BOTTOMLEFT_BOTTOM" msprop:Generator_ColumnVarNameInTable="columnBOTTOMLEFT_BOTTOM" msprop:Generator_ColumnPropNameInRow="BOTTOMLEFT_BOTTOM" msprop:Generator_ColumnPropNameInTable="BOTTOMLEFT_BOTTOMColumn" msprop:Generator_UserColumnName="BOTTOMLEFT_BOTTOM" type="xs:int" />
<xs:element name="BOTTOMRIGHT_TOP" msprop:Generator_ColumnVarNameInTable="columnBOTTOMRIGHT_TOP" msprop:Generator_ColumnPropNameInRow="BOTTOMRIGHT_TOP" msprop:Generator_ColumnPropNameInTable="BOTTOMRIGHT_TOPColumn" msprop:Generator_UserColumnName="BOTTOMRIGHT_TOP" type="xs:int" />
<xs:element name="BOTTOMRIGHT_LEFT" msprop:Generator_ColumnVarNameInTable="columnBOTTOMRIGHT_LEFT" msprop:Generator_ColumnPropNameInRow="BOTTOMRIGHT_LEFT" msprop:Generator_ColumnPropNameInTable="BOTTOMRIGHT_LEFTColumn" msprop:Generator_UserColumnName="BOTTOMRIGHT_LEFT" type="xs:int" />
<xs:element name="BOTTOMRIGHT_RIGHT" msprop:Generator_ColumnVarNameInTable="columnBOTTOMRIGHT_RIGHT" msprop:Generator_ColumnPropNameInRow="BOTTOMRIGHT_RIGHT" msprop:Generator_ColumnPropNameInTable="BOTTOMRIGHT_RIGHTColumn" msprop:Generator_UserColumnName="BOTTOMRIGHT_RIGHT" type="xs:int" />
<xs:element name="BOTTOMRIGHT_BOTTOM" msprop:Generator_ColumnVarNameInTable="columnBOTTOMRIGHT_BOTTOM" msprop:Generator_ColumnPropNameInRow="BOTTOMRIGHT_BOTTOM" msprop:Generator_ColumnPropNameInTable="BOTTOMRIGHT_BOTTOMColumn" msprop:Generator_UserColumnName="BOTTOMRIGHT_BOTTOM" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
@ -1252,10 +1354,10 @@ SELECT GUID, PROFILE_ID, WINDOW_ID, PROCESS_NAME, DESCRIPTION, AUTOMATION_ID, FR
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_TBCW_PROF_DATA_SEARCH_PROF_IF" msdata:parent="TBCW_PROFILES" msdata:child="TBCW_PROF_DATA_SEARCH" msdata:parentkey="GUID" msdata:childkey="PROFILE_ID" msprop:Generator_UserChildTable="TBCW_PROF_DATA_SEARCH" msprop:Generator_ChildPropName="GetTBCW_PROF_DATA_SEARCHRows" msprop:Generator_UserRelationName="FK_TBCW_PROF_DATA_SEARCH_PROF_IF" msprop:Generator_RelationVarName="relationFK_TBCW_PROF_DATA_SEARCH_PROF_IF" msprop:Generator_UserParentTable="TBCW_PROFILES" msprop:Generator_ParentPropName="TBCW_PROFILESRow" />
<msdata:Relationship name="FK_TBCW_PROF_DOC_SEARCH_PROF_IF" msdata:parent="TBCW_PROFILES" msdata:child="TBCW_PROF_DOC_SEARCH" msdata:parentkey="GUID" msdata:childkey="PROFILE_ID" msprop:Generator_UserChildTable="TBCW_PROF_DOC_SEARCH" msprop:Generator_ChildPropName="GetTBCW_PROF_DOC_SEARCHRows" msprop:Generator_UserRelationName="FK_TBCW_PROF_DOC_SEARCH_PROF_IF" msprop:Generator_RelationVarName="relationFK_TBCW_PROF_DOC_SEARCH_PROF_IF" msprop:Generator_UserParentTable="TBCW_PROFILES" msprop:Generator_ParentPropName="TBCW_PROFILESRow" />
<msdata:Relationship name="FK_WINDOW_ID" msdata:parent="TBCW_PROF_REL_WINDOW" msdata:child="TBCW_PROF_REL_CONTROL" msdata:parentkey="GUID" msdata:childkey="WINDOW_ID" msprop:Generator_UserChildTable="TBCW_PROF_REL_CONTROL" msprop:Generator_ChildPropName="GetTBCW_PROF_REL_CONTROLRows" msprop:Generator_UserRelationName="FK_WINDOW_ID" msprop:Generator_ParentPropName="TBCW_PROF_REL_WINDOWRow" msprop:Generator_RelationVarName="relationFK_WINDOW_ID" msprop:Generator_UserParentTable="TBCW_PROF_REL_WINDOW" />
<msdata:Relationship name="FK_PROCESS_ID" msdata:parent="TBCW_PROFILE_PROCESS" msdata:child="TBCW_PROF_REL_WINDOW" msdata:parentkey="GUID" msdata:childkey="PROCESS_ID" msprop:Generator_UserChildTable="TBCW_PROF_REL_WINDOW" msprop:Generator_ChildPropName="GetTBCW_PROF_REL_WINDOWRows" msprop:Generator_UserRelationName="FK_PROCESS_ID" msprop:Generator_ParentPropName="TBCW_PROFILE_PROCESSRow" msprop:Generator_RelationVarName="relationFK_PROCESS_ID" msprop:Generator_UserParentTable="TBCW_PROFILE_PROCESS" />
<msdata:Relationship name="FK_TBCW_PROF_DATA_SEARCH_PROF_IF" msdata:parent="TBCW_PROFILES" msdata:child="TBCW_PROF_DATA_SEARCH" msdata:parentkey="GUID" msdata:childkey="PROFILE_ID" msprop:Generator_UserChildTable="TBCW_PROF_DATA_SEARCH" msprop:Generator_ChildPropName="GetTBCW_PROF_DATA_SEARCHRows" msprop:Generator_UserRelationName="FK_TBCW_PROF_DATA_SEARCH_PROF_IF" msprop:Generator_ParentPropName="TBCW_PROFILESRow" msprop:Generator_RelationVarName="relationFK_TBCW_PROF_DATA_SEARCH_PROF_IF" msprop:Generator_UserParentTable="TBCW_PROFILES" />
<msdata:Relationship name="FK_TBCW_PROF_DOC_SEARCH_PROF_IF" msdata:parent="TBCW_PROFILES" msdata:child="TBCW_PROF_DOC_SEARCH" msdata:parentkey="GUID" msdata:childkey="PROFILE_ID" msprop:Generator_UserChildTable="TBCW_PROF_DOC_SEARCH" msprop:Generator_ChildPropName="GetTBCW_PROF_DOC_SEARCHRows" msprop:Generator_UserRelationName="FK_TBCW_PROF_DOC_SEARCH_PROF_IF" msprop:Generator_ParentPropName="TBCW_PROFILESRow" msprop:Generator_RelationVarName="relationFK_TBCW_PROF_DOC_SEARCH_PROF_IF" msprop:Generator_UserParentTable="TBCW_PROFILES" />
<msdata:Relationship name="FK_WINDOW_ID" msdata:parent="TBCW_PROF_REL_WINDOW" msdata:child="TBCW_PROF_REL_CONTROL" msdata:parentkey="GUID" msdata:childkey="WINDOW_ID" msprop:Generator_UserChildTable="TBCW_PROF_REL_CONTROL" msprop:Generator_ChildPropName="GetTBCW_PROF_REL_CONTROLRows" msprop:Generator_UserRelationName="FK_WINDOW_ID" msprop:Generator_RelationVarName="relationFK_WINDOW_ID" msprop:Generator_UserParentTable="TBCW_PROF_REL_WINDOW" msprop:Generator_ParentPropName="TBCW_PROF_REL_WINDOWRow" />
<msdata:Relationship name="FK_PROCESS_ID" msdata:parent="TBCW_PROFILE_PROCESS" msdata:child="TBCW_PROF_REL_WINDOW" msdata:parentkey="GUID" msdata:childkey="PROCESS_ID" msprop:Generator_UserChildTable="TBCW_PROF_REL_WINDOW" msprop:Generator_ChildPropName="GetTBCW_PROF_REL_WINDOWRows" msprop:Generator_UserRelationName="FK_PROCESS_ID" msprop:Generator_RelationVarName="relationFK_PROCESS_ID" msprop:Generator_UserParentTable="TBCW_PROFILE_PROCESS" msprop:Generator_ParentPropName="TBCW_PROFILE_PROCESSRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>

View File

@ -16,7 +16,7 @@
<Shape ID="DesignTable:VWCW_GROUP_PROFILE" ZOrder="9" X="1252" Y="5" Height="248" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:TBCW_PROF_REL_WINDOW" ZOrder="4" X="10" Y="259" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="24" SplitterPosition="197" />
<Shape ID="DesignTable:TBDD_CONNECTION" ZOrder="6" X="675" Y="483" Height="305" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TBCW_PROF_REL_CONTROL" ZOrder="3" X="330" Y="327" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TBCW_PROF_REL_CONTROL" ZOrder="1" X="330" Y="327" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TBWH_User" ZOrder="16" X="1221" Y="436" Height="124" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="139" />
<Shape ID="DesignTable:TBWH_GROUP" ZOrder="10" X="1240" Y="329" Height="67" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="63" />
<Shape ID="DesignTable:TBWH_PROFILE_TYPE" ZOrder="8" X="1204" Y="609" Height="67" Width="190" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="63" />
@ -46,7 +46,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_WINDOW_ID" ZOrder="2" LineWidth="11">
<Connector ID="DesignRelation:FK_WINDOW_ID" ZOrder="3" LineWidth="11">
<RoutePoints>
<Point>
<X>310</X>
@ -58,7 +58,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_PROCESS_ID" ZOrder="1" LineWidth="11">
<Connector ID="DesignRelation:FK_PROCESS_ID" ZOrder="2" LineWidth="11">
<RoutePoints>
<Point>
<X>165</X>

View File

@ -186,20 +186,29 @@ Public Class ctrlApplicationAssignment
If oResult = DialogResult.OK Then
Try
Dim oControlTitle As String = GetSQLFriendlyString(oForm.ControlName)
Dim oProcessName As String = oForm.ProcessName
Dim oAutomationId As String = oForm.AutomationId
Dim oFrameworkId As String = oForm.FrameworkId
Dim oDefaultRegex As String = "\.+"
If oControlTitle <> "" Or oAutomationId <> "" Then
Dim insert = String.Format("INSERT INTO TBCW_PROF_REL_CONTROL (WINDOW_ID, DESCRIPTION, AUTOMATION_ID, FRAMEWORK_ID, REGEX, ADDED_WHO) VALUES ({0}, '{1}', '{2}', '{3}', '^{4}$','{5}')",
Current_WindowId, oControlTitle, oAutomationId, oFrameworkId, oDefaultRegex, Environment.UserName)
If Database.ExecuteNonQuery(insert) = False Then
Return False
End If
Dim oSql = $"INSERT INTO TBCW_PROF_REL_CONTROL
(
WINDOW_ID, DESCRIPTION, REGEX, ADDED_WHO
,[TOPLEFT_TOP],[TOPLEFT_LEFT],[TOPLEFT_RIGHT],[TOPLEFT_BOTTOM]
,[TOPRIGHT_TOP],[TOPRIGHT_LEFT],[TOPRIGHT_RIGHT],[TOPRIGHT_BOTTOM]
,[BOTTOMLEFT_TOP],[BOTTOMLEFT_LEFT],[BOTTOMLEFT_RIGHT],[BOTTOMLEFT_BOTTOM]
,[BOTTOMRIGHT_TOP],[BOTTOMRIGHT_LEFT],[BOTTOMRIGHT_RIGHT],[BOTTOMRIGHT_BOTTOM]
) VALUES (
{Current_WindowId}, 'Control', '^{oDefaultRegex}$', '{Environment.UserName}',
{oForm.TopLeft.Top}, {oForm.TopLeft.Left}, {oForm.TopLeft.Right}, {oForm.TopLeft.Bottom},
{oForm.TopRight.Top}, {oForm.TopRight.Left}, {oForm.TopRight.Right}, {oForm.TopRight.Bottom},
{oForm.TopLeft.Top}, {oForm.TopLeft.Left}, {oForm.TopLeft.Right}, {oForm.TopLeft.Bottom},
{oForm.TopLeft.Top}, {oForm.TopLeft.Left}, {oForm.TopLeft.Right}, {oForm.TopLeft.Bottom}
)"
If Database.ExecuteNonQuery(oSql) = False Then
Return False
End If
Control_Load()
Return True
Catch ex As Exception

View File

@ -1,9 +1,9 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class frmControlCapture
Inherits System.Windows.Forms.Form
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
<System.Diagnostics.DebuggerNonUserCode()> _
<System.Diagnostics.DebuggerNonUserCode()>
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
@ -20,28 +20,46 @@ Partial Class frmControlCapture
'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()> _
<System.Diagnostics.DebuggerStepThrough()>
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmControlCapture))
Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
Me.Label3 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.txtControlName = New System.Windows.Forms.TextBox()
Me.txtName = New System.Windows.Forms.TextBox()
Me.txtPID = New System.Windows.Forms.TextBox()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.txtAutomationId = New System.Windows.Forms.TextBox()
Me.txtTLLeft = New System.Windows.Forms.TextBox()
Me.txtTLRight = New System.Windows.Forms.TextBox()
Me.txtTLTop = New System.Windows.Forms.TextBox()
Me.txtTLBottom = New System.Windows.Forms.TextBox()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
Me.txtTRLeft = New System.Windows.Forms.TextBox()
Me.txtTRRight = New System.Windows.Forms.TextBox()
Me.txtTRTop = New System.Windows.Forms.TextBox()
Me.txtTRBottom = New System.Windows.Forms.TextBox()
Me.Label6 = New System.Windows.Forms.Label()
Me.txtFrameworkId = New System.Windows.Forms.TextBox()
Me.chkAutomationId = New System.Windows.Forms.CheckBox()
Me.chkControlName = New System.Windows.Forms.CheckBox()
Me.Label7 = New System.Windows.Forms.Label()
Me.txtNewFocusControlHandle = New System.Windows.Forms.TextBox()
Me.Label8 = New System.Windows.Forms.Label()
Me.Label9 = New System.Windows.Forms.Label()
Me.txtBLLeft = New System.Windows.Forms.TextBox()
Me.txtBLRight = New System.Windows.Forms.TextBox()
Me.txtBLTop = New System.Windows.Forms.TextBox()
Me.txtBLBottom = New System.Windows.Forms.TextBox()
Me.Label10 = New System.Windows.Forms.Label()
Me.Label11 = New System.Windows.Forms.Label()
Me.Label12 = New System.Windows.Forms.Label()
Me.Label13 = New System.Windows.Forms.Label()
Me.txtBRLeft = New System.Windows.Forms.TextBox()
Me.txtBRRight = New System.Windows.Forms.TextBox()
Me.txtBRTop = New System.Windows.Forms.TextBox()
Me.txtBRBottom = New System.Windows.Forms.TextBox()
Me.Label14 = New System.Windows.Forms.Label()
Me.Label15 = New System.Windows.Forms.Label()
Me.Label16 = New System.Windows.Forms.Label()
Me.Label17 = New System.Windows.Forms.Label()
Me.SuspendLayout()
'
'Timer1
@ -51,77 +69,23 @@ Partial Class frmControlCapture
'
'Label3
'
Me.Label3.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.Label3.Font = New System.Drawing.Font("Tahoma", 9.75!, CType((System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Italic), System.Drawing.FontStyle), System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label3.Location = New System.Drawing.Point(12, 183)
Me.Label3.Location = New System.Drawing.Point(12, 281)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(438, 42)
Me.Label3.Size = New System.Drawing.Size(294, 42)
Me.Label3.TabIndex = 11
Me.Label3.Text = "Auswertung von aktivem Feld läuft! Wechseln Sie durch die aktiven Anwendungen und" &
" klicken Sie in ein Feld!"
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label4.Location = New System.Drawing.Point(12, 89)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(61, 13)
Me.Label4.TabIndex = 8
Me.Label4.Text = "Feld Name:"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label2.Location = New System.Drawing.Point(12, 35)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(78, 13)
Me.Label2.TabIndex = 9
Me.Label2.Text = "Prozess Name:"
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label1.Location = New System.Drawing.Point(12, 9)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(62, 13)
Me.Label1.TabIndex = 10
Me.Label1.Text = "Prozess ID:"
'
'txtControlName
'
Me.txtControlName.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtControlName.Location = New System.Drawing.Point(226, 84)
Me.txtControlName.Name = "txtControlName"
Me.txtControlName.ReadOnly = True
Me.txtControlName.Size = New System.Drawing.Size(224, 21)
Me.txtControlName.TabIndex = 6
'
'txtName
'
Me.txtName.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtName.Location = New System.Drawing.Point(226, 32)
Me.txtName.Name = "txtName"
Me.txtName.ReadOnly = True
Me.txtName.Size = New System.Drawing.Size(224, 21)
Me.txtName.TabIndex = 7
'
'txtPID
'
Me.txtPID.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtPID.Location = New System.Drawing.Point(226, 4)
Me.txtPID.Name = "txtPID"
Me.txtPID.ReadOnly = True
Me.txtPID.Size = New System.Drawing.Size(224, 21)
Me.txtPID.TabIndex = 5
'
'Button1
'
Me.Button1.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
Me.Button1.DialogResult = System.Windows.Forms.DialogResult.OK
Me.Button1.Image = Global.DD_Clipboard_Watcher.My.Resources.Resources.add
Me.Button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button1.Location = New System.Drawing.Point(15, 242)
Me.Button1.Location = New System.Drawing.Point(12, 326)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(159, 34)
Me.Button1.TabIndex = 0
@ -130,113 +94,311 @@ Partial Class frmControlCapture
'
'Button2
'
Me.Button2.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.Button2.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.Button2.Image = Global.DD_Clipboard_Watcher.My.Resources.Resources.cancel
Me.Button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button2.Location = New System.Drawing.Point(291, 242)
Me.Button2.Location = New System.Drawing.Point(147, 326)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(159, 34)
Me.Button2.TabIndex = 0
Me.Button2.Text = "Abbruch"
Me.Button2.UseVisualStyleBackColor = True
'
'txtAutomationId
'txtTLLeft
'
Me.txtAutomationId.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtAutomationId.Location = New System.Drawing.Point(226, 110)
Me.txtAutomationId.Name = "txtAutomationId"
Me.txtAutomationId.ReadOnly = True
Me.txtAutomationId.Size = New System.Drawing.Size(224, 21)
Me.txtAutomationId.TabIndex = 6
Me.txtTLLeft.Location = New System.Drawing.Point(59, 28)
Me.txtTLLeft.Name = "txtTLLeft"
Me.txtTLLeft.Size = New System.Drawing.Size(77, 21)
Me.txtTLLeft.TabIndex = 12
'
'txtTLRight
'
Me.txtTLRight.Location = New System.Drawing.Point(59, 55)
Me.txtTLRight.Name = "txtTLRight"
Me.txtTLRight.Size = New System.Drawing.Size(77, 21)
Me.txtTLRight.TabIndex = 12
'
'txtTLTop
'
Me.txtTLTop.Location = New System.Drawing.Point(59, 82)
Me.txtTLTop.Name = "txtTLTop"
Me.txtTLTop.Size = New System.Drawing.Size(77, 21)
Me.txtTLTop.TabIndex = 12
'
'txtTLBottom
'
Me.txtTLBottom.Location = New System.Drawing.Point(59, 109)
Me.txtTLBottom.Name = "txtTLBottom"
Me.txtTLBottom.Size = New System.Drawing.Size(77, 21)
Me.txtTLBottom.TabIndex = 12
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(12, 31)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(26, 13)
Me.Label1.TabIndex = 13
Me.Label1.Text = "Left"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(12, 58)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(32, 13)
Me.Label2.TabIndex = 13
Me.Label2.Text = "Right"
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Location = New System.Drawing.Point(12, 85)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(25, 13)
Me.Label4.TabIndex = 13
Me.Label4.Text = "Top"
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label5.Location = New System.Drawing.Point(12, 115)
Me.Label5.Location = New System.Drawing.Point(12, 112)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(79, 13)
Me.Label5.TabIndex = 8
Me.Label5.Text = "Automation Id:"
Me.Label5.Size = New System.Drawing.Size(41, 13)
Me.Label5.TabIndex = 13
Me.Label5.Text = "Bottom"
'
'txtTRLeft
'
Me.txtTRLeft.Location = New System.Drawing.Point(198, 28)
Me.txtTRLeft.Name = "txtTRLeft"
Me.txtTRLeft.Size = New System.Drawing.Size(77, 21)
Me.txtTRLeft.TabIndex = 12
'
'txtTRRight
'
Me.txtTRRight.Location = New System.Drawing.Point(198, 55)
Me.txtTRRight.Name = "txtTRRight"
Me.txtTRRight.Size = New System.Drawing.Size(77, 21)
Me.txtTRRight.TabIndex = 12
'
'txtTRTop
'
Me.txtTRTop.Location = New System.Drawing.Point(198, 82)
Me.txtTRTop.Name = "txtTRTop"
Me.txtTRTop.Size = New System.Drawing.Size(77, 21)
Me.txtTRTop.TabIndex = 12
'
'txtTRBottom
'
Me.txtTRBottom.Location = New System.Drawing.Point(198, 109)
Me.txtTRBottom.Name = "txtTRBottom"
Me.txtTRBottom.Size = New System.Drawing.Size(77, 21)
Me.txtTRBottom.TabIndex = 12
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label6.Location = New System.Drawing.Point(12, 61)
Me.Label6.Location = New System.Drawing.Point(151, 31)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(77, 13)
Me.Label6.TabIndex = 8
Me.Label6.Text = "Framework Id:"
'
'txtFrameworkId
'
Me.txtFrameworkId.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtFrameworkId.Location = New System.Drawing.Point(226, 58)
Me.txtFrameworkId.Name = "txtFrameworkId"
Me.txtFrameworkId.ReadOnly = True
Me.txtFrameworkId.Size = New System.Drawing.Size(224, 21)
Me.txtFrameworkId.TabIndex = 6
'
'chkAutomationId
'
Me.chkAutomationId.AutoSize = True
Me.chkAutomationId.Location = New System.Drawing.Point(133, 139)
Me.chkAutomationId.Name = "chkAutomationId"
Me.chkAutomationId.Size = New System.Drawing.Size(87, 17)
Me.chkAutomationId.TabIndex = 12
Me.chkAutomationId.Text = "Übernehmen"
Me.chkAutomationId.UseVisualStyleBackColor = True
'
'chkControlName
'
Me.chkControlName.AutoSize = True
Me.chkControlName.Location = New System.Drawing.Point(133, 86)
Me.chkControlName.Name = "chkControlName"
Me.chkControlName.Size = New System.Drawing.Size(87, 17)
Me.chkControlName.TabIndex = 12
Me.chkControlName.Text = "Übernehmen"
Me.chkControlName.UseVisualStyleBackColor = True
Me.Label6.Size = New System.Drawing.Size(26, 13)
Me.Label6.TabIndex = 13
Me.Label6.Text = "Left"
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label7.Location = New System.Drawing.Point(12, 140)
Me.Label7.Location = New System.Drawing.Point(151, 58)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(107, 13)
Me.Label7.TabIndex = 14
Me.Label7.Text = "FocusControlHandle:"
Me.Label7.Size = New System.Drawing.Size(32, 13)
Me.Label7.TabIndex = 13
Me.Label7.Text = "Right"
'
'txtNewFocusControlHandle
'Label8
'
Me.txtNewFocusControlHandle.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtNewFocusControlHandle.Location = New System.Drawing.Point(226, 137)
Me.txtNewFocusControlHandle.Name = "txtNewFocusControlHandle"
Me.txtNewFocusControlHandle.ReadOnly = True
Me.txtNewFocusControlHandle.Size = New System.Drawing.Size(224, 21)
Me.txtNewFocusControlHandle.TabIndex = 13
Me.Label8.AutoSize = True
Me.Label8.Location = New System.Drawing.Point(151, 85)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(25, 13)
Me.Label8.TabIndex = 13
Me.Label8.Text = "Top"
'
'Label9
'
Me.Label9.AutoSize = True
Me.Label9.Location = New System.Drawing.Point(151, 112)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(41, 13)
Me.Label9.TabIndex = 13
Me.Label9.Text = "Bottom"
'
'txtBLLeft
'
Me.txtBLLeft.Location = New System.Drawing.Point(59, 157)
Me.txtBLLeft.Name = "txtBLLeft"
Me.txtBLLeft.Size = New System.Drawing.Size(77, 21)
Me.txtBLLeft.TabIndex = 12
'
'txtBLRight
'
Me.txtBLRight.Location = New System.Drawing.Point(59, 184)
Me.txtBLRight.Name = "txtBLRight"
Me.txtBLRight.Size = New System.Drawing.Size(77, 21)
Me.txtBLRight.TabIndex = 12
'
'txtBLTop
'
Me.txtBLTop.Location = New System.Drawing.Point(59, 211)
Me.txtBLTop.Name = "txtBLTop"
Me.txtBLTop.Size = New System.Drawing.Size(77, 21)
Me.txtBLTop.TabIndex = 12
'
'txtBLBottom
'
Me.txtBLBottom.Location = New System.Drawing.Point(59, 238)
Me.txtBLBottom.Name = "txtBLBottom"
Me.txtBLBottom.Size = New System.Drawing.Size(77, 21)
Me.txtBLBottom.TabIndex = 12
'
'Label10
'
Me.Label10.AutoSize = True
Me.Label10.Location = New System.Drawing.Point(12, 160)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(26, 13)
Me.Label10.TabIndex = 13
Me.Label10.Text = "Left"
'
'Label11
'
Me.Label11.AutoSize = True
Me.Label11.Location = New System.Drawing.Point(12, 187)
Me.Label11.Name = "Label11"
Me.Label11.Size = New System.Drawing.Size(32, 13)
Me.Label11.TabIndex = 13
Me.Label11.Text = "Right"
'
'Label12
'
Me.Label12.AutoSize = True
Me.Label12.Location = New System.Drawing.Point(12, 214)
Me.Label12.Name = "Label12"
Me.Label12.Size = New System.Drawing.Size(25, 13)
Me.Label12.TabIndex = 13
Me.Label12.Text = "Top"
'
'Label13
'
Me.Label13.AutoSize = True
Me.Label13.Location = New System.Drawing.Point(12, 241)
Me.Label13.Name = "Label13"
Me.Label13.Size = New System.Drawing.Size(41, 13)
Me.Label13.TabIndex = 13
Me.Label13.Text = "Bottom"
'
'txtBRLeft
'
Me.txtBRLeft.Location = New System.Drawing.Point(198, 157)
Me.txtBRLeft.Name = "txtBRLeft"
Me.txtBRLeft.Size = New System.Drawing.Size(77, 21)
Me.txtBRLeft.TabIndex = 12
'
'txtBRRight
'
Me.txtBRRight.Location = New System.Drawing.Point(198, 184)
Me.txtBRRight.Name = "txtBRRight"
Me.txtBRRight.Size = New System.Drawing.Size(77, 21)
Me.txtBRRight.TabIndex = 12
'
'txtBRTop
'
Me.txtBRTop.Location = New System.Drawing.Point(198, 211)
Me.txtBRTop.Name = "txtBRTop"
Me.txtBRTop.Size = New System.Drawing.Size(77, 21)
Me.txtBRTop.TabIndex = 12
'
'txtBRBottom
'
Me.txtBRBottom.Location = New System.Drawing.Point(198, 238)
Me.txtBRBottom.Name = "txtBRBottom"
Me.txtBRBottom.Size = New System.Drawing.Size(77, 21)
Me.txtBRBottom.TabIndex = 12
'
'Label14
'
Me.Label14.AutoSize = True
Me.Label14.Location = New System.Drawing.Point(151, 160)
Me.Label14.Name = "Label14"
Me.Label14.Size = New System.Drawing.Size(26, 13)
Me.Label14.TabIndex = 13
Me.Label14.Text = "Left"
'
'Label15
'
Me.Label15.AutoSize = True
Me.Label15.Location = New System.Drawing.Point(151, 187)
Me.Label15.Name = "Label15"
Me.Label15.Size = New System.Drawing.Size(32, 13)
Me.Label15.TabIndex = 13
Me.Label15.Text = "Right"
'
'Label16
'
Me.Label16.AutoSize = True
Me.Label16.Location = New System.Drawing.Point(151, 214)
Me.Label16.Name = "Label16"
Me.Label16.Size = New System.Drawing.Size(25, 13)
Me.Label16.TabIndex = 13
Me.Label16.Text = "Top"
'
'Label17
'
Me.Label17.AutoSize = True
Me.Label17.Location = New System.Drawing.Point(151, 241)
Me.Label17.Name = "Label17"
Me.Label17.Size = New System.Drawing.Size(41, 13)
Me.Label17.TabIndex = 13
Me.Label17.Text = "Bottom"
'
'frmControlCapture
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(462, 300)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.txtNewFocusControlHandle)
Me.Controls.Add(Me.chkControlName)
Me.Controls.Add(Me.chkAutomationId)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label6)
Me.ClientSize = New System.Drawing.Size(318, 372)
Me.Controls.Add(Me.Label17)
Me.Controls.Add(Me.Label13)
Me.Controls.Add(Me.Label9)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.Label16)
Me.Controls.Add(Me.Label12)
Me.Controls.Add(Me.Label8)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.Label15)
Me.Controls.Add(Me.Label11)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Label14)
Me.Controls.Add(Me.Label10)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.txtFrameworkId)
Me.Controls.Add(Me.txtAutomationId)
Me.Controls.Add(Me.txtControlName)
Me.Controls.Add(Me.txtName)
Me.Controls.Add(Me.txtPID)
Me.Controls.Add(Me.txtBRBottom)
Me.Controls.Add(Me.txtBLBottom)
Me.Controls.Add(Me.txtTRBottom)
Me.Controls.Add(Me.txtBRTop)
Me.Controls.Add(Me.txtBLTop)
Me.Controls.Add(Me.txtTRTop)
Me.Controls.Add(Me.txtTLBottom)
Me.Controls.Add(Me.txtBRRight)
Me.Controls.Add(Me.txtBLRight)
Me.Controls.Add(Me.txtTRRight)
Me.Controls.Add(Me.txtTLTop)
Me.Controls.Add(Me.txtBRLeft)
Me.Controls.Add(Me.txtBLLeft)
Me.Controls.Add(Me.txtTRLeft)
Me.Controls.Add(Me.txtTLRight)
Me.Controls.Add(Me.txtTLLeft)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
@ -250,20 +412,38 @@ Partial Class frmControlCapture
End Sub
Friend WithEvents Timer1 As Timer
Friend WithEvents Label3 As Label
Friend WithEvents Label4 As Label
Friend WithEvents Label2 As Label
Friend WithEvents Label1 As Label
Friend WithEvents txtControlName As TextBox
Friend WithEvents txtName As TextBox
Friend WithEvents txtPID As TextBox
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents txtAutomationId As TextBox
Friend WithEvents txtTLLeft As TextBox
Friend WithEvents txtTLRight As TextBox
Friend WithEvents txtTLTop As TextBox
Friend WithEvents txtTLBottom As TextBox
Friend WithEvents Label1 As Label
Friend WithEvents Label2 As Label
Friend WithEvents Label4 As Label
Friend WithEvents Label5 As Label
Friend WithEvents txtTRLeft As TextBox
Friend WithEvents txtTRRight As TextBox
Friend WithEvents txtTRTop As TextBox
Friend WithEvents txtTRBottom As TextBox
Friend WithEvents Label6 As Label
Friend WithEvents txtFrameworkId As TextBox
Friend WithEvents chkAutomationId As CheckBox
Friend WithEvents chkControlName As CheckBox
Friend WithEvents Label7 As Label
Friend WithEvents txtNewFocusControlHandle As TextBox
Friend WithEvents Label8 As Label
Friend WithEvents Label9 As Label
Friend WithEvents txtBLLeft As TextBox
Friend WithEvents txtBLRight As TextBox
Friend WithEvents txtBLTop As TextBox
Friend WithEvents txtBLBottom As TextBox
Friend WithEvents Label10 As Label
Friend WithEvents Label11 As Label
Friend WithEvents Label12 As Label
Friend WithEvents Label13 As Label
Friend WithEvents txtBRLeft As TextBox
Friend WithEvents txtBRRight As TextBox
Friend WithEvents txtBRTop As TextBox
Friend WithEvents txtBRBottom As TextBox
Friend WithEvents Label14 As Label
Friend WithEvents Label15 As Label
Friend WithEvents Label16 As Label
Friend WithEvents Label17 As Label
End Class

View File

@ -1,75 +1,66 @@
Imports System.Windows.Automation
Imports DD_Clipboard_Watcher.ClassWindowAPI
Imports DigitalData.Modules.Windows
Imports DigitalData.Modules.Windows.Window
Public Class frmControlCapture
Public ControlName As String
Public ProcessName As String
Public AutomationId As String
Public FrameworkId As String
Public Property TopLeft As RectangleInfo
Public Property TopRight As RectangleInfo
Public Property BottomLeft As RectangleInfo
Public Property BottomRight As RectangleInfo
Public Automation As ClassAutomation
Private WithEvents Watcher As ClipboardWatcher = ClipboardWatcher.Singleton
Private Window As Window
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
Dim oResult As WindowInfo = GetFocusedControl(Handle)
Dim newoResult As IntPtr = FocusedControlinActiveWindow(Handle)
Private Sub frmControlCapture_Load(sender As Object, e As EventArgs) Handles Me.Load
Window = New Window(LogConfig)
If oResult IsNot Nothing Then
txtPID.Text = oResult.ClassName
txtName.Text = oResult.ProcessName
txtControlName.Text = oResult.ControlName
txtAutomationId.Text = Automation.AutomationId
txtFrameworkId.Text = Automation.FrameworkId
Console.WriteLine($"Automation.AutomationId: {Automation.AutomationId}")
FrameworkId = Automation.FrameworkId
ControlName = oResult.ControlName
Console.WriteLine($"oResult.ControlName: {oResult.ControlName}")
txtNewFocusControlHandle.Text = newoResult.ToString
AutomationId = newoResult.ToString
Console.WriteLine($"newoResult: {newoResult.ToString}")
ProcessName = oResult.ProcessName
End If
AddHandler Watcher.Changed, AddressOf Watcher_Changed
End Sub
Private Sub frmControlCapture_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Automation = New ClassAutomation(LogConfig)
End Sub
Private Sub Watcher_Changed(sender As Object, e As EventArgs)
For Each oAnchor As Anchor In [Enum].GetValues(GetType(Anchor))
Dim oRect = Window.GetFocusedControlLocation(Handle, oAnchor)
Private Sub frmControlCapture_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
Timer1.Stop()
Automation.RemoveHandler()
End Sub
Select Case oAnchor
Case Window.Anchor.TopLeft
If oRect IsNot Nothing Then
TopLeft = oRect
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If chkAutomationId.Checked = False Then
AutomationId = String.Empty
End If
txtTLLeft.Text = oRect.Left
txtTLRight.Text = oRect.Right
txtTLTop.Text = oRect.Top
txtTLBottom.Text = oRect.Bottom
End If
If chkControlName.Checked = False Then
ControlName = String.Empty
End If
Case Window.Anchor.TopRight
If oRect IsNot Nothing Then
TopRight = oRect
If chkAutomationId.Checked = False And chkControlName.Checked = False Then
MsgBox("Es muss entweder die AutomationId oder der Feldname ausgewählt sein!", MsgBoxStyle.Exclamation, Text)
DialogResult = DialogResult.None
End If
Timer1.Stop()
End Sub
txtTRLeft.Text = oRect.Left
txtTRRight.Text = oRect.Right
txtTRTop.Text = oRect.Top
txtTRBottom.Text = oRect.Bottom
End If
Private Sub chkControlName_CheckedChanged(sender As Object, e As EventArgs) Handles chkControlName.CheckedChanged
If chkControlName.Checked Then
chkAutomationId.Checked = False
End If
End Sub
Case Window.Anchor.BottomLeft
If oRect IsNot Nothing Then
BottomLeft = oRect
Private Sub chkAutomationId_CheckedChanged(sender As Object, e As EventArgs) Handles chkAutomationId.CheckedChanged
If chkAutomationId.Checked Then
chkControlName.Checked = False
End If
End Sub
txtBLLeft.Text = oRect.Left
txtBLRight.Text = oRect.Right
txtBLTop.Text = oRect.Top
txtBLBottom.Text = oRect.Bottom
End If
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Timer1.Stop()
Case Window.Anchor.BottomRight
If oRect IsNot Nothing Then
BottomRight = oRect
txtBRLeft.Text = oRect.Left
txtBRRight.Text = oRect.Right
txtBRTop.Text = oRect.Top
txtBRBottom.Text = oRect.Bottom
End If
End Select
Next
End Sub
End Class

View File

@ -26,11 +26,11 @@ Partial Class frmProfileMatch
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmProfileMatch))
Me.Label1 = New System.Windows.Forms.Label()
Me.TileControlMatch = New DevExpress.XtraEditors.TileControl()
Me.ContextMenuStrip1 = New System.Windows.Forms.ContextMenuStrip(Me.components)
Me.AblaufSucheAnzeigenToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
Me.TileGroupDocumentsData = New DevExpress.XtraEditors.TileGroup()
Me.TileGroupDocuments = New DevExpress.XtraEditors.TileGroup()
Me.TileGroupData = New DevExpress.XtraEditors.TileGroup()
Me.ContextMenuStrip1 = New System.Windows.Forms.ContextMenuStrip(Me.components)
Me.AblaufSucheAnzeigenToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
Me.ContextMenuStrip1.SuspendLayout()
Me.SuspendLayout()
'
@ -42,9 +42,9 @@ Partial Class frmProfileMatch
Me.Label1.ForeColor = System.Drawing.Color.White
Me.Label1.Location = New System.Drawing.Point(12, 9)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(489, 19)
Me.Label1.Size = New System.Drawing.Size(348, 19)
Me.Label1.TabIndex = 2
Me.Label1.Text = "Clipboard Watcher hat mehr als einen Match für Ihre Suche gefunden:"
Me.Label1.Text = "Es wurde(n) {0} für Ihre Suche nach {1} gefunden:"
'
'TileControlMatch
'
@ -81,6 +81,18 @@ Partial Class frmProfileMatch
Me.TileControlMatch.TabIndex = 6
Me.TileControlMatch.Text = "TileControl1"
'
'ContextMenuStrip1
'
Me.ContextMenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.AblaufSucheAnzeigenToolStripMenuItem})
Me.ContextMenuStrip1.Name = "ContextMenuStrip1"
Me.ContextMenuStrip1.Size = New System.Drawing.Size(195, 26)
'
'AblaufSucheAnzeigenToolStripMenuItem
'
Me.AblaufSucheAnzeigenToolStripMenuItem.Name = "AblaufSucheAnzeigenToolStripMenuItem"
Me.AblaufSucheAnzeigenToolStripMenuItem.Size = New System.Drawing.Size(194, 22)
Me.AblaufSucheAnzeigenToolStripMenuItem.Text = "Ablauf Suche anzeigen"
'
'TileGroupDocumentsData
'
Me.TileGroupDocumentsData.Name = "TileGroupDocumentsData"
@ -96,18 +108,6 @@ Partial Class frmProfileMatch
Me.TileGroupData.Name = "TileGroupData"
Me.TileGroupData.Text = "Daten"
'
'ContextMenuStrip1
'
Me.ContextMenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.AblaufSucheAnzeigenToolStripMenuItem})
Me.ContextMenuStrip1.Name = "ContextMenuStrip1"
Me.ContextMenuStrip1.Size = New System.Drawing.Size(195, 48)
'
'AblaufSucheAnzeigenToolStripMenuItem
'
Me.AblaufSucheAnzeigenToolStripMenuItem.Name = "AblaufSucheAnzeigenToolStripMenuItem"
Me.AblaufSucheAnzeigenToolStripMenuItem.Size = New System.Drawing.Size(194, 22)
Me.AblaufSucheAnzeigenToolStripMenuItem.Text = "Ablauf Suche anzeigen"
'
'frmProfileMatch
'
Me.Appearance.Options.UseFont = True

View File

@ -24,12 +24,6 @@ Public Class frmProfileMatch
Size = ConfigManager.Config.MatchWindowSize
End If
If USER_LANGUAGE = "de-DE" Then
Label1.Text = $"Clipboard Watcher hat mehr als einen Match für Ihre Suche nach ""{CURRENT_CLIPBOARD_CONTENTS}"" gefunden:"
Else
Label1.Text = $"Clipboard Watcher found more than on match for your search for ""{CURRENT_CLIPBOARD_CONTENTS}"":"
End If
Dim oCreatedTiles = CreateTiles()
If oCreatedTiles = -1 Then
@ -41,6 +35,9 @@ Public Class frmProfileMatch
Me.Close()
End If
Dim oMatchString = IIf(oCreatedTiles = 1, "1 Match", $"{oCreatedTiles} Matches")
Label1.Text = String.Format(Label1.Text, oMatchString, CURRENT_CLIPBOARD_CONTENTS)
' Open Result Forms directly if only one match found
If oCreatedTiles = 1 Then
Dim oProfile As ProfileData = CURRENT_MATCHING_PROFILES.First()

View File

@ -121,10 +121,13 @@ Public Class frmStart
CurrMatchTreeView.ImageList = ImageList1
CurrMatchTreeView.SelectedImageIndex = 0
oProfiles = oProfileFilter.FilterProfilesByClipboardRegex(oProfiles, ClipboardContents)
oProfiles = oProfileFilter.FilterProfilesByProcess(oProfiles, oWindowInfo.ProcessName)
oProfiles = oProfileFilter.FilterWindowsByWindowTitleRegex(oProfiles, oWindowInfo.WindowTitle)
oProfiles = oProfileFilter.FilterProfilesByFocusedControl(oProfiles, ClipboardContents, oFocusedControl.ToString)
'oProfiles = oProfileFilter.FilterProfilesByFocusedControl(oProfiles, ClipboardContents, oFocusedControl.ToString)
oProfiles = oProfileFilter.FilterProfilesByFocusedControlLocation(oProfiles, ClipboardContents, Handle)
oProfiles = oProfileFilter.ClearNotMatchedProfiles(oProfiles)
oProfiles = oProfileFilter.ClearDuplicateProfiles(oProfiles)
oProfiles = oProfiles.ToList()