jj
This commit is contained in:
parent
82376122c8
commit
fcddb353c1
@ -15,4 +15,21 @@
|
||||
Public Shared Function ToEnum(Of T)(value As String) As T
|
||||
Return [Enum].Parse(GetType(T), value)
|
||||
End Function
|
||||
|
||||
''' <summary>
|
||||
''' Checks a value for three different `null` values,
|
||||
''' Nothing, Empty String, DBNull
|
||||
'''
|
||||
''' Returns the original value if the value is not null, or `defaultValue`
|
||||
''' </summary>
|
||||
''' <typeparam name="T">The type of the value</typeparam>
|
||||
''' <param name="value">The value</param>
|
||||
''' <param name="defaultValue">The default Value</param>
|
||||
Public Function NotNull(Of T)(ByVal value As T, ByVal defaultValue As T) As T
|
||||
If IsNothing(value) OrElse String.IsNullOrEmpty(value.ToString) OrElse IsDBNull(value) Then
|
||||
Return defaultValue
|
||||
Else
|
||||
Return value
|
||||
End If
|
||||
End Function
|
||||
End Class
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
Imports EDMI_ClientSuite.ClassControlUtils
|
||||
Imports DigitalData.Controls.LookupGrid
|
||||
Imports DigitalData.GUIS.ClientSuite.ClassControlUtils
|
||||
|
||||
Public Class ClassControlBuilder
|
||||
#Region "State"
|
||||
@ -51,4 +52,19 @@ Public Class ClassControlBuilder
|
||||
Return oTextbox
|
||||
End Function
|
||||
|
||||
Public Function CreateCombobox() As LookupControl
|
||||
Dim Metadata As New ControlMetadata() With {
|
||||
.Id = 4711,
|
||||
.Type = ControlType.Combobox
|
||||
}
|
||||
|
||||
Dim oCombobox As New LookupControl() With {
|
||||
.Name = GetRandomControlName("Combobox"),
|
||||
.Size = DEFAULT_SIZE,
|
||||
.Tag = Metadata
|
||||
}
|
||||
|
||||
Return oCombobox
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
27
EDMI_ClientSuite/EntityDesigner/ClassControlLocalization.vb
Normal file
27
EDMI_ClientSuite/EntityDesigner/ClassControlLocalization.vb
Normal file
@ -0,0 +1,27 @@
|
||||
Imports System.ComponentModel
|
||||
|
||||
Public Class ClassControlLocalization
|
||||
Private Shared Function Lookup(key As String)
|
||||
Try
|
||||
Return My.Resources.ControlProperties.ResourceManager.GetString(key)
|
||||
Catch ex As Exception
|
||||
Return key
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Public Class LocalizedDescriptionAttribute
|
||||
Inherits DescriptionAttribute
|
||||
|
||||
Public Sub New(key As String)
|
||||
MyBase.New(Lookup(key))
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Public Class LocalizedCategoryAttribute
|
||||
Inherits CategoryAttribute
|
||||
|
||||
Public Sub New(key As String)
|
||||
MyBase.New(Lookup(key))
|
||||
End Sub
|
||||
End Class
|
||||
End Class
|
||||
@ -2,10 +2,13 @@
|
||||
Public Enum ControlType
|
||||
Label = 0
|
||||
TextBox = 1
|
||||
Combobox = 2
|
||||
End Enum
|
||||
|
||||
Public Class ControlMetadata
|
||||
Public Id As Integer
|
||||
Public Type As ControlType
|
||||
End Class
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
@ -0,0 +1,40 @@
|
||||
Imports System.ComponentModel
|
||||
Imports DigitalData.GUIS.ClientSuite.ClassControlLocalization
|
||||
Imports DigitalData.GUIS.ClientSuite.ClassControlUtils
|
||||
|
||||
Namespace ControlProperties
|
||||
Public MustInherit Class ClassBaseProperties
|
||||
|
||||
<LocalizedCategory("category_info")>
|
||||
<LocalizedDescription("desc_id")>
|
||||
<[ReadOnly](True)>
|
||||
Public Property Id As Integer
|
||||
|
||||
<LocalizedCategory("category_info")>
|
||||
<LocalizedDescription("desc_type")>
|
||||
<[ReadOnly](True)>
|
||||
Public Property Type As ControlType
|
||||
|
||||
<LocalizedCategory("category_view")>
|
||||
<LocalizedDescription("desc_name")>
|
||||
Public Property Name As String
|
||||
|
||||
<LocalizedCategory("category_view")>
|
||||
<LocalizedDescription("desc_location")>
|
||||
Public Property Location As Point
|
||||
|
||||
<LocalizedCategory("category_view")>
|
||||
<LocalizedDescription("desc_size")>
|
||||
Public Property Size As Size
|
||||
|
||||
<LocalizedCategory("category_view")>
|
||||
<LocalizedDescription("desc_fontstyle")>
|
||||
Public Property Font() As Font
|
||||
|
||||
<LocalizedCategory("category_view")>
|
||||
<LocalizedDescription("desc_color")>
|
||||
Public Property Color() As Color
|
||||
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
@ -0,0 +1,27 @@
|
||||
Imports DigitalData.GUIS.ClientSuite.ClassControlLocalization
|
||||
|
||||
Namespace ControlProperties
|
||||
Public MustInherit Class ClassInputProperties
|
||||
Inherits ClassBaseProperties
|
||||
|
||||
<LocalizedCategory("category_input")>
|
||||
<LocalizedDescription("desc_required")>
|
||||
Public Property IsRequired() As Boolean
|
||||
|
||||
<LocalizedCategory("category_input")>
|
||||
<LocalizedDescription("desc_readonly")>
|
||||
Public Property IsReadOnly() As Boolean
|
||||
|
||||
<LocalizedCategory("category_input")>
|
||||
<LocalizedDescription("desc_defaultvalue")>
|
||||
Public Property DefaultValue() As String
|
||||
|
||||
<LocalizedCategory("category_other")>
|
||||
<LocalizedDescription("desc_tabindex")>
|
||||
Public Property TabIndex() As Integer
|
||||
|
||||
<LocalizedCategory("category_other")>
|
||||
<LocalizedDescription("desc_tabstop")>
|
||||
Public Property TabStop() As Boolean
|
||||
End Class
|
||||
End Namespace
|
||||
@ -0,0 +1,27 @@
|
||||
Imports System.ComponentModel
|
||||
Imports System.Drawing.Design
|
||||
Imports DevExpress.XtraEditors.Repository
|
||||
Imports DigitalData.GUIS.ClientSuite.ClassControlLocalization
|
||||
|
||||
Namespace ControlProperties
|
||||
|
||||
|
||||
|
||||
Public Class ClassMultiInputProperties
|
||||
Inherits ClassInputProperties
|
||||
|
||||
Private _static_list As String
|
||||
|
||||
<LocalizedDescription("desc_staticlist")>
|
||||
<LocalizedCategory("category_data")>
|
||||
Public Property StaticList As StaticList
|
||||
Get
|
||||
Return New StaticList(_static_list)
|
||||
End Get
|
||||
Set(value As StaticList)
|
||||
_static_list = value?.Value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
@ -1,10 +0,0 @@
|
||||
Namespace ControlProperties
|
||||
Public MustInherit Class ClassBaseProperties
|
||||
|
||||
Public Property Id As Integer
|
||||
Public Property Type As String
|
||||
Public Property Name As String
|
||||
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
Namespace ControlProperties
|
||||
Public Class ClassLabelProperties
|
||||
Inherits ClassBaseProperties
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
Namespace ControlProperties
|
||||
Public Class ClassComboboxProperties
|
||||
Inherits ClassMultiInputProperties
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
|
||||
@ -0,0 +1,14 @@
|
||||
Imports System.ComponentModel
|
||||
Imports DigitalData.GUIS.ClientSuite.ClassControlLocalization
|
||||
|
||||
Namespace ControlProperties
|
||||
Public Class ClassLabelProperties
|
||||
Inherits ClassBaseProperties
|
||||
|
||||
<LocalizedCategory("category_view")>
|
||||
<LocalizedDescription("desc_id")>
|
||||
Public Property Caption As String
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
Imports System.ComponentModel
|
||||
Imports DigitalData.GUIS.ClientSuite.ClassControlLocalization
|
||||
|
||||
Namespace ControlProperties
|
||||
Public Class ClassTextboxProperties
|
||||
Inherits ClassInputProperties
|
||||
|
||||
<LocalizedCategory("category_view")>
|
||||
<LocalizedDescription("desc_multiline")>
|
||||
<DefaultValue(False)>
|
||||
Public Property Multiline() As Boolean
|
||||
End Class
|
||||
End Namespace
|
||||
@ -0,0 +1,72 @@
|
||||
Imports System.ComponentModel
|
||||
'Imports System.ComponentModel.Design
|
||||
Imports System.Drawing.Design
|
||||
'Imports System.Windows.Forms
|
||||
Imports System.Windows.Forms.Design
|
||||
|
||||
Public Class ClassStaticListEditor
|
||||
Inherits UITypeEditor
|
||||
|
||||
Public Overrides Function GetEditStyle(context As ITypeDescriptorContext) As UITypeEditorEditStyle
|
||||
Return UITypeEditorEditStyle.Modal
|
||||
End Function
|
||||
|
||||
Public Overrides Function EditValue(context As ITypeDescriptorContext, provider As IServiceProvider, value As Object) As Object
|
||||
Dim oService As IWindowsFormsEditorService = TryCast(provider.GetService(GetType(IWindowsFormsEditorService)), IWindowsFormsEditorService)
|
||||
Dim oStaticListString As String = DirectCast(value, StaticList).Value
|
||||
|
||||
If oService IsNot Nothing AndAlso oStaticListString IsNot Nothing Then
|
||||
Using oForm As New frmStaticListEditor()
|
||||
oStaticListString = oStaticListString.Replace(";", vbNewLine) ' Semikolon zu vbNewLine
|
||||
oForm.Value = oStaticListString
|
||||
If oService.ShowDialog(oForm) = DialogResult.OK Then
|
||||
Dim oString As String = oForm.Value.Replace(vbNewLine, ";") ' vbNewLine zu Semikolon
|
||||
Dim oStaticList As New StaticList(oString)
|
||||
value = oStaticList
|
||||
End If
|
||||
End Using
|
||||
End If
|
||||
|
||||
Return value
|
||||
End Function
|
||||
End Class
|
||||
|
||||
<Editor(GetType(ClassStaticListEditor), GetType(UITypeEditor))>
|
||||
<TypeConverter(GetType(StaticListTypeConverter))>
|
||||
Public Class StaticList
|
||||
|
||||
Public Sub New()
|
||||
_Value = String.Empty
|
||||
End Sub
|
||||
|
||||
Public Sub New(Value As String)
|
||||
_Value = Value
|
||||
End Sub
|
||||
|
||||
Public Property Value As String
|
||||
End Class
|
||||
|
||||
Public Class StaticListTypeConverter
|
||||
Inherits TypeConverter
|
||||
|
||||
|
||||
Public Overrides Function ToString() As String
|
||||
Return MyBase.ToString()
|
||||
End Function
|
||||
|
||||
' Diese Funktion gibt den String zurück, der im PropertyGrid für den Benutzer sichtbar ist, kann ruhig etwas hübscher sein als foo;bar;baz
|
||||
Public Overrides Function ConvertTo(context As ITypeDescriptorContext, culture As Globalization.CultureInfo, value As Object, destinationType As Type) As Object
|
||||
Dim oStaticListString = String.Empty
|
||||
|
||||
If TypeOf value Is StaticList Then
|
||||
Dim oStaticList As StaticList = DirectCast(value, StaticList)
|
||||
oStaticListString = oStaticList.Value
|
||||
ElseIf TypeOf value Is String Then
|
||||
oStaticListString = value
|
||||
Else
|
||||
MsgBox("Error in Converting StaticList value")
|
||||
End If
|
||||
|
||||
Return oStaticListString.Replace(";", ", ")
|
||||
End Function
|
||||
End Class
|
||||
81
EDMI_ClientSuite/EntityDesigner/ControlProperties/Editors/frmStaticListEditor.Designer.vb
generated
Normal file
81
EDMI_ClientSuite/EntityDesigner/ControlProperties/Editors/frmStaticListEditor.Designer.vb
generated
Normal file
@ -0,0 +1,81 @@
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class frmStaticListEditor
|
||||
Inherits DevExpress.XtraEditors.XtraForm
|
||||
|
||||
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
Try
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
components.Dispose()
|
||||
End If
|
||||
Finally
|
||||
MyBase.Dispose(disposing)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Wird vom Windows Form-Designer benötigt.
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
||||
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
||||
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmStaticListEditor))
|
||||
Me.txtValue = New System.Windows.Forms.TextBox()
|
||||
Me.Button1 = New System.Windows.Forms.Button()
|
||||
Me.Label1 = New System.Windows.Forms.Label()
|
||||
Me.Button2 = New System.Windows.Forms.Button()
|
||||
Me.Label2 = New System.Windows.Forms.Label()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'txtValue
|
||||
'
|
||||
resources.ApplyResources(Me.txtValue, "txtValue")
|
||||
Me.txtValue.Name = "txtValue"
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
resources.ApplyResources(Me.Button1, "Button1")
|
||||
Me.Button1.DialogResult = System.Windows.Forms.DialogResult.OK
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Label1
|
||||
'
|
||||
resources.ApplyResources(Me.Label1, "Label1")
|
||||
Me.Label1.Name = "Label1"
|
||||
'
|
||||
'Button2
|
||||
'
|
||||
resources.ApplyResources(Me.Button2, "Button2")
|
||||
Me.Button2.DialogResult = System.Windows.Forms.DialogResult.Cancel
|
||||
Me.Button2.Name = "Button2"
|
||||
Me.Button2.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Label2
|
||||
'
|
||||
resources.ApplyResources(Me.Label2, "Label2")
|
||||
Me.Label2.Name = "Label2"
|
||||
'
|
||||
'frmStaticListEditor
|
||||
'
|
||||
resources.ApplyResources(Me, "$this")
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.Controls.Add(Me.Button2)
|
||||
Me.Controls.Add(Me.Label2)
|
||||
Me.Controls.Add(Me.Label1)
|
||||
Me.Controls.Add(Me.Button1)
|
||||
Me.Controls.Add(Me.txtValue)
|
||||
Me.Name = "frmStaticListEditor"
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents txtValue As System.Windows.Forms.TextBox
|
||||
Friend WithEvents Button1 As System.Windows.Forms.Button
|
||||
Friend WithEvents Label1 As System.Windows.Forms.Label
|
||||
Friend WithEvents Button2 As System.Windows.Forms.Button
|
||||
Friend WithEvents Label2 As Label
|
||||
End Class
|
||||
@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Button1.Text" xml:space="preserve">
|
||||
<value>Save</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="Label2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>159, 13</value>
|
||||
</data>
|
||||
<data name="Label2.Text" xml:space="preserve">
|
||||
<value>Enter Listelements (One per line)</value>
|
||||
</data>
|
||||
<data name="Button2.Text" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>Edit Static List</value>
|
||||
</data>
|
||||
</root>
|
||||
@ -0,0 +1,279 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="txtValue.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Bottom, Left, Right</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="txtValue.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 12</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="txtValue.Multiline" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="txtValue.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>494, 211</value>
|
||||
</data>
|
||||
<data name="txtValue.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>txtValue.Name" xml:space="preserve">
|
||||
<value>txtValue</value>
|
||||
</data>
|
||||
<data name=">>txtValue.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>txtValue.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>txtValue.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="Button1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
</data>
|
||||
<data name="Button1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>424, 229</value>
|
||||
</data>
|
||||
<data name="Button1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>82, 24</value>
|
||||
</data>
|
||||
<data name="Button1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="Button1.Text" xml:space="preserve">
|
||||
<value>Speichern</value>
|
||||
</data>
|
||||
<data name=">>Button1.Name" xml:space="preserve">
|
||||
<value>Button1</value>
|
||||
</data>
|
||||
<data name=">>Button1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>Button1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>Button1.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="Label1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 229</value>
|
||||
</data>
|
||||
<data name="Label1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>20, 24</value>
|
||||
</data>
|
||||
<data name="Label1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name=">>Label1.Name" xml:space="preserve">
|
||||
<value>Label1</value>
|
||||
</data>
|
||||
<data name=">>Label1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>Label1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>Label1.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="Button2.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
</data>
|
||||
<data name="Button2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>336, 229</value>
|
||||
</data>
|
||||
<data name="Button2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>82, 24</value>
|
||||
</data>
|
||||
<data name="Button2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="Button2.Text" xml:space="preserve">
|
||||
<value>Abbrechen</value>
|
||||
</data>
|
||||
<data name=">>Button2.Name" xml:space="preserve">
|
||||
<value>Button2</value>
|
||||
</data>
|
||||
<data name=">>Button2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>Button2.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>Button2.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="Label2.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Left</value>
|
||||
</data>
|
||||
<data name="Label2.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="Label2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="Label2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 235</value>
|
||||
</data>
|
||||
<data name="Label2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>236, 13</value>
|
||||
</data>
|
||||
<data name="Label2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="Label2.Text" xml:space="preserve">
|
||||
<value>Listenelemente eingeben (Ein Element pro Zeile)</value>
|
||||
</data>
|
||||
<data name=">>Label2.Name" xml:space="preserve">
|
||||
<value>Label2</value>
|
||||
</data>
|
||||
<data name=">>Label2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>Label2.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>Label2.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>6, 13</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>518, 265</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterScreen</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>Statische Liste bearbeiten</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>frmStaticListEditor</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v18.1, Version=18.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||
</data>
|
||||
</root>
|
||||
@ -0,0 +1,11 @@
|
||||
Public Class frmStaticListEditor
|
||||
|
||||
Public Property Value() As String
|
||||
Get
|
||||
Return txtValue.Text
|
||||
End Get
|
||||
Set(value As String)
|
||||
txtValue.Text = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
@ -1,4 +1,4 @@
|
||||
Public Class SnapPanel
|
||||
Public Class ControlSnapPanel
|
||||
Inherits Panel
|
||||
|
||||
Private _ShowGrid As Boolean = True
|
||||
@ -22,37 +22,24 @@ Partial Class frmEntityDesigner
|
||||
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||
<System.Diagnostics.DebuggerStepThrough()>
|
||||
Private Sub InitializeComponent()
|
||||
Me.SplitContainerMain = New DevExpress.XtraEditors.SplitContainerControl()
|
||||
Me.PanelMain = New EDMI_ClientSuite.SnapPanel()
|
||||
Me.PanelMain = New EDMI_ClientSuite.ControlSnapPanel()
|
||||
Me.TabControlMain = New DevExpress.XtraTab.XtraTabControl()
|
||||
Me.TabPageProperties = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.PropertyGridMain = New DevExpress.XtraVerticalGrid.PropertyGridControl()
|
||||
Me.TabPageControls = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.btnTextbox = New System.Windows.Forms.Button()
|
||||
Me.btnLabel = New System.Windows.Forms.Button()
|
||||
CType(Me.SplitContainerMain, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SplitContainerMain.SuspendLayout()
|
||||
Me.TabPageProperties = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.PropertyGridMain = New DevExpress.XtraVerticalGrid.PropertyGridControl()
|
||||
Me.SplitContainerControlMain = New DevExpress.XtraEditors.SplitContainerControl()
|
||||
Me.btnCombobox = New System.Windows.Forms.Button()
|
||||
CType(Me.TabControlMain, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.TabControlMain.SuspendLayout()
|
||||
Me.TabPageControls.SuspendLayout()
|
||||
Me.TabPageProperties.SuspendLayout()
|
||||
CType(Me.PropertyGridMain, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.TabPageControls.SuspendLayout()
|
||||
CType(Me.SplitContainerControlMain, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SplitContainerControlMain.SuspendLayout()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'SplitContainerMain
|
||||
'
|
||||
Me.SplitContainerMain.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
Me.SplitContainerMain.Location = New System.Drawing.Point(0, 0)
|
||||
Me.SplitContainerMain.Name = "SplitContainerMain"
|
||||
Me.SplitContainerMain.Panel1.Controls.Add(Me.PanelMain)
|
||||
Me.SplitContainerMain.Panel1.Text = "Panel1"
|
||||
Me.SplitContainerMain.Panel2.Controls.Add(Me.TabControlMain)
|
||||
Me.SplitContainerMain.Panel2.Text = "Panel2"
|
||||
Me.SplitContainerMain.Size = New System.Drawing.Size(800, 450)
|
||||
Me.SplitContainerMain.SplitterPosition = 571
|
||||
Me.SplitContainerMain.TabIndex = 0
|
||||
Me.SplitContainerMain.Text = "SplitContainerControl1"
|
||||
'
|
||||
'PanelMain
|
||||
'
|
||||
Me.PanelMain.AllowDrop = True
|
||||
@ -61,7 +48,7 @@ Partial Class frmEntityDesigner
|
||||
Me.PanelMain.Location = New System.Drawing.Point(0, 0)
|
||||
Me.PanelMain.Name = "PanelMain"
|
||||
Me.PanelMain.ShowGrid = True
|
||||
Me.PanelMain.Size = New System.Drawing.Size(571, 450)
|
||||
Me.PanelMain.Size = New System.Drawing.Size(564, 450)
|
||||
Me.PanelMain.TabIndex = 0
|
||||
'
|
||||
'TabControlMain
|
||||
@ -70,32 +57,17 @@ Partial Class frmEntityDesigner
|
||||
Me.TabControlMain.Location = New System.Drawing.Point(0, 0)
|
||||
Me.TabControlMain.Name = "TabControlMain"
|
||||
Me.TabControlMain.SelectedTabPage = Me.TabPageControls
|
||||
Me.TabControlMain.Size = New System.Drawing.Size(217, 450)
|
||||
Me.TabControlMain.Size = New System.Drawing.Size(224, 450)
|
||||
Me.TabControlMain.TabIndex = 0
|
||||
Me.TabControlMain.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.TabPageControls, Me.TabPageProperties})
|
||||
'
|
||||
'TabPageProperties
|
||||
'
|
||||
Me.TabPageProperties.Controls.Add(Me.PropertyGridMain)
|
||||
Me.TabPageProperties.Name = "TabPageProperties"
|
||||
Me.TabPageProperties.Size = New System.Drawing.Size(215, 425)
|
||||
Me.TabPageProperties.Text = "Properties"
|
||||
'
|
||||
'PropertyGridMain
|
||||
'
|
||||
Me.PropertyGridMain.Cursor = System.Windows.Forms.Cursors.Hand
|
||||
Me.PropertyGridMain.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
Me.PropertyGridMain.Location = New System.Drawing.Point(0, 0)
|
||||
Me.PropertyGridMain.Name = "PropertyGridMain"
|
||||
Me.PropertyGridMain.Size = New System.Drawing.Size(215, 425)
|
||||
Me.PropertyGridMain.TabIndex = 0
|
||||
'
|
||||
'TabPageControls
|
||||
'
|
||||
Me.TabPageControls.Controls.Add(Me.btnCombobox)
|
||||
Me.TabPageControls.Controls.Add(Me.btnTextbox)
|
||||
Me.TabPageControls.Controls.Add(Me.btnLabel)
|
||||
Me.TabPageControls.Name = "TabPageControls"
|
||||
Me.TabPageControls.Size = New System.Drawing.Size(215, 425)
|
||||
Me.TabPageControls.Size = New System.Drawing.Size(222, 425)
|
||||
Me.TabPageControls.Text = "Controls"
|
||||
'
|
||||
'btnTextbox
|
||||
@ -116,31 +88,70 @@ Partial Class frmEntityDesigner
|
||||
Me.btnLabel.Text = "Label"
|
||||
Me.btnLabel.UseVisualStyleBackColor = True
|
||||
'
|
||||
'TabPageProperties
|
||||
'
|
||||
Me.TabPageProperties.Controls.Add(Me.PropertyGridMain)
|
||||
Me.TabPageProperties.Name = "TabPageProperties"
|
||||
Me.TabPageProperties.Size = New System.Drawing.Size(222, 425)
|
||||
Me.TabPageProperties.Text = "Properties"
|
||||
'
|
||||
'PropertyGridMain
|
||||
'
|
||||
Me.PropertyGridMain.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
Me.PropertyGridMain.Location = New System.Drawing.Point(0, 0)
|
||||
Me.PropertyGridMain.Name = "PropertyGridMain"
|
||||
Me.PropertyGridMain.Size = New System.Drawing.Size(222, 425)
|
||||
Me.PropertyGridMain.TabIndex = 0
|
||||
'
|
||||
'SplitContainerControlMain
|
||||
'
|
||||
Me.SplitContainerControlMain.Dock = System.Windows.Forms.DockStyle.Fill
|
||||
Me.SplitContainerControlMain.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2
|
||||
Me.SplitContainerControlMain.Location = New System.Drawing.Point(0, 0)
|
||||
Me.SplitContainerControlMain.Name = "SplitContainerControlMain"
|
||||
Me.SplitContainerControlMain.Panel1.Controls.Add(Me.PanelMain)
|
||||
Me.SplitContainerControlMain.Panel1.Text = "Panel1"
|
||||
Me.SplitContainerControlMain.Panel2.Controls.Add(Me.TabControlMain)
|
||||
Me.SplitContainerControlMain.Panel2.Text = "Panel2"
|
||||
Me.SplitContainerControlMain.Size = New System.Drawing.Size(800, 450)
|
||||
Me.SplitContainerControlMain.SplitterPosition = 224
|
||||
Me.SplitContainerControlMain.TabIndex = 1
|
||||
Me.SplitContainerControlMain.Text = "SplitContainerControl1"
|
||||
'
|
||||
'btnCombobox
|
||||
'
|
||||
Me.btnCombobox.Location = New System.Drawing.Point(15, 77)
|
||||
Me.btnCombobox.Name = "btnCombobox"
|
||||
Me.btnCombobox.Size = New System.Drawing.Size(122, 23)
|
||||
Me.btnCombobox.TabIndex = 1
|
||||
Me.btnCombobox.Text = "Combobox"
|
||||
Me.btnCombobox.UseVisualStyleBackColor = True
|
||||
'
|
||||
'frmEntityDesigner
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(800, 450)
|
||||
Me.Controls.Add(Me.SplitContainerMain)
|
||||
Me.Controls.Add(Me.SplitContainerControlMain)
|
||||
Me.Name = "frmEntityDesigner"
|
||||
Me.Text = "Entitäten Designer"
|
||||
CType(Me.SplitContainerMain, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.SplitContainerMain.ResumeLayout(False)
|
||||
CType(Me.TabControlMain, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.TabControlMain.ResumeLayout(False)
|
||||
Me.TabPageControls.ResumeLayout(False)
|
||||
Me.TabPageProperties.ResumeLayout(False)
|
||||
CType(Me.PropertyGridMain, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.TabPageControls.ResumeLayout(False)
|
||||
CType(Me.SplitContainerControlMain, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.SplitContainerControlMain.ResumeLayout(False)
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
|
||||
Friend WithEvents SplitContainerMain As DevExpress.XtraEditors.SplitContainerControl
|
||||
Friend WithEvents TabControlMain As DevExpress.XtraTab.XtraTabControl
|
||||
Friend WithEvents TabPageProperties As DevExpress.XtraTab.XtraTabPage
|
||||
Friend WithEvents PropertyGridMain As DevExpress.XtraVerticalGrid.PropertyGridControl
|
||||
Friend WithEvents TabPageControls As DevExpress.XtraTab.XtraTabPage
|
||||
Friend WithEvents PanelMain As SnapPanel
|
||||
Friend WithEvents PanelMain As ControlSnapPanel
|
||||
Friend WithEvents btnTextbox As Button
|
||||
Friend WithEvents btnLabel As Button
|
||||
Friend WithEvents SplitContainerControlMain As DevExpress.XtraEditors.SplitContainerControl
|
||||
Friend WithEvents btnCombobox As Button
|
||||
End Class
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
Imports EDMI_ClientSuite.ClassControlUtils
|
||||
Imports EDMI_ClientSuite.ControlProperties
|
||||
Imports DigitalData.GUIS.ClientSuite.ClassControlUtils
|
||||
Imports DigitalData.GUIS.ClientSuite.ControlProperties
|
||||
Imports DevExpress.XtraEditors.Repository
|
||||
Imports DevExpress.XtraVerticalGrid
|
||||
|
||||
Public Class frmEntityDesigner
|
||||
Private _IsMouseDown As Boolean = False
|
||||
@ -12,24 +14,45 @@ Public Class frmEntityDesigner
|
||||
Private _CurrentControl As Control = Nothing
|
||||
Private _ControlBuilder As ClassControlBuilder = Nothing
|
||||
|
||||
Private _DragDropButtonList As New List(Of Button)
|
||||
|
||||
Private Sub frmEntityDesigner_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||
' Assign Control Types to DragDrop Buttons
|
||||
btnLabel.Tag = ControlType.Label
|
||||
btnTextbox.Tag = ControlType.TextBox
|
||||
btnCombobox.Tag = ControlType.Combobox
|
||||
|
||||
' Add Default Editors for certain datatypes in the PropertyGrid
|
||||
Dim oColorEditor = New RepositoryItemColorEdit()
|
||||
Dim oBooleanEditor = New RepositoryItemCheckEdit()
|
||||
|
||||
PropertyGridMain.DefaultEditors.Add(GetType(Color), oColorEditor)
|
||||
PropertyGridMain.DefaultEditors.Add(GetType(Boolean), oBooleanEditor)
|
||||
|
||||
' Create the control builder
|
||||
_ControlBuilder = New ClassControlBuilder(DesignMode:=True)
|
||||
|
||||
' Create a list of all DragDrop buttons
|
||||
_DragDropButtonList.Add(btnLabel)
|
||||
_DragDropButtonList.Add(btnTextbox)
|
||||
_DragDropButtonList.Add(btnCombobox)
|
||||
|
||||
' Add EventHandlers for each button
|
||||
For Each oButton As Button In _DragDropButtonList
|
||||
AddHandler oButton.MouseDown, AddressOf DragDropButton_MouseDown
|
||||
AddHandler oButton.MouseMove, AddressOf DragDropButton_MouseMove
|
||||
Next
|
||||
End Sub
|
||||
|
||||
#Region "Control Buttons Events"
|
||||
Private Sub btnControl_MouseDown(sender As Object, e As MouseEventArgs) Handles btnLabel.MouseDown, btnTextbox.MouseDown
|
||||
Private Sub DragDropButton_MouseDown(sender As Object, e As MouseEventArgs)
|
||||
_IsMouseDown = True
|
||||
End Sub
|
||||
|
||||
Private Sub btnControl_MouseMove(sender As Button, e As MouseEventArgs) Handles btnLabel.MouseMove, btnTextbox.MouseMove
|
||||
Private Sub DragDropButton_MouseMove(sender As Button, e As MouseEventArgs)
|
||||
If _IsMouseDown Then
|
||||
Dim oButton = sender
|
||||
Dim oType As ClassControlUtils.ControlType = oButton.Tag
|
||||
Dim oType As ControlType = oButton.Tag
|
||||
|
||||
oButton.DoDragDrop(oType.ToString, DragDropEffects.Copy)
|
||||
End If
|
||||
@ -93,15 +116,25 @@ Public Class frmEntityDesigner
|
||||
End Sub
|
||||
|
||||
Private Sub Control_MouseClick(sender As Control, e As MouseEventArgs)
|
||||
TabControlMain.SelectedTabPage = TabPageControls
|
||||
TabControlMain.SelectedTabPage = TabPageProperties
|
||||
HandleLoadProperties(sender)
|
||||
End Sub
|
||||
|
||||
Private Sub Control_MouseEnter(sender As Control, e As EventArgs)
|
||||
Cursor = Cursors.Hand
|
||||
End Sub
|
||||
|
||||
Private Sub Control_MouseLeave(sender As Control, e As EventArgs)
|
||||
Cursor = Cursors.Default
|
||||
End Sub
|
||||
|
||||
Private Sub SetEventHandlers(Control As Control)
|
||||
AddHandler Control.MouseDown, AddressOf Control_MouseDown
|
||||
AddHandler Control.MouseMove, AddressOf Control_MouseMove
|
||||
AddHandler Control.MouseUp, AddressOf Control_MouseUp
|
||||
AddHandler Control.MouseClick, AddressOf Control_MouseClick
|
||||
AddHandler Control.MouseEnter, AddressOf Control_MouseEnter
|
||||
AddHandler Control.MouseLeave, AddressOf Control_MouseLeave
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
@ -112,10 +145,48 @@ Public Class frmEntityDesigner
|
||||
|
||||
Select Case oType
|
||||
Case ControlType.Label
|
||||
oProps = New ClassLabelProperties()
|
||||
oProps.Id = oMetadata.Id
|
||||
oProps.Name = Control.Name
|
||||
oProps.Type = oType
|
||||
oProps = New ClassLabelProperties With {
|
||||
.Id = oMetadata.Id,
|
||||
.Name = Control.Name,
|
||||
.Type = oType,
|
||||
.Location = Control.Location,
|
||||
.Size = Control.Size,
|
||||
.Font = Control.Font,
|
||||
.Color = Control.ForeColor,
|
||||
.Caption = Control.Text
|
||||
}
|
||||
Case ControlType.TextBox
|
||||
oProps = New ClassTextboxProperties With {
|
||||
.Id = oMetadata.Id,
|
||||
.Name = Control.Name,
|
||||
.Type = oType,
|
||||
.Location = Control.Location,
|
||||
.Size = Control.Size,
|
||||
.Font = Control.Font,
|
||||
.Color = ForeColor,
|
||||
.IsReadOnly = False,
|
||||
.IsRequired = False,
|
||||
.Multiline = False,
|
||||
.TabIndex = 0,
|
||||
.TabStop = 1,
|
||||
.DefaultValue = ""
|
||||
}
|
||||
Case ControlType.Combobox
|
||||
oProps = New ClassComboboxProperties() With {
|
||||
.Id = oMetadata.Id,
|
||||
.Name = Control.Name,
|
||||
.Type = oType,
|
||||
.Location = Control.Location,
|
||||
.Size = Control.Size,
|
||||
.Font = Control.Font,
|
||||
.Color = ForeColor,
|
||||
.IsReadOnly = False,
|
||||
.IsRequired = False,
|
||||
.TabIndex = 0,
|
||||
.TabStop = 1,
|
||||
.DefaultValue = "",
|
||||
.StaticList = New StaticList()
|
||||
}
|
||||
Case Else
|
||||
Exit Sub
|
||||
End Select
|
||||
@ -132,6 +203,8 @@ Public Class frmEntityDesigner
|
||||
oControl = _ControlBuilder.CreateLabel()
|
||||
Case ControlType.TextBox
|
||||
oControl = _ControlBuilder.CreateTextbox()
|
||||
Case ControlType.Combobox
|
||||
oControl = _ControlBuilder.CreateCombobox()
|
||||
Case Else
|
||||
MsgBox($"Unknown Control Type {type.ToString}")
|
||||
Exit Sub
|
||||
@ -147,5 +220,38 @@ Public Class frmEntityDesigner
|
||||
PanelMain.Controls.Add(oControl)
|
||||
End Sub
|
||||
|
||||
Private Sub PropertyGridMain_RowChanged(sender As Object, e As DevExpress.XtraVerticalGrid.Events.RowChangedEventArgs) Handles PropertyGridMain.RowChanged
|
||||
If e.ChangeType <> RowChangeTypeEnum.Value Then
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
Dim oPropertyName As String = e.Properties.FieldName
|
||||
Dim oPropertyValue = e.Properties.Value
|
||||
|
||||
|
||||
Select Case oPropertyName
|
||||
Case "Name"
|
||||
_CurrentControl.Name = oPropertyValue
|
||||
Case "Location"
|
||||
_CurrentControl.Location = oPropertyValue
|
||||
Case "X"
|
||||
_CurrentControl.Location = New Point(oPropertyValue, _CurrentControl.Location.Y)
|
||||
Case "Y"
|
||||
_CurrentControl.Location = New Point(_CurrentControl.Location.X, oPropertyValue)
|
||||
Case "Size"
|
||||
_CurrentControl.Size = oPropertyValue
|
||||
Case "Width"
|
||||
_CurrentControl.Size = New Size(oPropertyValue, _CurrentControl.Height)
|
||||
Case "Height"
|
||||
_CurrentControl.Size = New Size(_CurrentControl.Width, oPropertyValue)
|
||||
Case "Font"
|
||||
_CurrentControl.Font = oPropertyValue
|
||||
Case "Color"
|
||||
_CurrentControl.ForeColor = oPropertyValue
|
||||
Case "Caption"
|
||||
If TypeOf _CurrentControl Is Label Then
|
||||
_CurrentControl.Text = oPropertyValue
|
||||
End If
|
||||
End Select
|
||||
End Sub
|
||||
End Class
|
||||
463
EDMI_ClientSuite/Strings/ControlProperties.Designer.vb
generated
Normal file
463
EDMI_ClientSuite/Strings/ControlProperties.Designer.vb
generated
Normal file
@ -0,0 +1,463 @@
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Dieser Code wurde von einem Tool generiert.
|
||||
' Laufzeitversion:4.0.30319.42000
|
||||
'
|
||||
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
' der Code erneut generiert wird.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
Imports System
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
|
||||
'-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||
'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||
'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
|
||||
'''<summary>
|
||||
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Class ControlProperties
|
||||
|
||||
Private Shared resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private Shared resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
<Global.System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
|
||||
Friend Sub New()
|
||||
MyBase.New
|
||||
End Sub
|
||||
|
||||
'''<summary>
|
||||
''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Shared ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
||||
Get
|
||||
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
||||
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("DigitalData.GUIS.ClientSuite.ControlProperties", GetType(ControlProperties).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||
''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Shared Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Termin Einstellungen ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_appointment() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_appointment", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Daten ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_data() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_data", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Datenbank Einstellungen ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_database() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_database", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Datums Einstellungen ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_date() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_date", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Schrift Einstellungen ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_font() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_font", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Form Einstellungen ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_form() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_form", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Information ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_info() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_info", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Eingabe Eigenschaften ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_input() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_input", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Andere Einstellungen ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_other() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_other", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Ansichts Einstellungen ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property category_view() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("category_view", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Schlägt bereits eingegebene Einträge bei der der Eingabe vor. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_autosuggest() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_autosuggest", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Hintergrundfarbe des Elements an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_backcolor() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_backcolor", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt den Beschreibungstext dieses Elements an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_caption() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_caption", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt den Spaltentitel des Elements an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_col_title() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_col_title", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Farbe an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_color() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_color", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt den Standardwert dieses Elements an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_defaultvalue() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_defaultvalue", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Beschreibung des Termins an. Dynamische Werte aus anderen Controls können mit der Syntax [%controlname] eingefügt werden ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_description() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_description", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt einen SQL Befehl an, der das Control abhängig vom Ergebnis (0 oder 1) aktiviert oder deaktiviert ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_enabledwhen() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_enabledwhen", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Schriftart an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_fontstyle() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_fontstyle", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt das Format des Textes an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_format() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_format", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Form-ID der zu öffnenden Form an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_formid() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_formid", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Der Name eines Elements von dem das End-Datum gelesen wird. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_fromdate() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_fromdate", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Der Text, der beim überfahren des Controls angezeigt wird ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_hint() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_hint", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die eindeutige ID des Elements an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_id() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_id", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Position des Elements an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_location() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_location", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Die Id des Formulars, das über das Kontextmenü geöffnet wird. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_masterdataid() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_masterdataid", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt an, ob das Feld mehrzeilig sein soll. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_multiline() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_multiline", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt den internen Namen des Elements an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_name() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_name", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt den Ort des Termins an. Dynamische Werte aus anderen Controls können mit der Syntax [%controlname] eingefügt werden ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_place() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_place", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt an, ob dieses Element nur lesbar ist. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_readonly() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_readonly", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt an ob dieses Element benötigt wird um die Eingabe abzuschließen. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_required() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_required", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Screen-ID der zu öffnenden Form an. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_screenid() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_screenid", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt an, ob nur vorhandene Listeneinträge ausgewählt werden können ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_select_only() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_select_only", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt an, ob das Feld als Spalte im Grid angezeigt wird. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_showcolumn() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_showcolumn", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Größe des Elements an ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_size() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_size", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Datenbank-Abfrage für dieses Element an. Es können @RECORD_ID und @FORM_ID als Platzhalter verwendet werden. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_sqlcommand() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_sqlcommand", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Eine Liste von statischen Werten, die durch ';' getrennt sind. Überschreibt die Daten aus 'Datenbank-Einstellungen' ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_staticlist() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_staticlist", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt den Betreff des Termins an. Dynamische Werte aus anderen Controls können mit der Syntax [%controlname] eingefügt werden ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_subject() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_subject", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt den optionalen zweiten Betreff des Termins an. Dynamische Werte aus anderen Controls können mit der Syntax [%controlname] eingefügt werden ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_subject2() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_subject2", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt die Reihenfolge an, in der das Element durch die Tabulatortaste aktiviert wird. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_tabindex() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_tabindex", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt an, ob das Element durch die Tabulartortaste aktiviert werden soll. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_tabstop() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_tabstop", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Der Name eines Elements von dem das Start-Datum gelesen wird. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_todate() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_todate", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Der Typ des Elements ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_type() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_type", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die Gibt an, ob das Element angezeigt wird. ähnelt.
|
||||
'''</summary>
|
||||
Friend Shared ReadOnly Property desc_visible() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("desc_visible", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
0
EDMI_ClientSuite/Strings/ControlProperties.en.Designer.vb
generated
Normal file
0
EDMI_ClientSuite/Strings/ControlProperties.en.Designer.vb
generated
Normal file
252
EDMI_ClientSuite/Strings/ControlProperties.en.resx
Normal file
252
EDMI_ClientSuite/Strings/ControlProperties.en.resx
Normal file
@ -0,0 +1,252 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="category_appointment" xml:space="preserve">
|
||||
<value>Scheduler Configuration</value>
|
||||
</data>
|
||||
<data name="category_data" xml:space="preserve">
|
||||
<value>Data</value>
|
||||
</data>
|
||||
<data name="category_database" xml:space="preserve">
|
||||
<value>Database Configuration</value>
|
||||
</data>
|
||||
<data name="category_date" xml:space="preserve">
|
||||
<value>Date Configuration</value>
|
||||
</data>
|
||||
<data name="category_font" xml:space="preserve">
|
||||
<value>Font Configuration</value>
|
||||
</data>
|
||||
<data name="category_form" xml:space="preserve">
|
||||
<value>Form Configuration</value>
|
||||
</data>
|
||||
<data name="category_info" xml:space="preserve">
|
||||
<value>Information</value>
|
||||
</data>
|
||||
<data name="category_other" xml:space="preserve">
|
||||
<value>Other Configuration</value>
|
||||
</data>
|
||||
<data name="category_view" xml:space="preserve">
|
||||
<value>View Configuration</value>
|
||||
</data>
|
||||
<data name="desc_autosuggest" xml:space="preserve">
|
||||
<value>Suggests already entered entries</value>
|
||||
</data>
|
||||
<data name="desc_backcolor" xml:space="preserve">
|
||||
<value>The element's background color.</value>
|
||||
</data>
|
||||
<data name="desc_caption" xml:space="preserve">
|
||||
<value>The element's caption.</value>
|
||||
</data>
|
||||
<data name="desc_color" xml:space="preserve">
|
||||
<value>The element's color.</value>
|
||||
</data>
|
||||
<data name="desc_col_title" xml:space="preserve">
|
||||
<value>The element's colum title.</value>
|
||||
</data>
|
||||
<data name="desc_defaultvalue" xml:space="preserve">
|
||||
<value>The element's default value.</value>
|
||||
</data>
|
||||
<data name="desc_description" xml:space="preserve">
|
||||
<value>The appointment's description. Dynamic values from other controls can be inserted with the syntax [%controlname].</value>
|
||||
</data>
|
||||
<data name="desc_enabledwhen" xml:space="preserve">
|
||||
<value>An SQL Query that enables or disables the Control depending on the result (0 or 1)</value>
|
||||
</data>
|
||||
<data name="desc_fontstyle" xml:space="preserve">
|
||||
<value>The element's font style.</value>
|
||||
</data>
|
||||
<data name="desc_format" xml:space="preserve">
|
||||
<value>The element's number format.</value>
|
||||
</data>
|
||||
<data name="desc_formid" xml:space="preserve">
|
||||
<value>The form-ID of the form that will be opened.</value>
|
||||
</data>
|
||||
<data name="desc_fromdate" xml:space="preserve">
|
||||
<value>The appointment's start-date. Dynamic values from other controls can be inserted with the syntax [%controlname].</value>
|
||||
</data>
|
||||
<data name="desc_hint" xml:space="preserve">
|
||||
<value>The text that will be shown when the control is hovered over</value>
|
||||
</data>
|
||||
<data name="desc_id" xml:space="preserve">
|
||||
<value>The element's unique identifier.</value>
|
||||
</data>
|
||||
<data name="desc_location" xml:space="preserve">
|
||||
<value>The element's location</value>
|
||||
</data>
|
||||
<data name="desc_masterdataid" xml:space="preserve">
|
||||
<value>The Form's Id that will be opened via the contextmenu.</value>
|
||||
</data>
|
||||
<data name="desc_multiline" xml:space="preserve">
|
||||
<value>Should the element be a multiline field?</value>
|
||||
</data>
|
||||
<data name="desc_name" xml:space="preserve">
|
||||
<value>The element's internal name</value>
|
||||
</data>
|
||||
<data name="desc_place" xml:space="preserve">
|
||||
<value>The appointment's location. Dynamic values from other controls can be inserted with the syntax [%controlname].</value>
|
||||
</data>
|
||||
<data name="desc_readonly" xml:space="preserve">
|
||||
<value>Is the element read-only?</value>
|
||||
</data>
|
||||
<data name="desc_required" xml:space="preserve">
|
||||
<value>Is the element required to be filled to complete the input?</value>
|
||||
</data>
|
||||
<data name="desc_screenid" xml:space="preserve">
|
||||
<value>The screen-ID of the form that will be opened.</value>
|
||||
</data>
|
||||
<data name="desc_select_only" xml:space="preserve">
|
||||
<value>Can only existing list items be selected?</value>
|
||||
</data>
|
||||
<data name="desc_showcolumn" xml:space="preserve">
|
||||
<value>Should the element be show as a column?</value>
|
||||
</data>
|
||||
<data name="desc_size" xml:space="preserve">
|
||||
<value>The element's size</value>
|
||||
</data>
|
||||
<data name="desc_sqlcommand" xml:space="preserve">
|
||||
<value>The database query for this element. @RECORD_ID and @FORM_ID can be used as placeholders. Dynamic values from other controls can be inserted with the Syntax @controlid@.</value>
|
||||
</data>
|
||||
<data name="desc_staticlist" xml:space="preserve">
|
||||
<value>A list of static values seperated by a semicolon (;)</value>
|
||||
</data>
|
||||
<data name="desc_subject" xml:space="preserve">
|
||||
<value>The appointment's subject. Dynamic values from other controls can be inserted with the syntax [%controlname].</value>
|
||||
</data>
|
||||
<data name="desc_subject2" xml:space="preserve">
|
||||
<value>The appointment's optional secondary subject. Dynamic values from other controls can be inserted with the syntax [%controlname].</value>
|
||||
</data>
|
||||
<data name="desc_tabindex" xml:space="preserve">
|
||||
<value>The order in which this element should be activated by the tab key.</value>
|
||||
</data>
|
||||
<data name="desc_tabstop" xml:space="preserve">
|
||||
<value>Should this element be activated by the tab key?</value>
|
||||
</data>
|
||||
<data name="desc_todate" xml:space="preserve">
|
||||
<value>The appointment's end-date. Dynamic values from other controls can be inserted with the syntax [%controlname].</value>
|
||||
</data>
|
||||
<data name="desc_type" xml:space="preserve">
|
||||
<value>The element's type</value>
|
||||
</data>
|
||||
<data name="desc_visible" xml:space="preserve">
|
||||
<value>Should the element be visible?</value>
|
||||
</data>
|
||||
<data name="category_input" xml:space="preserve">
|
||||
<value>Input Configuration</value>
|
||||
</data>
|
||||
</root>
|
||||
252
EDMI_ClientSuite/Strings/ControlProperties.resx
Normal file
252
EDMI_ClientSuite/Strings/ControlProperties.resx
Normal file
@ -0,0 +1,252 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="category_appointment" xml:space="preserve">
|
||||
<value>Termin Einstellungen</value>
|
||||
</data>
|
||||
<data name="category_data" xml:space="preserve">
|
||||
<value>Daten</value>
|
||||
</data>
|
||||
<data name="category_database" xml:space="preserve">
|
||||
<value>Datenbank Einstellungen</value>
|
||||
</data>
|
||||
<data name="category_date" xml:space="preserve">
|
||||
<value>Datums Einstellungen</value>
|
||||
</data>
|
||||
<data name="category_font" xml:space="preserve">
|
||||
<value>Schrift Einstellungen</value>
|
||||
</data>
|
||||
<data name="category_form" xml:space="preserve">
|
||||
<value>Form Einstellungen</value>
|
||||
</data>
|
||||
<data name="category_info" xml:space="preserve">
|
||||
<value>Information</value>
|
||||
</data>
|
||||
<data name="category_other" xml:space="preserve">
|
||||
<value>Andere Einstellungen</value>
|
||||
</data>
|
||||
<data name="category_view" xml:space="preserve">
|
||||
<value>Ansichts Einstellungen</value>
|
||||
</data>
|
||||
<data name="desc_autosuggest" xml:space="preserve">
|
||||
<value>Schlägt bereits eingegebene Einträge bei der der Eingabe vor.</value>
|
||||
</data>
|
||||
<data name="desc_backcolor" xml:space="preserve">
|
||||
<value>Gibt die Hintergrundfarbe des Elements an.</value>
|
||||
</data>
|
||||
<data name="desc_caption" xml:space="preserve">
|
||||
<value>Gibt den Beschreibungstext dieses Elements an.</value>
|
||||
</data>
|
||||
<data name="desc_color" xml:space="preserve">
|
||||
<value>Gibt die Farbe an.</value>
|
||||
</data>
|
||||
<data name="desc_col_title" xml:space="preserve">
|
||||
<value>Gibt den Spaltentitel des Elements an.</value>
|
||||
</data>
|
||||
<data name="desc_defaultvalue" xml:space="preserve">
|
||||
<value>Gibt den Standardwert dieses Elements an.</value>
|
||||
</data>
|
||||
<data name="desc_description" xml:space="preserve">
|
||||
<value>Gibt die Beschreibung des Termins an. Dynamische Werte aus anderen Controls können mit der Syntax [%controlname] eingefügt werden</value>
|
||||
</data>
|
||||
<data name="desc_enabledwhen" xml:space="preserve">
|
||||
<value>Gibt einen SQL Befehl an, der das Control abhängig vom Ergebnis (0 oder 1) aktiviert oder deaktiviert</value>
|
||||
</data>
|
||||
<data name="desc_fontstyle" xml:space="preserve">
|
||||
<value>Gibt die Schriftart an.</value>
|
||||
</data>
|
||||
<data name="desc_format" xml:space="preserve">
|
||||
<value>Gibt das Format des Textes an.</value>
|
||||
</data>
|
||||
<data name="desc_formid" xml:space="preserve">
|
||||
<value>Gibt die Form-ID der zu öffnenden Form an.</value>
|
||||
</data>
|
||||
<data name="desc_fromdate" xml:space="preserve">
|
||||
<value>Der Name eines Elements von dem das End-Datum gelesen wird.</value>
|
||||
</data>
|
||||
<data name="desc_hint" xml:space="preserve">
|
||||
<value>Der Text, der beim überfahren des Controls angezeigt wird</value>
|
||||
</data>
|
||||
<data name="desc_id" xml:space="preserve">
|
||||
<value>Gibt die eindeutige ID des Elements an.</value>
|
||||
</data>
|
||||
<data name="desc_location" xml:space="preserve">
|
||||
<value>Gibt die Position des Elements an.</value>
|
||||
</data>
|
||||
<data name="desc_masterdataid" xml:space="preserve">
|
||||
<value>Die Id des Formulars, das über das Kontextmenü geöffnet wird.</value>
|
||||
</data>
|
||||
<data name="desc_multiline" xml:space="preserve">
|
||||
<value>Gibt an, ob das Feld mehrzeilig sein soll.</value>
|
||||
</data>
|
||||
<data name="desc_name" xml:space="preserve">
|
||||
<value>Gibt den internen Namen des Elements an.</value>
|
||||
</data>
|
||||
<data name="desc_place" xml:space="preserve">
|
||||
<value>Gibt den Ort des Termins an. Dynamische Werte aus anderen Controls können mit der Syntax [%controlname] eingefügt werden</value>
|
||||
</data>
|
||||
<data name="desc_readonly" xml:space="preserve">
|
||||
<value>Gibt an, ob dieses Element nur lesbar ist.</value>
|
||||
</data>
|
||||
<data name="desc_required" xml:space="preserve">
|
||||
<value>Gibt an ob dieses Element benötigt wird um die Eingabe abzuschließen.</value>
|
||||
</data>
|
||||
<data name="desc_screenid" xml:space="preserve">
|
||||
<value>Gibt die Screen-ID der zu öffnenden Form an.</value>
|
||||
</data>
|
||||
<data name="desc_select_only" xml:space="preserve">
|
||||
<value>Gibt an, ob nur vorhandene Listeneinträge ausgewählt werden können</value>
|
||||
</data>
|
||||
<data name="desc_showcolumn" xml:space="preserve">
|
||||
<value>Gibt an, ob das Feld als Spalte im Grid angezeigt wird.</value>
|
||||
</data>
|
||||
<data name="desc_size" xml:space="preserve">
|
||||
<value>Gibt die Größe des Elements an</value>
|
||||
</data>
|
||||
<data name="desc_sqlcommand" xml:space="preserve">
|
||||
<value>Gibt die Datenbank-Abfrage für dieses Element an. Es können @RECORD_ID und @FORM_ID als Platzhalter verwendet werden.</value>
|
||||
</data>
|
||||
<data name="desc_staticlist" xml:space="preserve">
|
||||
<value>Eine Liste von statischen Werten, die durch ';' getrennt sind. Überschreibt die Daten aus 'Datenbank-Einstellungen'</value>
|
||||
</data>
|
||||
<data name="desc_subject" xml:space="preserve">
|
||||
<value>Gibt den Betreff des Termins an. Dynamische Werte aus anderen Controls können mit der Syntax [%controlname] eingefügt werden</value>
|
||||
</data>
|
||||
<data name="desc_subject2" xml:space="preserve">
|
||||
<value>Gibt den optionalen zweiten Betreff des Termins an. Dynamische Werte aus anderen Controls können mit der Syntax [%controlname] eingefügt werden</value>
|
||||
</data>
|
||||
<data name="desc_tabindex" xml:space="preserve">
|
||||
<value>Gibt die Reihenfolge an, in der das Element durch die Tabulatortaste aktiviert wird.</value>
|
||||
</data>
|
||||
<data name="desc_tabstop" xml:space="preserve">
|
||||
<value>Gibt an, ob das Element durch die Tabulartortaste aktiviert werden soll.</value>
|
||||
</data>
|
||||
<data name="desc_todate" xml:space="preserve">
|
||||
<value>Der Name eines Elements von dem das Start-Datum gelesen wird.</value>
|
||||
</data>
|
||||
<data name="desc_type" xml:space="preserve">
|
||||
<value>Der Typ des Elements</value>
|
||||
</data>
|
||||
<data name="desc_visible" xml:space="preserve">
|
||||
<value>Gibt an, ob das Element angezeigt wird.</value>
|
||||
</data>
|
||||
<data name="category_input" xml:space="preserve">
|
||||
<value>Eingabe Eigenschaften</value>
|
||||
</data>
|
||||
</root>
|
||||
Loading…
x
Reference in New Issue
Block a user