diff --git a/app/DD-Record-Organiser/Resources/Login_6031_32x.png b/app/DD-Record-Organiser/Resources/Login_6031_32x.png new file mode 100644 index 0000000..ce2f37d Binary files /dev/null and b/app/DD-Record-Organiser/Resources/Login_6031_32x.png differ diff --git a/app/DD-Record-Organiser/frmClientLogin.Designer.vb b/app/DD-Record-Organiser/frmClientLogin.Designer.vb new file mode 100644 index 0000000..8d273a5 --- /dev/null +++ b/app/DD-Record-Organiser/frmClientLogin.Designer.vb @@ -0,0 +1,78 @@ + _ +Partial Class frmClientLogin + Inherits System.Windows.Forms.Form + + 'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen. + _ + 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. + _ + Private Sub InitializeComponent() + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmClientLogin)) + Me.Label1 = New System.Windows.Forms.Label() + Me.cmbClients = New System.Windows.Forms.ComboBox() + Me.Label2 = New System.Windows.Forms.Label() + Me.btnLogin = New System.Windows.Forms.Button() + Me.SuspendLayout() + ' + 'Label1 + ' + resources.ApplyResources(Me.Label1, "Label1") + Me.Label1.Name = "Label1" + ' + 'cmbClients + ' + resources.ApplyResources(Me.cmbClients, "cmbClients") + Me.cmbClients.FormattingEnabled = True + Me.cmbClients.Name = "cmbClients" + ' + 'Label2 + ' + resources.ApplyResources(Me.Label2, "Label2") + Me.Label2.Name = "Label2" + ' + 'btnLogin + ' + resources.ApplyResources(Me.btnLogin, "btnLogin") + Me.btnLogin.Image = Global.DD_Record_Organiser.My.Resources.Resources.Login_6031_32x + Me.btnLogin.Name = "btnLogin" + Me.btnLogin.UseVisualStyleBackColor = True + ' + 'frmClientLogin + ' + Me.AcceptButton = Me.btnLogin + resources.ApplyResources(Me, "$this") + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.BackColor = System.Drawing.SystemColors.ControlLight + Me.ControlBox = False + Me.Controls.Add(Me.btnLogin) + Me.Controls.Add(Me.Label2) + Me.Controls.Add(Me.cmbClients) + Me.Controls.Add(Me.Label1) + Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog + Me.MaximizeBox = False + Me.MinimizeBox = False + Me.Name = "frmClientLogin" + Me.ResumeLayout(False) + Me.PerformLayout() + + End Sub + Friend WithEvents Label1 As System.Windows.Forms.Label + Friend WithEvents cmbClients As System.Windows.Forms.ComboBox + Friend WithEvents Label2 As System.Windows.Forms.Label + Friend WithEvents btnLogin As System.Windows.Forms.Button +End Class diff --git a/app/DD-Record-Organiser/frmClientLogin.en.resx b/app/DD-Record-Organiser/frmClientLogin.en.resx new file mode 100644 index 0000000..8e0571a --- /dev/null +++ b/app/DD-Record-Organiser/frmClientLogin.en.resx @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + 421, 16 + + + Your User is configured for more than one cleint. Please choose a client. + + + 287, 14 + + + Your license will be charged on the selected client. + + + Client Login + + \ No newline at end of file diff --git a/app/DD-Record-Organiser/frmClientLogin.resx b/app/DD-Record-Organiser/frmClientLogin.resx new file mode 100644 index 0000000..ca215a5 --- /dev/null +++ b/app/DD-Record-Organiser/frmClientLogin.resx @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + 1 + + + Ihr User ist für mehrere Mandanten konfiguriert. Bitte wählen Sie einen Mandanten. + + + 2 + + + 1 + + + + 6, 13 + + + Ihre Userlizenz wird vom Kontingent des ausgewählten Mandanten abgezogen. + + + Tahoma, 9.75pt + + + 12, 31 + + + 440, 14 + + + 3 + + + 486, 16 + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 12, 9 + + + 2 + + + 472, 42 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + $this + + + 499, 142 + + + + CenterScreen + + + $this + + + Label2 + + + Tahoma, 9pt, style=Italic + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 0 + + + 0 + + + MiddleLeft + + + cmbClients + + + frmClientLogin + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Tahoma, 9.75pt + + + 15, 86 + + + 3 + + + 15, 56 + + + Login + + + Tahoma, 9.75pt + + + $this + + + Label1 + + + 472, 24 + + + $this + + + btnLogin + + + Tahoma, 8.25pt + + + Mandanten Login + + + True + + + en + + \ No newline at end of file diff --git a/app/DD-Record-Organiser/frmClientLogin.vb b/app/DD-Record-Organiser/frmClientLogin.vb new file mode 100644 index 0000000..f84a695 --- /dev/null +++ b/app/DD-Record-Organiser/frmClientLogin.vb @@ -0,0 +1,29 @@ +Public Class frmClientLogin + + Private Sub frmClientLogin_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing + If cmbClients.SelectedIndex = -1 Or CLIENT_SELECTED = 99 Then + MsgBox("Please select a client from the dropdown-list.", MsgBoxStyle.Exclamation) + e.Cancel = True + End If + End Sub + + Private Sub frmClientLogin_Load(sender As Object, e As EventArgs) Handles Me.Load + Try + cmbClients.DataSource = DT_CLIENT_USER + cmbClients.DisplayMember = DT_CLIENT_USER.Columns("CLIENT_NAME").ColumnName + cmbClients.ValueMember = DT_CLIENT_USER.Columns("CLIENT_ID").ColumnName + Catch ex As Exception + MsgBox("Unexpected Error in Loading Data: " & ex.Message, MsgBoxStyle.Critical) + End Try + End Sub + + Private Sub btnLogin_Click(sender As Object, e As EventArgs) Handles btnLogin.Click + If cmbClients.SelectedIndex <> -1 Then + CLIENT_SELECTED = cmbClients.SelectedValue + Me.Close() + Else + MsgBox("Please select a client from the dropdown-list.", MsgBoxStyle.Exclamation) + Exit Sub + End If + End Sub +End Class \ No newline at end of file diff --git a/app/DD-Record-Organiser/frmLicense.en-US.resx b/app/DD-Record-Organiser/frmLicense.en-US.resx new file mode 100644 index 0000000..257161d --- /dev/null +++ b/app/DD-Record-Organiser/frmLicense.en-US.resx @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Change licenses: + + + + 117, 16 + + + Client Selection: + + + 100, 20 + + + ERP-Connect + + + 69, 16 + + + Valid until: + + + 99, 16 + + + Licenses Views: + + + Renew license + + + 88, 16 + + + User licences: + + + ADDI Licensemanager + + \ No newline at end of file