Initial commit
This commit is contained in:
35
.gitignore
vendored
Normal file
35
.gitignore
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
# Files generated by Visual Studio
|
||||
.vs/
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# Build folders
|
||||
bin/
|
||||
obj/
|
||||
|
||||
# User-specific configuration files
|
||||
*.csproj.user
|
||||
*.vbproj.user
|
||||
|
||||
# Debugging files
|
||||
*.pdb
|
||||
*.log
|
||||
*.tlog
|
||||
*.cache
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.temp
|
||||
*.bak
|
||||
*.old
|
||||
|
||||
# ClickOnce publishing files
|
||||
publish/
|
||||
*.application
|
||||
*.manifest
|
||||
|
||||
# Local configuration files
|
||||
appsettings.json
|
||||
appsettings.*.json
|
20
DP_Relay/DP_Relay.sln
Normal file
20
DP_Relay/DP_Relay.sln
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Express 2012 for Windows Desktop
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DP_Relay", "DP_Relay\DP_Relay.vbproj", "{34E05A7B-887A-46C8-9A73-8D1A6AA3A8CE}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{34E05A7B-887A-46C8-9A73-8D1A6AA3A8CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{34E05A7B-887A-46C8-9A73-8D1A6AA3A8CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{34E05A7B-887A-46C8-9A73-8D1A6AA3A8CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{34E05A7B-887A-46C8-9A73-8D1A6AA3A8CE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
69
DP_Relay/DP_Relay/App.config
Normal file
69
DP_Relay/DP_Relay/App.config
Normal file
@ -0,0 +1,69 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<configuration>
|
||||
<configSections>
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="DP_Relay.My.MySettings.PharmaConnectionString" connectionString="Data Source=JUJU_PORTABLE\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345"
|
||||
providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
|
||||
</startup>
|
||||
<system.diagnostics>
|
||||
<sources>
|
||||
<source name="System.Net">
|
||||
<listeners>
|
||||
<add name="System.Net"/>
|
||||
</listeners>
|
||||
</source>
|
||||
<source name="System.Net.Cache">
|
||||
<listeners>
|
||||
<add name="System.Net"/>
|
||||
</listeners>
|
||||
</source>
|
||||
<source name="System.Net.Http">
|
||||
<listeners>
|
||||
<add name="System.Net"/>
|
||||
</listeners>
|
||||
</source>
|
||||
<source name="System.Net.Sockets">
|
||||
<listeners>
|
||||
<add name="System.Net"/>
|
||||
</listeners>
|
||||
</source>
|
||||
<source name="System.Net.WebSockets">
|
||||
<listeners>
|
||||
<add name="System.Net"/>
|
||||
</listeners>
|
||||
</source>
|
||||
</sources>
|
||||
<switches>
|
||||
<add name="System.Net" value="Verbose"/>
|
||||
<add name="System.Net.Cache" value="Verbose"/>
|
||||
<add name="System.Net.Http" value="Verbose"/>
|
||||
<add name="System.Net.Sockets" value="Verbose"/>
|
||||
<add name="System.Net.WebSockets" value="Verbose"/>
|
||||
</switches>
|
||||
<sharedListeners>
|
||||
<add name="System.Net" type="System.Diagnostics.TextWriterTraceListener" initializeData="network.log"/>
|
||||
</sharedListeners>
|
||||
<trace autoflush="true"/>
|
||||
</system.diagnostics>
|
||||
|
||||
</configuration>
|
14
DP_Relay/DP_Relay/ApplicationEvents.vb
Normal file
14
DP_Relay/DP_Relay/ApplicationEvents.vb
Normal file
@ -0,0 +1,14 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
493
DP_Relay/DP_Relay/BDD.Designer.vb
generated
Normal file
493
DP_Relay/DP_Relay/BDD.Designer.vb
generated
Normal file
@ -0,0 +1,493 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class BDD
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.components = New System.ComponentModel.Container()
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(BDD))
|
||||
Me.PharmaDataSet1 = New DP_Relay.PharmaDataSet1()
|
||||
Me.DP_ALERTE_PRODUITBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||
Me.DP_ALERTE_PRODUITTableAdapter = New DP_Relay.PharmaDataSet1TableAdapters.DP_ALERTE_PRODUITTableAdapter()
|
||||
Me.TableAdapterManager = New DP_Relay.PharmaDataSet1TableAdapters.TableAdapterManager()
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator = New System.Windows.Forms.BindingNavigator(Me.components)
|
||||
Me.BindingNavigatorMoveFirstItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorMovePreviousItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorSeparator = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.BindingNavigatorPositionItem = New System.Windows.Forms.ToolStripTextBox()
|
||||
Me.BindingNavigatorCountItem = New System.Windows.Forms.ToolStripLabel()
|
||||
Me.BindingNavigatorSeparator1 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.BindingNavigatorMoveNextItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorMoveLastItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorSeparator2 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.BindingNavigatorAddNewItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorDeleteItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.DP_ALERTE_PRODUITBindingNavigatorSaveItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.DP_ALERTE_PRODUITDataGridView = New System.Windows.Forms.DataGridView()
|
||||
Me.DataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn2 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn3 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewCheckBoxColumn1 = New System.Windows.Forms.DataGridViewCheckBoxColumn()
|
||||
Me.DP_MsgBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||
Me.DP_MsgTableAdapter = New DP_Relay.PharmaDataSet1TableAdapters.DP_MsgTableAdapter()
|
||||
Me.DP_MsgDataGridView = New System.Windows.Forms.DataGridView()
|
||||
Me.DataGridViewTextBoxColumn4 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn5 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn6 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn7 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn8 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn9 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewCheckBoxColumn2 = New System.Windows.Forms.DataGridViewCheckBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn10 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn11 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn12 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn13 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn14 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DP_ReqBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||
Me.DP_ReqTableAdapter = New DP_Relay.PharmaDataSet1TableAdapters.DP_ReqTableAdapter()
|
||||
Me.DP_ReqDataGridView = New System.Windows.Forms.DataGridView()
|
||||
Me.DataGridViewTextBoxColumn15 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn16 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn17 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn18 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn19 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn20 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn21 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
CType(Me.PharmaDataSet1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.DP_ALERTE_PRODUITBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.DP_ALERTE_PRODUITBindingNavigator, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.SuspendLayout()
|
||||
CType(Me.DP_ALERTE_PRODUITDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.DP_MsgBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.DP_MsgDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.DP_ReqBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.DP_ReqDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'PharmaDataSet1
|
||||
'
|
||||
Me.PharmaDataSet1.DataSetName = "PharmaDataSet1"
|
||||
Me.PharmaDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
|
||||
'
|
||||
'DP_ALERTE_PRODUITBindingSource
|
||||
'
|
||||
Me.DP_ALERTE_PRODUITBindingSource.DataMember = "DP_ALERTE_PRODUIT"
|
||||
Me.DP_ALERTE_PRODUITBindingSource.DataSource = Me.PharmaDataSet1
|
||||
'
|
||||
'DP_ALERTE_PRODUITTableAdapter
|
||||
'
|
||||
Me.DP_ALERTE_PRODUITTableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'TableAdapterManager
|
||||
'
|
||||
Me.TableAdapterManager.BackupDataSetBeforeUpdate = False
|
||||
Me.TableAdapterManager.DP_ALERTE_PRODUITTableAdapter = Me.DP_ALERTE_PRODUITTableAdapter
|
||||
Me.TableAdapterManager.DP_MsgTableAdapter = Me.DP_MsgTableAdapter
|
||||
Me.TableAdapterManager.DP_ReqTableAdapter = Me.DP_ReqTableAdapter
|
||||
Me.TableAdapterManager.UpdateOrder = DP_Relay.PharmaDataSet1TableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
||||
'
|
||||
'DP_ALERTE_PRODUITBindingNavigator
|
||||
'
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.AddNewItem = Me.BindingNavigatorAddNewItem
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.BindingSource = Me.DP_ALERTE_PRODUITBindingSource
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.CountItem = Me.BindingNavigatorCountItem
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.DeleteItem = Me.BindingNavigatorDeleteItem
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.BindingNavigatorMoveFirstItem, Me.BindingNavigatorMovePreviousItem, Me.BindingNavigatorSeparator, Me.BindingNavigatorPositionItem, Me.BindingNavigatorCountItem, Me.BindingNavigatorSeparator1, Me.BindingNavigatorMoveNextItem, Me.BindingNavigatorMoveLastItem, Me.BindingNavigatorSeparator2, Me.BindingNavigatorAddNewItem, Me.BindingNavigatorDeleteItem, Me.DP_ALERTE_PRODUITBindingNavigatorSaveItem})
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.Location = New System.Drawing.Point(0, 0)
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.MoveFirstItem = Me.BindingNavigatorMoveFirstItem
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.MoveLastItem = Me.BindingNavigatorMoveLastItem
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.MoveNextItem = Me.BindingNavigatorMoveNextItem
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.MovePreviousItem = Me.BindingNavigatorMovePreviousItem
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.Name = "DP_ALERTE_PRODUITBindingNavigator"
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.PositionItem = Me.BindingNavigatorPositionItem
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.Size = New System.Drawing.Size(691, 25)
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.TabIndex = 0
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.Text = "BindingNavigator1"
|
||||
'
|
||||
'BindingNavigatorMoveFirstItem
|
||||
'
|
||||
Me.BindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorMoveFirstItem.Image = CType(resources.GetObject("BindingNavigatorMoveFirstItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorMoveFirstItem.Name = "BindingNavigatorMoveFirstItem"
|
||||
Me.BindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorMoveFirstItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorMoveFirstItem.Text = "Placer en premier"
|
||||
'
|
||||
'BindingNavigatorMovePreviousItem
|
||||
'
|
||||
Me.BindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorMovePreviousItem.Image = CType(resources.GetObject("BindingNavigatorMovePreviousItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorMovePreviousItem.Name = "BindingNavigatorMovePreviousItem"
|
||||
Me.BindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorMovePreviousItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorMovePreviousItem.Text = "Déplacer vers le haut"
|
||||
'
|
||||
'BindingNavigatorSeparator
|
||||
'
|
||||
Me.BindingNavigatorSeparator.Name = "BindingNavigatorSeparator"
|
||||
Me.BindingNavigatorSeparator.Size = New System.Drawing.Size(6, 25)
|
||||
'
|
||||
'BindingNavigatorPositionItem
|
||||
'
|
||||
Me.BindingNavigatorPositionItem.AccessibleName = "Position"
|
||||
Me.BindingNavigatorPositionItem.AutoSize = False
|
||||
Me.BindingNavigatorPositionItem.Name = "BindingNavigatorPositionItem"
|
||||
Me.BindingNavigatorPositionItem.Size = New System.Drawing.Size(50, 23)
|
||||
Me.BindingNavigatorPositionItem.Text = "0"
|
||||
Me.BindingNavigatorPositionItem.ToolTipText = "Position actuelle"
|
||||
'
|
||||
'BindingNavigatorCountItem
|
||||
'
|
||||
Me.BindingNavigatorCountItem.Name = "BindingNavigatorCountItem"
|
||||
Me.BindingNavigatorCountItem.Size = New System.Drawing.Size(37, 15)
|
||||
Me.BindingNavigatorCountItem.Text = "de {0}"
|
||||
Me.BindingNavigatorCountItem.ToolTipText = "Nombre total d'éléments"
|
||||
'
|
||||
'BindingNavigatorSeparator1
|
||||
'
|
||||
Me.BindingNavigatorSeparator1.Name = "BindingNavigatorSeparator"
|
||||
Me.BindingNavigatorSeparator1.Size = New System.Drawing.Size(6, 6)
|
||||
'
|
||||
'BindingNavigatorMoveNextItem
|
||||
'
|
||||
Me.BindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorMoveNextItem.Image = CType(resources.GetObject("BindingNavigatorMoveNextItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorMoveNextItem.Name = "BindingNavigatorMoveNextItem"
|
||||
Me.BindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorMoveNextItem.Size = New System.Drawing.Size(23, 20)
|
||||
Me.BindingNavigatorMoveNextItem.Text = "Déplacer vers le bas"
|
||||
'
|
||||
'BindingNavigatorMoveLastItem
|
||||
'
|
||||
Me.BindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorMoveLastItem.Image = CType(resources.GetObject("BindingNavigatorMoveLastItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorMoveLastItem.Name = "BindingNavigatorMoveLastItem"
|
||||
Me.BindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorMoveLastItem.Size = New System.Drawing.Size(23, 20)
|
||||
Me.BindingNavigatorMoveLastItem.Text = "Placer en dernier"
|
||||
'
|
||||
'BindingNavigatorSeparator2
|
||||
'
|
||||
Me.BindingNavigatorSeparator2.Name = "BindingNavigatorSeparator"
|
||||
Me.BindingNavigatorSeparator2.Size = New System.Drawing.Size(6, 6)
|
||||
'
|
||||
'BindingNavigatorAddNewItem
|
||||
'
|
||||
Me.BindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorAddNewItem.Image = CType(resources.GetObject("BindingNavigatorAddNewItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorAddNewItem.Name = "BindingNavigatorAddNewItem"
|
||||
Me.BindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorAddNewItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorAddNewItem.Text = "Ajouter nouveau"
|
||||
'
|
||||
'BindingNavigatorDeleteItem
|
||||
'
|
||||
Me.BindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorDeleteItem.Image = CType(resources.GetObject("BindingNavigatorDeleteItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorDeleteItem.Name = "BindingNavigatorDeleteItem"
|
||||
Me.BindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorDeleteItem.Size = New System.Drawing.Size(23, 20)
|
||||
Me.BindingNavigatorDeleteItem.Text = "Supprimer"
|
||||
'
|
||||
'DP_ALERTE_PRODUITBindingNavigatorSaveItem
|
||||
'
|
||||
Me.DP_ALERTE_PRODUITBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.DP_ALERTE_PRODUITBindingNavigatorSaveItem.Image = CType(resources.GetObject("DP_ALERTE_PRODUITBindingNavigatorSaveItem.Image"), System.Drawing.Image)
|
||||
Me.DP_ALERTE_PRODUITBindingNavigatorSaveItem.Name = "DP_ALERTE_PRODUITBindingNavigatorSaveItem"
|
||||
Me.DP_ALERTE_PRODUITBindingNavigatorSaveItem.Size = New System.Drawing.Size(23, 23)
|
||||
Me.DP_ALERTE_PRODUITBindingNavigatorSaveItem.Text = "Enregistrer les données"
|
||||
'
|
||||
'DP_ALERTE_PRODUITDataGridView
|
||||
'
|
||||
Me.DP_ALERTE_PRODUITDataGridView.AutoGenerateColumns = False
|
||||
Me.DP_ALERTE_PRODUITDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||
Me.DP_ALERTE_PRODUITDataGridView.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.DataGridViewTextBoxColumn1, Me.DataGridViewTextBoxColumn2, Me.DataGridViewTextBoxColumn3, Me.DataGridViewCheckBoxColumn1})
|
||||
Me.DP_ALERTE_PRODUITDataGridView.DataSource = Me.DP_ALERTE_PRODUITBindingSource
|
||||
Me.DP_ALERTE_PRODUITDataGridView.Location = New System.Drawing.Point(199, 115)
|
||||
Me.DP_ALERTE_PRODUITDataGridView.Name = "DP_ALERTE_PRODUITDataGridView"
|
||||
Me.DP_ALERTE_PRODUITDataGridView.Size = New System.Drawing.Size(300, 220)
|
||||
Me.DP_ALERTE_PRODUITDataGridView.TabIndex = 1
|
||||
'
|
||||
'DataGridViewTextBoxColumn1
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn1.DataPropertyName = "CIP"
|
||||
Me.DataGridViewTextBoxColumn1.HeaderText = "CIP"
|
||||
Me.DataGridViewTextBoxColumn1.Name = "DataGridViewTextBoxColumn1"
|
||||
'
|
||||
'DataGridViewTextBoxColumn2
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn2.DataPropertyName = "MsgRef"
|
||||
Me.DataGridViewTextBoxColumn2.HeaderText = "MsgRef"
|
||||
Me.DataGridViewTextBoxColumn2.Name = "DataGridViewTextBoxColumn2"
|
||||
'
|
||||
'DataGridViewTextBoxColumn3
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn3.DataPropertyName = "Lots"
|
||||
Me.DataGridViewTextBoxColumn3.HeaderText = "Lots"
|
||||
Me.DataGridViewTextBoxColumn3.Name = "DataGridViewTextBoxColumn3"
|
||||
'
|
||||
'DataGridViewCheckBoxColumn1
|
||||
'
|
||||
Me.DataGridViewCheckBoxColumn1.DataPropertyName = "Vue"
|
||||
Me.DataGridViewCheckBoxColumn1.HeaderText = "Vue"
|
||||
Me.DataGridViewCheckBoxColumn1.Name = "DataGridViewCheckBoxColumn1"
|
||||
'
|
||||
'DP_MsgBindingSource
|
||||
'
|
||||
Me.DP_MsgBindingSource.DataMember = "DP_Msg"
|
||||
Me.DP_MsgBindingSource.DataSource = Me.PharmaDataSet1
|
||||
'
|
||||
'DP_MsgTableAdapter
|
||||
'
|
||||
Me.DP_MsgTableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'DP_MsgDataGridView
|
||||
'
|
||||
Me.DP_MsgDataGridView.AutoGenerateColumns = False
|
||||
Me.DP_MsgDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||
Me.DP_MsgDataGridView.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.DataGridViewTextBoxColumn4, Me.DataGridViewTextBoxColumn5, Me.DataGridViewTextBoxColumn6, Me.DataGridViewTextBoxColumn7, Me.DataGridViewTextBoxColumn8, Me.DataGridViewTextBoxColumn9, Me.DataGridViewCheckBoxColumn2, Me.DataGridViewTextBoxColumn10, Me.DataGridViewTextBoxColumn11, Me.DataGridViewTextBoxColumn12, Me.DataGridViewTextBoxColumn13, Me.DataGridViewTextBoxColumn14})
|
||||
Me.DP_MsgDataGridView.DataSource = Me.DP_MsgBindingSource
|
||||
Me.DP_MsgDataGridView.Location = New System.Drawing.Point(371, 51)
|
||||
Me.DP_MsgDataGridView.Name = "DP_MsgDataGridView"
|
||||
Me.DP_MsgDataGridView.Size = New System.Drawing.Size(300, 220)
|
||||
Me.DP_MsgDataGridView.TabIndex = 2
|
||||
'
|
||||
'DataGridViewTextBoxColumn4
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn4.DataPropertyName = "MsgRef"
|
||||
Me.DataGridViewTextBoxColumn4.HeaderText = "MsgRef"
|
||||
Me.DataGridViewTextBoxColumn4.Name = "DataGridViewTextBoxColumn4"
|
||||
'
|
||||
'DataGridViewTextBoxColumn5
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn5.DataPropertyName = "MsgTyp"
|
||||
Me.DataGridViewTextBoxColumn5.HeaderText = "MsgTyp"
|
||||
Me.DataGridViewTextBoxColumn5.Name = "DataGridViewTextBoxColumn5"
|
||||
'
|
||||
'DataGridViewTextBoxColumn6
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn6.DataPropertyName = "MsgLect"
|
||||
Me.DataGridViewTextBoxColumn6.HeaderText = "MsgLect"
|
||||
Me.DataGridViewTextBoxColumn6.Name = "DataGridViewTextBoxColumn6"
|
||||
'
|
||||
'DataGridViewTextBoxColumn7
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn7.DataPropertyName = "MsgDate"
|
||||
Me.DataGridViewTextBoxColumn7.HeaderText = "MsgDate"
|
||||
Me.DataGridViewTextBoxColumn7.Name = "DataGridViewTextBoxColumn7"
|
||||
'
|
||||
'DataGridViewTextBoxColumn8
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn8.DataPropertyName = "MsgExpi"
|
||||
Me.DataGridViewTextBoxColumn8.HeaderText = "MsgExpi"
|
||||
Me.DataGridViewTextBoxColumn8.Name = "DataGridViewTextBoxColumn8"
|
||||
'
|
||||
'DataGridViewTextBoxColumn9
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn9.DataPropertyName = "Reader"
|
||||
Me.DataGridViewTextBoxColumn9.HeaderText = "Reader"
|
||||
Me.DataGridViewTextBoxColumn9.Name = "DataGridViewTextBoxColumn9"
|
||||
'
|
||||
'DataGridViewCheckBoxColumn2
|
||||
'
|
||||
Me.DataGridViewCheckBoxColumn2.DataPropertyName = "AR_sent"
|
||||
Me.DataGridViewCheckBoxColumn2.HeaderText = "AR_sent"
|
||||
Me.DataGridViewCheckBoxColumn2.Name = "DataGridViewCheckBoxColumn2"
|
||||
'
|
||||
'DataGridViewTextBoxColumn10
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn10.DataPropertyName = "AR_Statut"
|
||||
Me.DataGridViewTextBoxColumn10.HeaderText = "AR_Statut"
|
||||
Me.DataGridViewTextBoxColumn10.Name = "DataGridViewTextBoxColumn10"
|
||||
'
|
||||
'DataGridViewTextBoxColumn11
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn11.DataPropertyName = "AR_nbr_transmission"
|
||||
Me.DataGridViewTextBoxColumn11.HeaderText = "AR_nbr_transmission"
|
||||
Me.DataGridViewTextBoxColumn11.Name = "DataGridViewTextBoxColumn11"
|
||||
'
|
||||
'DataGridViewTextBoxColumn12
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn12.DataPropertyName = "AR_next_trans_time"
|
||||
Me.DataGridViewTextBoxColumn12.HeaderText = "AR_next_trans_time"
|
||||
Me.DataGridViewTextBoxColumn12.Name = "DataGridViewTextBoxColumn12"
|
||||
'
|
||||
'DataGridViewTextBoxColumn13
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn13.DataPropertyName = "MsgEme"
|
||||
Me.DataGridViewTextBoxColumn13.HeaderText = "MsgEme"
|
||||
Me.DataGridViewTextBoxColumn13.Name = "DataGridViewTextBoxColumn13"
|
||||
'
|
||||
'DataGridViewTextBoxColumn14
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn14.DataPropertyName = "MsgTit"
|
||||
Me.DataGridViewTextBoxColumn14.HeaderText = "MsgTit"
|
||||
Me.DataGridViewTextBoxColumn14.Name = "DataGridViewTextBoxColumn14"
|
||||
'
|
||||
'DP_ReqBindingSource
|
||||
'
|
||||
Me.DP_ReqBindingSource.DataMember = "DP_Req"
|
||||
Me.DP_ReqBindingSource.DataSource = Me.PharmaDataSet1
|
||||
'
|
||||
'DP_ReqTableAdapter
|
||||
'
|
||||
Me.DP_ReqTableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'DP_ReqDataGridView
|
||||
'
|
||||
Me.DP_ReqDataGridView.AutoGenerateColumns = False
|
||||
Me.DP_ReqDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||
Me.DP_ReqDataGridView.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.DataGridViewTextBoxColumn15, Me.DataGridViewTextBoxColumn16, Me.DataGridViewTextBoxColumn17, Me.DataGridViewTextBoxColumn18, Me.DataGridViewTextBoxColumn19, Me.DataGridViewTextBoxColumn20, Me.DataGridViewTextBoxColumn21})
|
||||
Me.DP_ReqDataGridView.DataSource = Me.DP_ReqBindingSource
|
||||
Me.DP_ReqDataGridView.Location = New System.Drawing.Point(107, 127)
|
||||
Me.DP_ReqDataGridView.Name = "DP_ReqDataGridView"
|
||||
Me.DP_ReqDataGridView.Size = New System.Drawing.Size(300, 220)
|
||||
Me.DP_ReqDataGridView.TabIndex = 3
|
||||
'
|
||||
'DataGridViewTextBoxColumn15
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn15.DataPropertyName = "Sequence_Number"
|
||||
Me.DataGridViewTextBoxColumn15.HeaderText = "Sequence_Number"
|
||||
Me.DataGridViewTextBoxColumn15.Name = "DataGridViewTextBoxColumn15"
|
||||
'
|
||||
'DataGridViewTextBoxColumn16
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn16.DataPropertyName = "ReqId"
|
||||
Me.DataGridViewTextBoxColumn16.HeaderText = "ReqId"
|
||||
Me.DataGridViewTextBoxColumn16.Name = "DataGridViewTextBoxColumn16"
|
||||
'
|
||||
'DataGridViewTextBoxColumn17
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn17.DataPropertyName = "Statut"
|
||||
Me.DataGridViewTextBoxColumn17.HeaderText = "Statut"
|
||||
Me.DataGridViewTextBoxColumn17.Name = "DataGridViewTextBoxColumn17"
|
||||
'
|
||||
'DataGridViewTextBoxColumn18
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn18.DataPropertyName = "next_trans_time"
|
||||
Me.DataGridViewTextBoxColumn18.HeaderText = "next_trans_time"
|
||||
Me.DataGridViewTextBoxColumn18.Name = "DataGridViewTextBoxColumn18"
|
||||
'
|
||||
'DataGridViewTextBoxColumn19
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn19.DataPropertyName = "nbr_trans"
|
||||
Me.DataGridViewTextBoxColumn19.HeaderText = "nbr_trans"
|
||||
Me.DataGridViewTextBoxColumn19.Name = "DataGridViewTextBoxColumn19"
|
||||
'
|
||||
'DataGridViewTextBoxColumn20
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn20.DataPropertyName = "Identifiant_patient"
|
||||
Me.DataGridViewTextBoxColumn20.HeaderText = "Identifiant_patient"
|
||||
Me.DataGridViewTextBoxColumn20.Name = "DataGridViewTextBoxColumn20"
|
||||
'
|
||||
'DataGridViewTextBoxColumn21
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn21.DataPropertyName = "référence_interne"
|
||||
Me.DataGridViewTextBoxColumn21.HeaderText = "référence_interne"
|
||||
Me.DataGridViewTextBoxColumn21.Name = "DataGridViewTextBoxColumn21"
|
||||
'
|
||||
'BDD
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(691, 367)
|
||||
Me.Controls.Add(Me.DP_ReqDataGridView)
|
||||
Me.Controls.Add(Me.DP_MsgDataGridView)
|
||||
Me.Controls.Add(Me.DP_ALERTE_PRODUITDataGridView)
|
||||
Me.Controls.Add(Me.DP_ALERTE_PRODUITBindingNavigator)
|
||||
Me.Name = "BDD"
|
||||
Me.Text = "BDD"
|
||||
CType(Me.PharmaDataSet1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.DP_ALERTE_PRODUITBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.DP_ALERTE_PRODUITBindingNavigator, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.ResumeLayout(False)
|
||||
Me.DP_ALERTE_PRODUITBindingNavigator.PerformLayout()
|
||||
CType(Me.DP_ALERTE_PRODUITDataGridView, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.DP_MsgBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.DP_MsgDataGridView, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.DP_ReqBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.DP_ReqDataGridView, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents PharmaDataSet1 As DP_Relay.PharmaDataSet1
|
||||
Friend WithEvents DP_ALERTE_PRODUITBindingSource As System.Windows.Forms.BindingSource
|
||||
Friend WithEvents DP_ALERTE_PRODUITTableAdapter As DP_Relay.PharmaDataSet1TableAdapters.DP_ALERTE_PRODUITTableAdapter
|
||||
Friend WithEvents TableAdapterManager As DP_Relay.PharmaDataSet1TableAdapters.TableAdapterManager
|
||||
Friend WithEvents DP_ALERTE_PRODUITBindingNavigator As System.Windows.Forms.BindingNavigator
|
||||
Friend WithEvents BindingNavigatorAddNewItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorCountItem As System.Windows.Forms.ToolStripLabel
|
||||
Friend WithEvents BindingNavigatorDeleteItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorMoveFirstItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorMovePreviousItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorSeparator As System.Windows.Forms.ToolStripSeparator
|
||||
Friend WithEvents BindingNavigatorPositionItem As System.Windows.Forms.ToolStripTextBox
|
||||
Friend WithEvents BindingNavigatorSeparator1 As System.Windows.Forms.ToolStripSeparator
|
||||
Friend WithEvents BindingNavigatorMoveNextItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorMoveLastItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorSeparator2 As System.Windows.Forms.ToolStripSeparator
|
||||
Friend WithEvents DP_ALERTE_PRODUITBindingNavigatorSaveItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents DP_ALERTE_PRODUITDataGridView As System.Windows.Forms.DataGridView
|
||||
Friend WithEvents DataGridViewTextBoxColumn1 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn2 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn3 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewCheckBoxColumn1 As System.Windows.Forms.DataGridViewCheckBoxColumn
|
||||
Friend WithEvents DP_MsgTableAdapter As DP_Relay.PharmaDataSet1TableAdapters.DP_MsgTableAdapter
|
||||
Friend WithEvents DP_MsgBindingSource As System.Windows.Forms.BindingSource
|
||||
Friend WithEvents DP_ReqTableAdapter As DP_Relay.PharmaDataSet1TableAdapters.DP_ReqTableAdapter
|
||||
Friend WithEvents DP_MsgDataGridView As System.Windows.Forms.DataGridView
|
||||
Friend WithEvents DataGridViewTextBoxColumn4 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn5 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn6 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn7 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn8 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn9 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewCheckBoxColumn2 As System.Windows.Forms.DataGridViewCheckBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn10 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn11 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn12 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn13 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn14 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DP_ReqBindingSource As System.Windows.Forms.BindingSource
|
||||
Friend WithEvents DP_ReqDataGridView As System.Windows.Forms.DataGridView
|
||||
Friend WithEvents DataGridViewTextBoxColumn15 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn16 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn17 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn18 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn19 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn20 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn21 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
End Class
|
236
DP_Relay/DP_Relay/BDD.resx
Normal file
236
DP_Relay/DP_Relay/BDD.resx
Normal file
@ -0,0 +1,236 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="PharmaDataSet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="DP_ALERTE_PRODUITBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>159, 17</value>
|
||||
</metadata>
|
||||
<metadata name="DP_ALERTE_PRODUITTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>406, 17</value>
|
||||
</metadata>
|
||||
<metadata name="TableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>647, 17</value>
|
||||
</metadata>
|
||||
<metadata name="DP_MsgTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
<metadata name="DP_ReqTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>358, 56</value>
|
||||
</metadata>
|
||||
<metadata name="DP_ALERTE_PRODUITBindingNavigator.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>820, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="BindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFKSURBVDhPYxi84O4C9v+35nH+vzqH6//FGbz/ocLEg+tA
|
||||
jX8eNf7/87Dh/8nJAqQbcH46L9yAgz0ipBtwfJIgUHPd/z8Pqv7vaBcnbMClmTz/z07l+38SqPFIv9D/
|
||||
fd0iQM3l///eK/q/vkHm/6oauf9LKxX/zy9V/j+rSBXTwFNAf/55WA/UVAvElf//3CsB4rz/f+9m/v97
|
||||
J/n/39tx///djADikP+TcjQxDTjUKwx27t/7pUCNBUCN2UCNqUCNCf//3YoGagz7/+9G0P9/1/3+d6Xp
|
||||
Yhqws13i/5Zmqf/rwM6V/7+kQvH/31sxQI3h/6fmafyfkKX1vztD9397qv7/5kRDwmEyG+hPkHP/3Qj4
|
||||
35OhQ1gDOgD5898NfyD2+9+arE+6Ad3pumD/gnB9nBHpBrQkGfxviDf8XxNr/L8y2oR0A+gEGBgAJCPY
|
||||
nnX8iGkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFvSURBVDhPtZBNKMNhHMd3Vd5K7eKCWjkgk7yEZDKksciE
|
||||
yMwkBw6LhHZxcCDlQg64SA4kJeVE4jRv89qaWn8tUtoF/7g8H2Ootb+x4nt56nm+38/v+/xUfyJcJ9Bt
|
||||
BMcOH1eRiZV5RGcVwqyHrfWwELweWJoJ9rC2AL0mRLse0VEBcxOKkLeGwlwGIz2h75w6ApC6bERjAdia
|
||||
gkxiyIow5cKkPWxDFYvTiMrUdxDDVnCfwVh/AOo/P2zhhccFzcWBLxmzEPV50Nfyu/Cn2N/1V85DGNKh
|
||||
Rhth+EaCxkLISUDWxvOgjYXa7F/Wv7kGUz4UJeKzGODi6H25d2l+yPLsDwu8v4NWHY8lSbhL0/HtbX8F
|
||||
GLXh1MQgnxwoQ3h5hkEL6JI5TlPj21gNMd6WZyC1VSN7r0Mh7G4i56pxpkQhdTWA/KQ4aUcTh+x0KACm
|
||||
RpBSo3HrM0G6Uq7pl2zvhvNDBcClE8YH4HDv2/A/SKV6BYojAxyEJtLJAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEqSURBVDhPYxg8oHDW8/9NC57/z5z4+D9UCAOEtz/AKceQ
|
||||
O/PZ/1VH3v/HpSi++8H/4IZruA3ImPL0/8J9H7Aqiu95+H/p/v///asv4DYgoefJ/2lb3mMoimi/D9ac
|
||||
Oev/f6/SE7gNiOx69L939QcURaGt98CaW9cBbe/8+98l/wBuAwKbH/6vm/8Orii45e7/RXv//+8Aas6Y
|
||||
8/O/Xd3P//YZ23Eb4FF1/3/+tDcoiuyKb/9Pn/P7v3/Xt/86he/+WySsx22Afend/9mTX2Mo0k85/9+k
|
||||
6MV/laxP/40jl+E2wCLvzv/U/tdYFRkknfgvm/b1v27wPNwGGGbd/h/W8hKnIv3Uy/81fKfhNkAn7cZ/
|
||||
v+qHeBWpeEzAbYBT7pX/IAV4FQ1CwMAAAPB2wKul5ZpwAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC2SURBVDhPYxg6ILz9wX8ok3QQ3/3gf3DDNfIMiO95+H/p
|
||||
/v///asvkG5ARPt9sObMWf//e5WeIM2A0NZ7YM2t64C2d/7975J/gHgDglvu/l+09///DqDmjDk//9vV
|
||||
/fxvn7GdNBfYFd/+nz7n93//rm//dQrf/bdIWE96GOinnP9vUvTiv0rWp//GkctINwAEDJJO/JdN+/pf
|
||||
N3geeQaAgH7q5f8avtPINwAEVDwmUGbAYAUMDADQFGCYBLpQVQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACjSURBVDhPYxh8oHDW8/9QJnkgd+az/wnd98g3JGPK0//z
|
||||
9v/+n9B1hzxDEnqe/J+979f/zq1//7uVXibdkMiuR/+nbPv1v2Tp3/8J0//+t8k9S5ohgc0P/7eufQ/W
|
||||
bFzy5b909LX/xpHLiDfEo+r+/5K57+CaFV16SHOBfend/4Etz8jTDAIWeXf+2xRcIU8zCBhm3SZfMwjo
|
||||
pN0gX/NQBAwMAKB+X6AHNEI4AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEsSURBVDhPYxhcoHDW8/9QJgYAyTUteP4/c+JjnGoYcmc+
|
||||
+5/QfQ+rApDcqiPv/4e3P8BtQMaUp//n7f/9P6HrDoYikNzCfR/+Bzdcw21AQs+T/7P3/frfufXvf7fS
|
||||
yygKQXLTtrz/7199AbcBkV2P/k/Z9ut/ydK//xOm//1vk3sWrhgk17v6w3+v0hO4DQhsfvi/de17sGbj
|
||||
ki//paOv/TeOXAbWAJKrm//uv0v+AdwGeFTd/18y9x1cs6JLD1wxSC5/2pv/9hnbcRtgX3r3f2DLMwzN
|
||||
IACSy578+r9FwnrcBljk3flvU3AFQzMIgORS+1/DvYQVGGbdxqoZBEByYS0v/+sGz8NtgE7aDZySIDm/
|
||||
6of/NXyn4TYAH3DKvfJfxWMCGEOFBgVgYAAAvtG/s7kMTpwAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="DP_ALERTE_PRODUITBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABMSURBVDhPY6AK+Pbt239SMVQrBIAEnJyc4PjD+49wjCwG
|
||||
otva2jANIcUAEIYZAtVOugEgTLQByBhZDW0NIAaPGjAoDSAHQ7VTAhgYAE2K+Vet//BHAAAAAElFTkSu
|
||||
QmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="DP_MsgBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>1083, 17</value>
|
||||
</metadata>
|
||||
<metadata name="DP_ReqBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 56</value>
|
||||
</metadata>
|
||||
</root>
|
33
DP_Relay/DP_Relay/BDD.vb
Normal file
33
DP_Relay/DP_Relay/BDD.vb
Normal file
@ -0,0 +1,33 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Public Class BDD
|
||||
|
||||
Private Sub DP_ALERTE_PRODUITBindingNavigatorSaveItem_Click(sender As Object, e As EventArgs) Handles DP_ALERTE_PRODUITBindingNavigatorSaveItem.Click
|
||||
Me.Validate()
|
||||
Me.DP_ALERTE_PRODUITBindingSource.EndEdit()
|
||||
Me.TableAdapterManager.UpdateAll(Me.PharmaDataSet1)
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub BDD_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||
'TODO: cette ligne de code charge les données dans la table 'PharmaDataSet1.DP_Req'. Vous pouvez la déplacer ou la supprimer selon vos besoins.
|
||||
Me.DP_ReqTableAdapter.Fill(Me.PharmaDataSet1.DP_Req)
|
||||
'TODO: cette ligne de code charge les données dans la table 'PharmaDataSet1.DP_Msg'. Vous pouvez la déplacer ou la supprimer selon vos besoins.
|
||||
Me.DP_MsgTableAdapter.Fill(Me.PharmaDataSet1.DP_Msg)
|
||||
'TODO: cette ligne de code charge les données dans la table 'PharmaDataSet1.DP_ALERTE_PRODUIT'. Vous pouvez la déplacer ou la supprimer selon vos besoins.
|
||||
Me.DP_ALERTE_PRODUITTableAdapter.Fill(Me.PharmaDataSet1.DP_ALERTE_PRODUIT)
|
||||
|
||||
End Sub
|
||||
End Class
|
502
DP_Relay/DP_Relay/DP.vb
Normal file
502
DP_Relay/DP_Relay/DP.vb
Normal file
@ -0,0 +1,502 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
'LIGNE DE COMMANDE POUR GENERER LA CLASSE A PARTIR DU xsd:
|
||||
'xsd.exe D:\temp\alerte.xsd /classes /language:vb /out:D:\temp\
|
||||
|
||||
|
||||
Option Strict Off
|
||||
Option Explicit On
|
||||
|
||||
Imports System.Xml.Serialization
|
||||
|
||||
'
|
||||
'This source code was auto-generated by xsd, Version=4.7.3062.0.
|
||||
'
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=False)> _
|
||||
Partial Public Class DP
|
||||
|
||||
Private refField As String
|
||||
|
||||
Private typeField As String
|
||||
|
||||
Private dateLectureField As Date
|
||||
|
||||
Private dateEmissionField As Date
|
||||
|
||||
Private dateExpirationField As Date
|
||||
|
||||
Private emetteurField As String
|
||||
|
||||
Private titreField As String
|
||||
|
||||
Private texteField As String
|
||||
|
||||
Private demandeRetourField As String
|
||||
|
||||
Private laboratoireField As laboratoire
|
||||
|
||||
Private produitsField() As produit
|
||||
|
||||
Private alerteSuivanteField As alerteSuivante
|
||||
|
||||
Private annulrefField As String
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property ref() As String
|
||||
Get
|
||||
Return Me.refField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.refField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property type() As String
|
||||
Get
|
||||
Return Me.typeField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.typeField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property dateLecture() As Date
|
||||
Get
|
||||
Return Me.dateLectureField
|
||||
End Get
|
||||
Set(value As Date)
|
||||
Me.dateLectureField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property dateEmission() As Date
|
||||
Get
|
||||
Return Me.dateEmissionField
|
||||
End Get
|
||||
Set(value As Date)
|
||||
Me.dateEmissionField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property dateExpiration() As Date
|
||||
Get
|
||||
Return Me.dateExpirationField
|
||||
End Get
|
||||
Set(value As Date)
|
||||
Me.dateExpirationField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property emetteur() As String
|
||||
Get
|
||||
Return Me.emetteurField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.emetteurField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property titre() As String
|
||||
Get
|
||||
Return Me.titreField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.titreField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property texte() As String
|
||||
Get
|
||||
Return Me.texteField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.texteField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property demandeRetour() As String
|
||||
Get
|
||||
Return Me.demandeRetourField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.demandeRetourField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property laboratoire() As laboratoire
|
||||
Get
|
||||
Return Me.laboratoireField
|
||||
End Get
|
||||
Set(value As laboratoire)
|
||||
Me.laboratoireField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlArrayItemAttribute("produit", IsNullable:=False)> _
|
||||
Public Property produits() As produit()
|
||||
Get
|
||||
Return Me.produitsField
|
||||
End Get
|
||||
Set(value As produit())
|
||||
Me.produitsField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property alerteSuivante() As alerteSuivante
|
||||
Get
|
||||
Return Me.alerteSuivanteField
|
||||
End Get
|
||||
Set(value As alerteSuivante)
|
||||
Me.alerteSuivanteField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property annulref() As String
|
||||
Get
|
||||
Return Me.annulrefField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.annulrefField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=False)> _
|
||||
Partial Public Class laboratoire
|
||||
|
||||
Private contactField As String
|
||||
|
||||
Private adresseField As String
|
||||
|
||||
Private codePostalField As String
|
||||
|
||||
Private villeField As String
|
||||
|
||||
Private telephoneField As String
|
||||
|
||||
Private faxField As String
|
||||
|
||||
Private emailField As String
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property contact() As String
|
||||
Get
|
||||
Return Me.contactField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.contactField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property adresse() As String
|
||||
Get
|
||||
Return Me.adresseField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.adresseField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property codePostal() As String
|
||||
Get
|
||||
Return Me.codePostalField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.codePostalField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property ville() As String
|
||||
Get
|
||||
Return Me.villeField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.villeField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property telephone() As String
|
||||
Get
|
||||
Return Me.telephoneField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.telephoneField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property fax() As String
|
||||
Get
|
||||
Return Me.faxField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.faxField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property email() As String
|
||||
Get
|
||||
Return Me.emailField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.emailField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=False)> _
|
||||
Partial Public Class produit
|
||||
|
||||
Private codeField As String
|
||||
|
||||
Private libelleField As String
|
||||
|
||||
Private lotsField As lots
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property code() As String
|
||||
Get
|
||||
Return Me.codeField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.codeField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property libelle() As String
|
||||
Get
|
||||
Return Me.libelleField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.libelleField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property lots() As lots
|
||||
Get
|
||||
Return Me.lotsField
|
||||
End Get
|
||||
Set(value As lots)
|
||||
Me.lotsField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=False)> _
|
||||
Partial Public Class lots
|
||||
|
||||
Private lotField() As lot
|
||||
|
||||
Private ensembleField As String
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute("lot")> _
|
||||
Public Property lot() As lot()
|
||||
Get
|
||||
Return Me.lotField
|
||||
End Get
|
||||
Set(value As lot())
|
||||
Me.lotField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlAttributeAttribute(DataType:="token")> _
|
||||
Public Property ensemble() As String
|
||||
Get
|
||||
Return Me.ensembleField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.ensembleField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=False)> _
|
||||
Partial Public Class lot
|
||||
|
||||
Private numField As String
|
||||
|
||||
Private perField As Date
|
||||
|
||||
Private perFieldSpecified As Boolean
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlAttributeAttribute(DataType:="token")> _
|
||||
Public Property num() As String
|
||||
Get
|
||||
Return Me.numField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.numField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlAttributeAttribute(DataType:="date")> _
|
||||
Public Property per() As Date
|
||||
Get
|
||||
Return Me.perField
|
||||
End Get
|
||||
Set(value As Date)
|
||||
Me.perField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlIgnoreAttribute()> _
|
||||
Public Property perSpecified() As Boolean
|
||||
Get
|
||||
Return Me.perFieldSpecified
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
Me.perFieldSpecified = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=False)> _
|
||||
Partial Public Class alerteSuivante
|
||||
|
||||
Private hrefField As String
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlAttributeAttribute(DataType:="token")> _
|
||||
Public Property href() As String
|
||||
Get
|
||||
Return Me.hrefField
|
||||
End Get
|
||||
Set(value As String)
|
||||
Me.hrefField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=False)> _
|
||||
Partial Public Class produits
|
||||
|
||||
Private produitField() As produit
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute("produit")> _
|
||||
Public Property produit() As produit()
|
||||
Get
|
||||
Return Me.produitField
|
||||
End Get
|
||||
Set(value As produit())
|
||||
Me.produitField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Public Sub save_alerte(ByVal myalerte As DP, ByVal File As String)
|
||||
Dim serializer As New XmlSerializer(GetType(DP))
|
||||
Dim writer As New System.IO.StreamWriter(File)
|
||||
serializer.Serialize(writer, myalerte)
|
||||
writer.Close()
|
||||
End Sub
|
||||
Public Sub load(ByVal File As String, ByRef myalerte As DP)
|
||||
Dim serializer As New XmlSerializer(GetType(DP))
|
||||
Dim reader As New IO.StreamReader(File)
|
||||
myalerte = serializer.Deserialize(reader)
|
||||
reader.Close()
|
||||
reader.Dispose()
|
||||
End Sub
|
||||
End Class
|
||||
|
174
DP_Relay/DP_Relay/DP_Relay.vbproj
Normal file
174
DP_Relay/DP_Relay/DP_Relay.vbproj
Normal file
@ -0,0 +1,174 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{34E05A7B-887A-46C8-9A73-8D1A6AA3A8CE}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<StartupObject>DP_Relay.My.MyApplication</StartupObject>
|
||||
<RootNamespace>DP_Relay</RootNamespace>
|
||||
<AssemblyName>DP_Relay</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>WindowsForms</MyType>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DocumentationFile>DP_Relay.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>DP_Relay.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Drawing" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Security" />
|
||||
<Import Include="System.Windows.Forms" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
<Import Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="alerte.vb" />
|
||||
<Compile Include="ApplicationEvents.vb" />
|
||||
<Compile Include="BDD.Designer.vb">
|
||||
<DependentUpon>BDD.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BDD.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MAIN.Designer.vb">
|
||||
<DependentUpon>MAIN.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MAIN.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||
<Compile Include="My Project\Application.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Resources.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<Compile Include="PharmaDataSet1.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>PharmaDataSet1.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="RCMR_IN000031UV01.vb" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="BDD.resx">
|
||||
<DependentUpon>BDD.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MAIN.resx">
|
||||
<DependentUpon>MAIN.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="App.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="PharmaDataSet1.xsc">
|
||||
<DependentUpon>PharmaDataSet1.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="PharmaDataSet1.xsd">
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
<LastGenOutput>PharmaDataSet1.Designer.vb</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="PharmaDataSet1.xss">
|
||||
<DependentUpon>PharmaDataSet1.xsd</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
108
DP_Relay/DP_Relay/MAIN.Designer.vb
generated
Normal file
108
DP_Relay/DP_Relay/MAIN.Designer.vb
generated
Normal file
@ -0,0 +1,108 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class MAIN
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.components = New System.ComponentModel.Container()
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(MAIN))
|
||||
Me.RichTextBox1 = New System.Windows.Forms.RichTextBox()
|
||||
Me.Button1 = New System.Windows.Forms.Button()
|
||||
Me.NotifyIcon1 = New System.Windows.Forms.NotifyIcon(Me.components)
|
||||
Me.Button2 = New System.Windows.Forms.Button()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'RichTextBox1
|
||||
'
|
||||
Me.RichTextBox1.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.RichTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None
|
||||
Me.RichTextBox1.Font = New System.Drawing.Font("Consolas", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.RichTextBox1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
|
||||
Me.RichTextBox1.Location = New System.Drawing.Point(12, 12)
|
||||
Me.RichTextBox1.Name = "RichTextBox1"
|
||||
Me.RichTextBox1.Size = New System.Drawing.Size(395, 156)
|
||||
Me.RichTextBox1.TabIndex = 0
|
||||
Me.RichTextBox1.Text = ""
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
Me.Button1.BackColor = System.Drawing.Color.Red
|
||||
Me.Button1.Location = New System.Drawing.Point(413, 93)
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.Size = New System.Drawing.Size(75, 75)
|
||||
Me.Button1.TabIndex = 8
|
||||
Me.Button1.Text = "STOP"
|
||||
Me.Button1.UseVisualStyleBackColor = False
|
||||
'
|
||||
'NotifyIcon1
|
||||
'
|
||||
Me.NotifyIcon1.Icon = CType(resources.GetObject("NotifyIcon1.Icon"), System.Drawing.Icon)
|
||||
Me.NotifyIcon1.Text = "DP Relay"
|
||||
Me.NotifyIcon1.Visible = True
|
||||
'
|
||||
'Button2
|
||||
'
|
||||
Me.Button2.BackColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
|
||||
Me.Button2.Location = New System.Drawing.Point(413, 12)
|
||||
Me.Button2.Name = "Button2"
|
||||
Me.Button2.Size = New System.Drawing.Size(75, 75)
|
||||
Me.Button2.TabIndex = 9
|
||||
Me.Button2.Text = "Connect"
|
||||
Me.Button2.UseVisualStyleBackColor = False
|
||||
'
|
||||
'MAIN
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.ClientSize = New System.Drawing.Size(500, 180)
|
||||
Me.Controls.Add(Me.Button2)
|
||||
Me.Controls.Add(Me.Button1)
|
||||
Me.Controls.Add(Me.RichTextBox1)
|
||||
Me.Cursor = System.Windows.Forms.Cursors.No
|
||||
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
|
||||
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
||||
Me.Name = "MAIN"
|
||||
Me.ShowIcon = False
|
||||
Me.ShowInTaskbar = False
|
||||
Me.Text = "DP"
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox
|
||||
Friend WithEvents Button1 As System.Windows.Forms.Button
|
||||
Friend WithEvents NotifyIcon1 As System.Windows.Forms.NotifyIcon
|
||||
Friend WithEvents Button2 As System.Windows.Forms.Button
|
||||
End Class
|
5560
DP_Relay/DP_Relay/MAIN.resx
Normal file
5560
DP_Relay/DP_Relay/MAIN.resx
Normal file
File diff suppressed because it is too large
Load Diff
2070
DP_Relay/DP_Relay/MAIN.vb
Normal file
2070
DP_Relay/DP_Relay/MAIN.vb
Normal file
File diff suppressed because it is too large
Load Diff
52
DP_Relay/DP_Relay/My Project/Application.Designer.vb
generated
Normal file
52
DP_Relay/DP_Relay/My Project/Application.Designer.vb
generated
Normal file
@ -0,0 +1,52 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
'REMARQUE : ce fichier étant généré automatiquement, ne le modifiez pas directement. Pour apporter des modifications,
|
||||
' ou si vous rencontrez des erreurs de build dans ce fichier, accédez au Concepteur de projets
|
||||
' (allez dans les propriétés du projet ou double-cliquez sur le noeud My project dans
|
||||
' l'Explorateur de solutions), puis apportez vos modifications sous l'onglet Application.
|
||||
'
|
||||
Partial Friend Class MyApplication
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Public Sub New()
|
||||
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
|
||||
Me.IsSingleInstance = false
|
||||
Me.EnableVisualStyles = true
|
||||
Me.SaveMySettingsOnExit = true
|
||||
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
|
||||
End Sub
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Protected Overrides Sub OnCreateMainForm()
|
||||
Me.MainForm = Global.DP_Relay.MAIN
|
||||
End Sub
|
||||
End Class
|
||||
End Namespace
|
26
DP_Relay/DP_Relay/My Project/Application.myapp
Normal file
26
DP_Relay/DP_Relay/My Project/Application.myapp
Normal file
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>true</MySubMain>
|
||||
<MainForm>MAIN</MainForm>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
49
DP_Relay/DP_Relay/My Project/AssemblyInfo.vb
Normal file
49
DP_Relay/DP_Relay/My Project/AssemblyInfo.vb
Normal file
@ -0,0 +1,49 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' Les informations générales relatives à un assembly dépendent de
|
||||
' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
|
||||
' associées à un assembly.
|
||||
|
||||
' Passez en revue les valeurs des attributs de l'assembly
|
||||
|
||||
<Assembly: AssemblyTitle("DP_Relay")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("DP_Relay")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2016")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
|
||||
<Assembly: Guid("ec1459e1-f0b0-464a-9592-4ab43f909eef")>
|
||||
|
||||
' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
|
||||
'
|
||||
' Version principale
|
||||
' Version secondaire
|
||||
' Numéro de build
|
||||
' Révision
|
||||
'
|
||||
' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
|
||||
' en utilisant '*', comme indiqué ci-dessous :
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
77
DP_Relay/DP_Relay/My Project/Resources.Designer.vb
generated
Normal file
77
DP_Relay/DP_Relay/My Project/Resources.Designer.vb
generated
Normal file
@ -0,0 +1,77 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
Imports System
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
'à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
'Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
'avec l'option /str ou régénérez votre projet VS.
|
||||
'''<summary>
|
||||
''' Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||
Friend Module Resources
|
||||
|
||||
Private resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
'''<summary>
|
||||
''' Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend 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("DP_Relay.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
''' les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
133
DP_Relay/DP_Relay/My Project/Resources.resx
Normal file
133
DP_Relay/DP_Relay/My Project/Resources.resx
Normal file
@ -0,0 +1,133 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
98
DP_Relay/DP_Relay/My Project/Settings.Designer.vb
generated
Normal file
98
DP_Relay/DP_Relay/My Project/Settings.Designer.vb
generated
Normal file
@ -0,0 +1,98 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
|
||||
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||
|
||||
#Region "Fonctionnalité Enregistrement automatique My.Settings"
|
||||
#If _MyType = "WindowsForms" Then
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
#End If
|
||||
#End Region
|
||||
|
||||
Public Shared ReadOnly Property [Default]() As MySettings
|
||||
Get
|
||||
|
||||
#If _MyType = "WindowsForms" Then
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
#End If
|
||||
Return defaultInstance
|
||||
End Get
|
||||
End Property
|
||||
|
||||
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Configuration.SpecialSettingAttribute(Global.System.Configuration.SpecialSetting.ConnectionString), _
|
||||
Global.System.Configuration.DefaultSettingValueAttribute("Data Source=JUJU_PORTABLE\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info"& _
|
||||
"=True;User ID=Test;Password=Test12345")> _
|
||||
Public ReadOnly Property PharmaConnectionString() As String
|
||||
Get
|
||||
Return CType(Me("PharmaConnectionString"),String)
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Module MySettingsProperty
|
||||
|
||||
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||
Friend ReadOnly Property Settings() As Global.DP_Relay.My.MySettings
|
||||
Get
|
||||
Return Global.DP_Relay.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
14
DP_Relay/DP_Relay/My Project/Settings.settings
Normal file
14
DP_Relay/DP_Relay/My Project/Settings.settings
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="PharmaConnectionString" Type="(Connection string)" Scope="Application">
|
||||
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConnectionString>Data Source=JUJU_PORTABLE\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345</ConnectionString>
|
||||
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||
</SerializableConnectionString></DesignTimeValue>
|
||||
<Value Profile="(Default)">Data Source=JUJU_PORTABLE\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
3951
DP_Relay/DP_Relay/PharmaDataSet1.Designer.vb
generated
Normal file
3951
DP_Relay/DP_Relay/PharmaDataSet1.Designer.vb
generated
Normal file
File diff suppressed because it is too large
Load Diff
9
DP_Relay/DP_Relay/PharmaDataSet1.xsc
Normal file
9
DP_Relay/DP_Relay/PharmaDataSet1.xsc
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TableUISettings />
|
||||
</DataSetUISetting>
|
404
DP_Relay/DP_Relay/PharmaDataSet1.xsd
Normal file
404
DP_Relay/DP_Relay/PharmaDataSet1.xsd
Normal file
@ -0,0 +1,404 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<xs:schema id="PharmaDataSet1" targetNamespace="http://tempuri.org/PharmaDataSet1.xsd" xmlns:mstns="http://tempuri.org/PharmaDataSet1.xsd" xmlns="http://tempuri.org/PharmaDataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||
<xs:annotation>
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<Connections>
|
||||
<Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="PharmaConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="PharmaConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DP_Relay.My.MySettings.GlobalReference.Default.PharmaConnectionString" Provider="System.Data.SqlClient" />
|
||||
</Connections>
|
||||
<Tables>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DP_ALERTE_PRODUITTableAdapter" GeneratorDataComponentClassName="DP_ALERTE_PRODUITTableAdapter" Name="DP_ALERTE_PRODUIT" UserDataComponentName="DP_ALERTE_PRODUITTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_ALERTE_PRODUIT" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[DP_ALERTE_PRODUIT] ([CIP], [MsgRef], [Lots], [Vue]) VALUES (@CIP, @MsgRef, @Lots, @Vue)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CIP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CIP" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MsgRef" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MsgRef" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Lots" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Lots" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Vue" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Vue" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CIP, MsgRef, Lots, Vue FROM dbo.DP_ALERTE_PRODUIT</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CIP" DataSetColumn="CIP" />
|
||||
<Mapping SourceColumn="MsgRef" DataSetColumn="MsgRef" />
|
||||
<Mapping SourceColumn="Lots" DataSetColumn="Lots" />
|
||||
<Mapping SourceColumn="Vue" DataSetColumn="Vue" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_ALERTE_PRODUIT" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetData_unique" GetMethodModifier="Public" GetMethodName="GetData_unique" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData_unique" UserSourceName="GetData_unique">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT CIP, MsgRef, Lots, Vue FROM DP_ALERTE_PRODUIT WHERE (CIP = @CIP) AND (MsgRef = @MsgRef) AND (Lots = @Lots)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="CIP" ColumnName="CIP" DataSourceName="Pharma.dbo.DP_ALERTE_PRODUIT" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@CIP" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="CIP" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="MsgRef" ColumnName="MsgRef" DataSourceName="Pharma.dbo.DP_ALERTE_PRODUIT" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@MsgRef" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="MsgRef" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Lots" ColumnName="Lots" DataSourceName="Pharma.dbo.DP_ALERTE_PRODUIT" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@Lots" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="Lots" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DP_MsgTableAdapter" GeneratorDataComponentClassName="DP_MsgTableAdapter" Name="DP_Msg" UserDataComponentName="DP_MsgTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_Msg" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[DP_Msg] ([MsgRef], [MsgTyp], [MsgLect], [MsgDate], [MsgExpi], [Reader], [AR_sent], [AR_Statut], [AR_nbr_transmission], [AR_next_trans_time], [MsgEme], [MsgTit]) VALUES (@MsgRef, @MsgTyp, @MsgLect, @MsgDate, @MsgExpi, @Reader, @AR_sent, @AR_Statut, @AR_nbr_transmission, @AR_next_trans_time, @MsgEme, @MsgTit)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MsgRef" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MsgRef" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MsgTyp" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MsgTyp" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@MsgLect" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="MsgLect" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@MsgDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="MsgDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@MsgExpi" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="MsgExpi" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Reader" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Reader" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@AR_sent" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="AR_sent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AR_Statut" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AR_Statut" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AR_nbr_transmission" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="AR_nbr_transmission" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@AR_next_trans_time" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AR_next_trans_time" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MsgEme" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MsgEme" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MsgTit" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MsgTit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT MsgRef, MsgTyp, MsgLect, MsgDate, MsgExpi, Reader, AR_sent, AR_Statut, AR_nbr_transmission, AR_next_trans_time, MsgEme, MsgTit FROM dbo.DP_Msg</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="MsgRef" DataSetColumn="MsgRef" />
|
||||
<Mapping SourceColumn="MsgTyp" DataSetColumn="MsgTyp" />
|
||||
<Mapping SourceColumn="MsgLect" DataSetColumn="MsgLect" />
|
||||
<Mapping SourceColumn="MsgDate" DataSetColumn="MsgDate" />
|
||||
<Mapping SourceColumn="MsgExpi" DataSetColumn="MsgExpi" />
|
||||
<Mapping SourceColumn="Reader" DataSetColumn="Reader" />
|
||||
<Mapping SourceColumn="AR_sent" DataSetColumn="AR_sent" />
|
||||
<Mapping SourceColumn="AR_Statut" DataSetColumn="AR_Statut" />
|
||||
<Mapping SourceColumn="AR_nbr_transmission" DataSetColumn="AR_nbr_transmission" />
|
||||
<Mapping SourceColumn="AR_next_trans_time" DataSetColumn="AR_next_trans_time" />
|
||||
<Mapping SourceColumn="MsgEme" DataSetColumn="MsgEme" />
|
||||
<Mapping SourceColumn="MsgTit" DataSetColumn="MsgTit" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_Msg" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetData_where_AR_must_be_send" GetMethodModifier="Public" GetMethodName="GetData_where_AR_must_be_send" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData_where_AR_must_be_send" UserSourceName="GetData_where_AR_must_be_send">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT MsgRef, MsgTyp, MsgLect, MsgDate, MsgExpi, Reader, AR_sent, AR_Statut, AR_nbr_transmission, AR_next_trans_time, MsgEme, MsgTit FROM DP_Msg WHERE (Reader <> '') AND (AR_sent = 'False') OR (AR_sent = 'True') AND (AR_next_trans_time < @now) AND (AR_nbr_transmission < 3) AND (AR_Statut <> 'OK')</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="now" ColumnName="AR_next_trans_time" DataSourceName="Pharma.dbo.DP_Msg" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@now" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AR_next_trans_time" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_Msg" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy_MsgRef" GetMethodModifier="Public" GetMethodName="GetDataBy_MsgRef" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy_MsgRef" UserSourceName="GetDataBy_MsgRef">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT MsgRef, MsgTyp, MsgLect, MsgDate, MsgExpi, Reader, AR_sent, AR_Statut, AR_nbr_transmission, AR_next_trans_time, MsgEme, MsgTit FROM DP_Msg WHERE (MsgRef = @MsgRef)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="MsgRef" ColumnName="MsgRef" DataSourceName="Pharma.dbo.DP_Msg" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@MsgRef" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="MsgRef" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="Update_by_MsgRef" Modifier="Public" Name="Update_by_MsgRef" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="Update_by_MsgRef">
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>UPDATE DP_Msg
|
||||
set Reader = @Reader, AR_sent=@AR_sent, AR_Statut=@AR_Statut, AR_nbr_transmission=@AR_nbr_transmission,AR_next_trans_time=@AR_next_trans_time
|
||||
where MsgRef=@MsgRef
|
||||
</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Reader" ColumnName="Reader" DataSourceName="Pharma.dbo.DP_Msg" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@Reader" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="Reader" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="AR_sent" ColumnName="AR_sent" DataSourceName="Pharma.dbo.DP_Msg" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@AR_sent" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="AR_sent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="AR_Statut" ColumnName="AR_Statut" DataSourceName="Pharma.dbo.DP_Msg" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@AR_Statut" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="AR_Statut" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="AR_nbr_transmission" ColumnName="AR_nbr_transmission" DataSourceName="Pharma.dbo.DP_Msg" DataTypeServer="numeric(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@AR_nbr_transmission" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="AR_nbr_transmission" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="AR_next_trans_time" ColumnName="AR_next_trans_time" DataSourceName="Pharma.dbo.DP_Msg" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@AR_next_trans_time" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AR_next_trans_time" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="MsgRef" ColumnName="MsgRef" DataSourceName="Pharma.dbo.DP_Msg" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@MsgRef" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="MsgRef" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DP_ReqTableAdapter" GeneratorDataComponentClassName="DP_ReqTableAdapter" Name="DP_Req" UserDataComponentName="DP_ReqTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_Req" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[DP_Req] ([Sequence_Number], [ReqId], [Statut], [next_trans_time], [nbr_trans], [Identifiant_patient], [référence_interne]) VALUES (@Sequence_Number, @ReqId, @Statut, @next_trans_time, @nbr_trans, @Identifiant_patient, @référence_interne)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Sequence_Number" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sequence_Number" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ReqId" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReqId" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Statut" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Statut" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@next_trans_time" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="next_trans_time" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nbr_trans" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nbr_trans" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Identifiant_patient" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Identifiant_patient" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@référence_interne" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="référence_interne" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT Sequence_Number, ReqId, Statut, next_trans_time, nbr_trans, Identifiant_patient, référence_interne FROM dbo.DP_Req</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="Sequence_Number" DataSetColumn="Sequence_Number" />
|
||||
<Mapping SourceColumn="ReqId" DataSetColumn="ReqId" />
|
||||
<Mapping SourceColumn="Statut" DataSetColumn="Statut" />
|
||||
<Mapping SourceColumn="next_trans_time" DataSetColumn="next_trans_time" />
|
||||
<Mapping SourceColumn="nbr_trans" DataSetColumn="nbr_trans" />
|
||||
<Mapping SourceColumn="Identifiant_patient" DataSetColumn="Identifiant_patient" />
|
||||
<Mapping SourceColumn="référence_interne" DataSetColumn="référence_interne" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteBy_ReqId" Modifier="Public" Name="DeleteBy_ReqId" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteBy_ReqId">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>DELETE
|
||||
FROM dbo.DP_Req
|
||||
where ReqId=@ReqId</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ReqId" ColumnName="ReqId" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@ReqId" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="ReqId" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_Req" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetData_Queue" GetMethodModifier="Public" GetMethodName="GetData_Queue" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData_Queue" UserSourceName="GetData_Queue">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT Sequence_Number, ReqId, Statut, nbr_trans, next_trans_time, Identifiant_patient, référence_interne FROM DP_Req WHERE (Statut = 'A_REEMETTRE') AND (Identifiant_patient <> 'IAM') OR (Statut = 'ERREUR_TECHNIQUE') AND (Identifiant_patient <> 'IAM') AND (next_trans_time < @now) AND (nbr_trans < 4)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="now" ColumnName="next_trans_time" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@now" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="next_trans_time" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_Req" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetData_Queue_IAM" GetMethodModifier="Public" GetMethodName="GetData_Queue_IAM" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData_Queue_IAM" UserSourceName="GetData_Queue_IAM">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT Sequence_Number, ReqId, Statut, nbr_trans, next_trans_time, Identifiant_patient, référence_interne FROM DP_Req WHERE ((Statut = 'A_REEMETTRE') AND (Identifiant_patient = 'IAM') OR (Statut = 'ERREUR_TECHNIQUE') AND (Identifiant_patient = 'IAM')) AND (next_trans_time < getdate()) AND (nbr_trans < 2)</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_Req" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy_ReqId" GetMethodModifier="Public" GetMethodName="GetDataBy_ReqId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy_ReqId" UserSourceName="GetDataBy_ReqId">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT Sequence_Number, ReqId, Statut, next_trans_time, nbr_trans, Identifiant_patient, référence_interne FROM dbo.DP_Req
|
||||
where ReqId=@ReqId</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ReqId" ColumnName="ReqId" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@ReqId" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="ReqId" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="Pharma.dbo.DP_Req" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy_Sequence_Number" GetMethodModifier="Public" GetMethodName="GetDataBy_Sequence_Number" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy_Sequence_Number" UserSourceName="GetDataBy_Sequence_Number">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT Sequence_Number, ReqId, Statut, nbr_trans, next_trans_time, Identifiant_patient, référence_interne FROM DP_Req WHERE (Sequence_Number = @Sequence_Number)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Sequence_Number" ColumnName="Sequence_Number" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Sequence_Number" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Sequence_Number" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="Update_byReqId" Modifier="Public" Name="Update_byReqId" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="Update_byReqId">
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>update DP_Req set Sequence_Number=@Sequence_Number, Statut=@Statut, nbr_trans=@nbr_trans, next_trans_time=@next_trans_time, Identifiant_patient=@Identifiant_patient, référence_interne=@référence_interne where ReqId =@ReqId </CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Sequence_Number" ColumnName="Sequence_Number" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Sequence_Number" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Sequence_Number" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Statut" ColumnName="Statut" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@Statut" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="Statut" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="nbr_trans" ColumnName="nbr_trans" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@nbr_trans" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="nbr_trans" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="next_trans_time" ColumnName="next_trans_time" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@next_trans_time" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="next_trans_time" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Identifiant_patient" ColumnName="Identifiant_patient" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@Identifiant_patient" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="Identifiant_patient" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="référence_interne" ColumnName="référence_interne" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@référence_interne" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="référence_interne" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="ReqId" ColumnName="ReqId" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@ReqId" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="ReqId" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="PharmaConnectionString (MySettings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="Update_Requetes_Perimées" Modifier="Public" Name="Update_Requetes_Perimées" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="Update_Requetes_Perimées">
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>UPDATE DP_Req set Statut='DELAI_EXPIRE' where (Statut = 'A_REEMETTRE') AND (next_trans_time < @DateLimite)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="DateLimite" ColumnName="next_trans_time" DataSourceName="Pharma.dbo.DP_Req" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DateLimite" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="next_trans_time" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element name="PharmaDataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="PharmaDataSet1" msprop:Generator_UserDSName="PharmaDataSet1">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="DP_ALERTE_PRODUIT" msprop:Generator_TableClassName="DP_ALERTE_PRODUITDataTable" msprop:Generator_TableVarName="tableDP_ALERTE_PRODUIT" msprop:Generator_RowChangedName="DP_ALERTE_PRODUITRowChanged" msprop:Generator_TablePropName="DP_ALERTE_PRODUIT" msprop:Generator_RowDeletingName="DP_ALERTE_PRODUITRowDeleting" msprop:Generator_RowChangingName="DP_ALERTE_PRODUITRowChanging" msprop:Generator_RowEvHandlerName="DP_ALERTE_PRODUITRowChangeEventHandler" msprop:Generator_RowDeletedName="DP_ALERTE_PRODUITRowDeleted" msprop:Generator_RowClassName="DP_ALERTE_PRODUITRow" msprop:Generator_UserTableName="DP_ALERTE_PRODUIT" msprop:Generator_RowEvArgName="DP_ALERTE_PRODUITRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CIP" msprop:Generator_ColumnVarNameInTable="columnCIP" msprop:Generator_ColumnPropNameInRow="CIP" msprop:Generator_ColumnPropNameInTable="CIPColumn" msprop:Generator_UserColumnName="CIP" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="MsgRef" msprop:Generator_ColumnVarNameInTable="columnMsgRef" msprop:Generator_ColumnPropNameInRow="MsgRef" msprop:Generator_ColumnPropNameInTable="MsgRefColumn" msprop:Generator_UserColumnName="MsgRef" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Lots" msprop:Generator_ColumnVarNameInTable="columnLots" msprop:Generator_ColumnPropNameInRow="Lots" msprop:Generator_ColumnPropNameInTable="LotsColumn" msprop:Generator_UserColumnName="Lots" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Vue" msprop:Generator_ColumnVarNameInTable="columnVue" msprop:Generator_ColumnPropNameInRow="Vue" msprop:Generator_ColumnPropNameInTable="VueColumn" msprop:Generator_UserColumnName="Vue" type="xs:boolean" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DP_Msg" msprop:Generator_TableClassName="DP_MsgDataTable" msprop:Generator_TableVarName="tableDP_Msg" msprop:Generator_RowChangedName="DP_MsgRowChanged" msprop:Generator_TablePropName="DP_Msg" msprop:Generator_RowDeletingName="DP_MsgRowDeleting" msprop:Generator_RowChangingName="DP_MsgRowChanging" msprop:Generator_RowEvHandlerName="DP_MsgRowChangeEventHandler" msprop:Generator_RowDeletedName="DP_MsgRowDeleted" msprop:Generator_RowClassName="DP_MsgRow" msprop:Generator_UserTableName="DP_Msg" msprop:Generator_RowEvArgName="DP_MsgRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="MsgRef" msprop:Generator_ColumnVarNameInTable="columnMsgRef" msprop:Generator_ColumnPropNameInRow="MsgRef" msprop:Generator_ColumnPropNameInTable="MsgRefColumn" msprop:Generator_UserColumnName="MsgRef" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="MsgTyp" msprop:Generator_ColumnVarNameInTable="columnMsgTyp" msprop:Generator_ColumnPropNameInRow="MsgTyp" msprop:Generator_ColumnPropNameInTable="MsgTypColumn" msprop:Generator_UserColumnName="MsgTyp" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="MsgLect" msprop:Generator_ColumnVarNameInTable="columnMsgLect" msprop:Generator_ColumnPropNameInRow="MsgLect" msprop:Generator_ColumnPropNameInTable="MsgLectColumn" msprop:Generator_UserColumnName="MsgLect" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="MsgDate" msprop:Generator_ColumnVarNameInTable="columnMsgDate" msprop:Generator_ColumnPropNameInRow="MsgDate" msprop:Generator_ColumnPropNameInTable="MsgDateColumn" msprop:Generator_UserColumnName="MsgDate" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="MsgExpi" msprop:Generator_ColumnVarNameInTable="columnMsgExpi" msprop:Generator_ColumnPropNameInRow="MsgExpi" msprop:Generator_ColumnPropNameInTable="MsgExpiColumn" msprop:Generator_UserColumnName="MsgExpi" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="Reader" msprop:Generator_ColumnVarNameInTable="columnReader" msprop:Generator_ColumnPropNameInRow="Reader" msprop:Generator_ColumnPropNameInTable="ReaderColumn" msprop:Generator_UserColumnName="Reader" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="AR_sent" msprop:Generator_ColumnVarNameInTable="columnAR_sent" msprop:Generator_ColumnPropNameInRow="AR_sent" msprop:Generator_ColumnPropNameInTable="AR_sentColumn" msprop:Generator_UserColumnName="AR_sent" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="AR_Statut" msprop:Generator_ColumnVarNameInTable="columnAR_Statut" msprop:Generator_ColumnPropNameInRow="AR_Statut" msprop:Generator_ColumnPropNameInTable="AR_StatutColumn" msprop:Generator_UserColumnName="AR_Statut" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="AR_nbr_transmission" msprop:Generator_ColumnVarNameInTable="columnAR_nbr_transmission" msprop:Generator_ColumnPropNameInRow="AR_nbr_transmission" msprop:Generator_ColumnPropNameInTable="AR_nbr_transmissionColumn" msprop:Generator_UserColumnName="AR_nbr_transmission" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="AR_next_trans_time" msprop:Generator_ColumnVarNameInTable="columnAR_next_trans_time" msprop:Generator_ColumnPropNameInRow="AR_next_trans_time" msprop:Generator_ColumnPropNameInTable="AR_next_trans_timeColumn" msprop:Generator_UserColumnName="AR_next_trans_time" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="MsgEme" msprop:Generator_ColumnVarNameInTable="columnMsgEme" msprop:Generator_ColumnPropNameInRow="MsgEme" msprop:Generator_ColumnPropNameInTable="MsgEmeColumn" msprop:Generator_UserColumnName="MsgEme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="MsgTit" msprop:Generator_ColumnVarNameInTable="columnMsgTit" msprop:Generator_ColumnPropNameInRow="MsgTit" msprop:Generator_ColumnPropNameInTable="MsgTitColumn" msprop:Generator_UserColumnName="MsgTit" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DP_Req" msprop:Generator_TableClassName="DP_ReqDataTable" msprop:Generator_TableVarName="tableDP_Req" msprop:Generator_RowChangedName="DP_ReqRowChanged" msprop:Generator_TablePropName="DP_Req" msprop:Generator_RowDeletingName="DP_ReqRowDeleting" msprop:Generator_RowChangingName="DP_ReqRowChanging" msprop:Generator_RowEvHandlerName="DP_ReqRowChangeEventHandler" msprop:Generator_RowDeletedName="DP_ReqRowDeleted" msprop:Generator_RowClassName="DP_ReqRow" msprop:Generator_UserTableName="DP_Req" msprop:Generator_RowEvArgName="DP_ReqRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Sequence_Number" msprop:Generator_ColumnVarNameInTable="columnSequence_Number" msprop:Generator_ColumnPropNameInRow="Sequence_Number" msprop:Generator_ColumnPropNameInTable="Sequence_NumberColumn" msprop:Generator_UserColumnName="Sequence_Number" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ReqId" msprop:Generator_ColumnVarNameInTable="columnReqId" msprop:Generator_ColumnPropNameInRow="ReqId" msprop:Generator_ColumnPropNameInTable="ReqIdColumn" msprop:Generator_UserColumnName="ReqId" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Statut" msprop:Generator_ColumnVarNameInTable="columnStatut" msprop:Generator_ColumnPropNameInRow="Statut" msprop:Generator_ColumnPropNameInTable="StatutColumn" msprop:Generator_UserColumnName="Statut" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="next_trans_time" msprop:Generator_ColumnVarNameInTable="columnnext_trans_time" msprop:Generator_ColumnPropNameInRow="next_trans_time" msprop:Generator_ColumnPropNameInTable="next_trans_timeColumn" msprop:Generator_UserColumnName="next_trans_time" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="nbr_trans" msprop:Generator_ColumnVarNameInTable="columnnbr_trans" msprop:Generator_ColumnPropNameInRow="nbr_trans" msprop:Generator_ColumnPropNameInTable="nbr_transColumn" msprop:Generator_UserColumnName="nbr_trans" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Identifiant_patient" msprop:Generator_ColumnVarNameInTable="columnIdentifiant_patient" msprop:Generator_ColumnPropNameInRow="Identifiant_patient" msprop:Generator_ColumnPropNameInTable="Identifiant_patientColumn" msprop:Generator_UserColumnName="Identifiant_patient" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="référence_interne" msprop:Generator_ColumnVarNameInTable="columnréférence_interne" msprop:Generator_ColumnPropNameInRow="référence_interne" msprop:Generator_ColumnPropNameInTable="référence_interneColumn" msprop:Generator_UserColumnName="référence_interne" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
14
DP_Relay/DP_Relay/PharmaDataSet1.xss
Normal file
14
DP_Relay/DP_Relay/PharmaDataSet1.xss
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool to store the dataset designer's layout information.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="15" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:DP_ALERTE_PRODUIT" ZOrder="3" X="66" Y="25" Height="94" Width="269" AdapterExpanded="true" DataTableExpanded="false" OldAdapterHeight="0" OldDataTableHeight="102" SplitterPosition="25" />
|
||||
<Shape ID="DesignTable:DP_Msg" ZOrder="2" X="399" Y="27" Height="132" Width="300" AdapterExpanded="true" DataTableExpanded="false" OldAdapterHeight="0" OldDataTableHeight="254" SplitterPosition="25" />
|
||||
<Shape ID="DesignTable:DP_Req" ZOrder="1" X="789" Y="61" Height="151" Width="300" AdapterExpanded="true" DataTableExpanded="false" OldAdapterHeight="0" OldDataTableHeight="159" SplitterPosition="25" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
2227
DP_Relay/DP_Relay/RCMR_IN000031UV01.vb
Normal file
2227
DP_Relay/DP_Relay/RCMR_IN000031UV01.vb
Normal file
File diff suppressed because it is too large
Load Diff
470
DP_Relay/DP_Relay/alerte.vb
Normal file
470
DP_Relay/DP_Relay/alerte.vb
Normal file
@ -0,0 +1,470 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict Off
|
||||
Option Explicit On
|
||||
|
||||
Imports System.Xml.Serialization
|
||||
|
||||
'
|
||||
'This source code was auto-generated by xsd, Version=4.7.3062.0.
|
||||
'
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=false)> _
|
||||
Partial Public Class alerte
|
||||
|
||||
Private refField As String
|
||||
|
||||
Private typeField As String
|
||||
|
||||
Private dateLectureField As Date
|
||||
|
||||
Private dateEmissionField As Date
|
||||
|
||||
Private dateExpirationField As Date
|
||||
|
||||
Private emetteurField As String
|
||||
|
||||
Private titreField As String
|
||||
|
||||
Private texteField As String
|
||||
|
||||
Private demandeRetourField As String
|
||||
|
||||
Private laboratoireField As laboratoire
|
||||
|
||||
Private produitsField() As produit
|
||||
|
||||
Private alerteSuivanteField As alerteSuivante
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property ref() As String
|
||||
Get
|
||||
Return Me.refField
|
||||
End Get
|
||||
Set
|
||||
Me.refField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property type() As String
|
||||
Get
|
||||
Return Me.typeField
|
||||
End Get
|
||||
Set
|
||||
Me.typeField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property dateLecture() As Date
|
||||
Get
|
||||
Return Me.dateLectureField
|
||||
End Get
|
||||
Set
|
||||
Me.dateLectureField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property dateEmission() As Date
|
||||
Get
|
||||
Return Me.dateEmissionField
|
||||
End Get
|
||||
Set
|
||||
Me.dateEmissionField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property dateExpiration() As Date
|
||||
Get
|
||||
Return Me.dateExpirationField
|
||||
End Get
|
||||
Set
|
||||
Me.dateExpirationField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property emetteur() As String
|
||||
Get
|
||||
Return Me.emetteurField
|
||||
End Get
|
||||
Set
|
||||
Me.emetteurField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property titre() As String
|
||||
Get
|
||||
Return Me.titreField
|
||||
End Get
|
||||
Set
|
||||
Me.titreField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property texte() As String
|
||||
Get
|
||||
Return Me.texteField
|
||||
End Get
|
||||
Set
|
||||
Me.texteField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property demandeRetour() As String
|
||||
Get
|
||||
Return Me.demandeRetourField
|
||||
End Get
|
||||
Set
|
||||
Me.demandeRetourField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property laboratoire() As laboratoire
|
||||
Get
|
||||
Return Me.laboratoireField
|
||||
End Get
|
||||
Set
|
||||
Me.laboratoireField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlArrayItemAttribute("produit", IsNullable:=false)> _
|
||||
Public Property produits() As produit()
|
||||
Get
|
||||
Return Me.produitsField
|
||||
End Get
|
||||
Set
|
||||
Me.produitsField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property alerteSuivante() As alerteSuivante
|
||||
Get
|
||||
Return Me.alerteSuivanteField
|
||||
End Get
|
||||
Set
|
||||
Me.alerteSuivanteField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=false)> _
|
||||
Partial Public Class laboratoire
|
||||
|
||||
Private contactField As String
|
||||
|
||||
Private adresseField As String
|
||||
|
||||
Private codePostalField As String
|
||||
|
||||
Private villeField As String
|
||||
|
||||
Private telephoneField As String
|
||||
|
||||
Private faxField As String
|
||||
|
||||
Private emailField As String
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property contact() As String
|
||||
Get
|
||||
Return Me.contactField
|
||||
End Get
|
||||
Set
|
||||
Me.contactField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property adresse() As String
|
||||
Get
|
||||
Return Me.adresseField
|
||||
End Get
|
||||
Set
|
||||
Me.adresseField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property codePostal() As String
|
||||
Get
|
||||
Return Me.codePostalField
|
||||
End Get
|
||||
Set
|
||||
Me.codePostalField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property ville() As String
|
||||
Get
|
||||
Return Me.villeField
|
||||
End Get
|
||||
Set
|
||||
Me.villeField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property telephone() As String
|
||||
Get
|
||||
Return Me.telephoneField
|
||||
End Get
|
||||
Set
|
||||
Me.telephoneField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property fax() As String
|
||||
Get
|
||||
Return Me.faxField
|
||||
End Get
|
||||
Set
|
||||
Me.faxField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property email() As String
|
||||
Get
|
||||
Return Me.emailField
|
||||
End Get
|
||||
Set
|
||||
Me.emailField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=false)> _
|
||||
Partial Public Class produit
|
||||
|
||||
Private codeField As String
|
||||
|
||||
Private libelleField As String
|
||||
|
||||
Private lotsField As lots
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property code() As String
|
||||
Get
|
||||
Return Me.codeField
|
||||
End Get
|
||||
Set
|
||||
Me.codeField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute(DataType:="token")> _
|
||||
Public Property libelle() As String
|
||||
Get
|
||||
Return Me.libelleField
|
||||
End Get
|
||||
Set
|
||||
Me.libelleField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
Public Property lots() As lots
|
||||
Get
|
||||
Return Me.lotsField
|
||||
End Get
|
||||
Set
|
||||
Me.lotsField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=false)> _
|
||||
Partial Public Class lots
|
||||
|
||||
Private lotField() As lot
|
||||
|
||||
Private ensembleField As String
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute("lot")> _
|
||||
Public Property lot() As lot()
|
||||
Get
|
||||
Return Me.lotField
|
||||
End Get
|
||||
Set
|
||||
Me.lotField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlAttributeAttribute(DataType:="token")> _
|
||||
Public Property ensemble() As String
|
||||
Get
|
||||
Return Me.ensembleField
|
||||
End Get
|
||||
Set
|
||||
Me.ensembleField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=false)> _
|
||||
Partial Public Class lot
|
||||
|
||||
Private numField As String
|
||||
|
||||
Private perField As Date
|
||||
|
||||
Private perFieldSpecified As Boolean
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlAttributeAttribute(DataType:="token")> _
|
||||
Public Property num() As String
|
||||
Get
|
||||
Return Me.numField
|
||||
End Get
|
||||
Set
|
||||
Me.numField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlAttributeAttribute(DataType:="date")> _
|
||||
Public Property per() As Date
|
||||
Get
|
||||
Return Me.perField
|
||||
End Get
|
||||
Set
|
||||
Me.perField = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlIgnoreAttribute()> _
|
||||
Public Property perSpecified() As Boolean
|
||||
Get
|
||||
Return Me.perFieldSpecified
|
||||
End Get
|
||||
Set
|
||||
Me.perFieldSpecified = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=false)> _
|
||||
Partial Public Class alerteSuivante
|
||||
|
||||
Private hrefField As String
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlAttributeAttribute(DataType:="token")> _
|
||||
Public Property href() As String
|
||||
Get
|
||||
Return Me.hrefField
|
||||
End Get
|
||||
Set
|
||||
Me.hrefField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
'''<remarks/>
|
||||
<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3062.0"), _
|
||||
System.SerializableAttribute(), _
|
||||
System.Diagnostics.DebuggerStepThroughAttribute(), _
|
||||
System.ComponentModel.DesignerCategoryAttribute("code"), _
|
||||
System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=true, [Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte"), _
|
||||
System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://schemas.dossier-pharmaceutique.fr/alerte", IsNullable:=false)> _
|
||||
Partial Public Class produits
|
||||
|
||||
Private produitField() As produit
|
||||
|
||||
'''<remarks/>
|
||||
<System.Xml.Serialization.XmlElementAttribute("produit")> _
|
||||
Public Property produit() As produit()
|
||||
Get
|
||||
Return Me.produitField
|
||||
End Get
|
||||
Set
|
||||
Me.produitField = value
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
26
DP_Relay/WDExpress.sln
Normal file
26
DP_Relay/WDExpress.sln
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Express 2012 for Windows Desktop
|
||||
Project("{911E67C6-3D85-4FCE-B560-20A9C3E3FF48}") = "WDExpress", "..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\WDExpress.exe", "{4EFC579E-E91A-45E5-BAC8-3B5C5D3EA7CD}"
|
||||
ProjectSection(DebuggerProjectSystem) = preProject
|
||||
PortSupplier = 00000000-0000-0000-0000-000000000000
|
||||
Executable = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\WDExpress.exe
|
||||
RemoteMachine = JUJU_PORTABLE
|
||||
StartingDirectory = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE
|
||||
Environment = Par défaut
|
||||
LaunchingEngine = 00000000-0000-0000-0000-000000000000
|
||||
LaunchSQLEngine = No
|
||||
AttachLaunchAction = No
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{4EFC579E-E91A-45E5-BAC8-3B5C5D3EA7CD}.Debug|x86.ActiveCfg = Debug|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
614
LICENSE.md
Normal file
614
LICENSE.md
Normal file
@ -0,0 +1,614 @@
|
||||
# GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
<https://fsf.org/>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this
|
||||
license document, but changing it is not allowed.
|
||||
|
||||
## Preamble
|
||||
|
||||
The GNU Affero General Public License is a free, copyleft license for
|
||||
software and other kinds of works, specifically designed to ensure
|
||||
cooperation with the community in the case of network server software.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
our General Public Licenses are intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains
|
||||
free software for all its users.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
Developers that use our General Public Licenses protect your rights
|
||||
with two steps: (1) assert copyright on the software, and (2) offer
|
||||
you this License which gives you legal permission to copy, distribute
|
||||
and/or modify the software.
|
||||
|
||||
A secondary benefit of defending all users' freedom is that
|
||||
improvements made in alternate versions of the program, if they
|
||||
receive widespread use, become available for other developers to
|
||||
incorporate. Many developers of free software are heartened and
|
||||
encouraged by the resulting cooperation. However, in the case of
|
||||
software used on network servers, this result may fail to come about.
|
||||
The GNU General Public License permits making a modified version and
|
||||
letting the public access it on a server without ever releasing its
|
||||
source code to the public.
|
||||
|
||||
The GNU Affero General Public License is designed specifically to
|
||||
ensure that, in such cases, the modified source code becomes available
|
||||
to the community. It requires the operator of a network server to
|
||||
provide the source code of the modified version running there to the
|
||||
users of that server. Therefore, public use of a modified version, on
|
||||
a publicly accessible server, gives the public access to the source
|
||||
code of the modified version.
|
||||
|
||||
An older license, called the Affero General Public License and
|
||||
published by Affero, was designed to accomplish similar goals. This is
|
||||
a different license, not a version of the Affero GPL, but Affero has
|
||||
released a new version of the Affero GPL which permits relicensing
|
||||
under this license.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
## TERMS AND CONDITIONS
|
||||
|
||||
### 0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU Affero General Public
|
||||
License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds
|
||||
of works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of
|
||||
an exact copy. The resulting work is called a "modified version" of
|
||||
the earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user
|
||||
through a computer network, with no transfer of a copy, is not
|
||||
conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices" to
|
||||
the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
### 1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work for
|
||||
making modifications to it. "Object code" means any non-source form of
|
||||
a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users can
|
||||
regenerate automatically from other parts of the Corresponding Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that same
|
||||
work.
|
||||
|
||||
### 2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not convey,
|
||||
without conditions so long as your license otherwise remains in force.
|
||||
You may convey covered works to others for the sole purpose of having
|
||||
them make modifications exclusively for you, or provide you with
|
||||
facilities for running those works, provided that you comply with the
|
||||
terms of this License in conveying all material for which you do not
|
||||
control copyright. Those thus making or running the covered works for
|
||||
you must do so exclusively on your behalf, under your direction and
|
||||
control, on terms that prohibit them from making any copies of your
|
||||
copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under the
|
||||
conditions stated below. Sublicensing is not allowed; section 10 makes
|
||||
it unnecessary.
|
||||
|
||||
### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such
|
||||
circumvention is effected by exercising rights under this License with
|
||||
respect to the covered work, and you disclaim any intention to limit
|
||||
operation or modification of the work as a means of enforcing, against
|
||||
the work's users, your or third parties' legal rights to forbid
|
||||
circumvention of technological measures.
|
||||
|
||||
### 4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
### 5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these
|
||||
conditions:
|
||||
|
||||
- a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
- b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under
|
||||
section 7. This requirement modifies the requirement in section 4
|
||||
to "keep intact all notices".
|
||||
- c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
- d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
### 6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms of
|
||||
sections 4 and 5, provided that you also convey the machine-readable
|
||||
Corresponding Source under the terms of this License, in one of these
|
||||
ways:
|
||||
|
||||
- a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
- b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the Corresponding
|
||||
Source from a network server at no charge.
|
||||
- c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
- d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
- e) Convey the object code using peer-to-peer transmission,
|
||||
provided you inform other peers where the object code and
|
||||
Corresponding Source of the work are being offered to the general
|
||||
public at no charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal,
|
||||
family, or household purposes, or (2) anything designed or sold for
|
||||
incorporation into a dwelling. In determining whether a product is a
|
||||
consumer product, doubtful cases shall be resolved in favor of
|
||||
coverage. For a particular product received by a particular user,
|
||||
"normally used" refers to a typical or common use of that class of
|
||||
product, regardless of the status of the particular user or of the way
|
||||
in which the particular user actually uses, or expects or is expected
|
||||
to use, the product. A product is a consumer product regardless of
|
||||
whether the product has substantial commercial, industrial or
|
||||
non-consumer uses, unless such uses represent the only significant
|
||||
mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to
|
||||
install and execute modified versions of a covered work in that User
|
||||
Product from a modified version of its Corresponding Source. The
|
||||
information must suffice to ensure that the continued functioning of
|
||||
the modified object code is in no case prevented or interfered with
|
||||
solely because modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or
|
||||
updates for a work that has been modified or installed by the
|
||||
recipient, or for the User Product in which it has been modified or
|
||||
installed. Access to a network may be denied when the modification
|
||||
itself materially and adversely affects the operation of the network
|
||||
or violates the rules and protocols for communication across the
|
||||
network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
### 7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders
|
||||
of that material) supplement the terms of this License with terms:
|
||||
|
||||
- a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
- b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
- c) Prohibiting misrepresentation of the origin of that material,
|
||||
or requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
- d) Limiting the use for publicity purposes of names of licensors
|
||||
or authors of the material; or
|
||||
- e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
- f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions
|
||||
of it) with contractual assumptions of liability to the recipient,
|
||||
for any liability that these contractual assumptions directly
|
||||
impose on those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions; the
|
||||
above requirements apply either way.
|
||||
|
||||
### 8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your license
|
||||
from a particular copyright holder is reinstated (a) provisionally,
|
||||
unless and until the copyright holder explicitly and finally
|
||||
terminates your license, and (b) permanently, if the copyright holder
|
||||
fails to notify you of the violation by some reasonable means prior to
|
||||
60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
### 9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or run
|
||||
a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
### 10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
### 11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims owned
|
||||
or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within the
|
||||
scope of its coverage, prohibits the exercise of, or is conditioned on
|
||||
the non-exercise of one or more of the rights that are specifically
|
||||
granted under this License. You may not convey a covered work if you
|
||||
are a party to an arrangement with a third party that is in the
|
||||
business of distributing software, under which you make payment to the
|
||||
third party based on the extent of your activity of conveying the
|
||||
work, and under which the third party grants, to any of the parties
|
||||
who would receive the covered work from you, a discriminatory patent
|
||||
license (a) in connection with copies of the covered work conveyed by
|
||||
you (or copies made from those copies), or (b) primarily for and in
|
||||
connection with specific products or compilations that contain the
|
||||
covered work, unless you entered into that arrangement, or that patent
|
||||
license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
### 12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under
|
||||
this License and any other pertinent obligations, then as a
|
||||
consequence you may not convey it at all. For example, if you agree to
|
||||
terms that obligate you to collect a royalty for further conveying
|
||||
from those to whom you convey the Program, the only way you could
|
||||
satisfy both those terms and this License would be to refrain entirely
|
||||
from conveying the Program.
|
||||
|
||||
### 13. Remote Network Interaction; Use with the GNU General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, if you modify the
|
||||
Program, your modified version must prominently offer all users
|
||||
interacting with it remotely through a computer network (if your
|
||||
version supports such interaction) an opportunity to receive the
|
||||
Corresponding Source of your version by providing access to the
|
||||
Corresponding Source from a network server at no charge, through some
|
||||
standard or customary means of facilitating copying of software. This
|
||||
Corresponding Source shall include the Corresponding Source for any
|
||||
work covered by version 3 of the GNU General Public License that is
|
||||
incorporated pursuant to the following paragraph.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the work with which it is combined will remain governed by version
|
||||
3 of the GNU General Public License.
|
||||
|
||||
### 14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Affero General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies that a certain numbered version of the GNU Affero General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU Affero General Public License, you may choose any version ever
|
||||
published by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future versions
|
||||
of the GNU Affero General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
### 15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
|
||||
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
||||
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
|
||||
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
|
||||
CORRECTION.
|
||||
|
||||
### 16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
|
||||
CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
|
||||
ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
|
||||
NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
|
||||
LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
|
||||
TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
|
||||
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
### 17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
20
MyComboboxLib/MyComboboxLib.sln
Normal file
20
MyComboboxLib/MyComboboxLib.sln
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Express 2012 for Windows Desktop
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "MyComboboxLib", "MyComboboxLib\MyComboboxLib.vbproj", "{E357C4AC-283B-4A36-8E3E-FB9812D90F02}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E357C4AC-283B-4A36-8E3E-FB9812D90F02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E357C4AC-283B-4A36-8E3E-FB9812D90F02}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E357C4AC-283B-4A36-8E3E-FB9812D90F02}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E357C4AC-283B-4A36-8E3E-FB9812D90F02}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
22
MyComboboxLib/MyComboboxLib/App.config
Normal file
22
MyComboboxLib/MyComboboxLib/App.config
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
27
MyComboboxLib/MyComboboxLib/My Project/Application.Designer.vb
generated
Normal file
27
MyComboboxLib/MyComboboxLib/My Project/Application.Designer.vb
generated
Normal file
@ -0,0 +1,27 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
27
MyComboboxLib/MyComboboxLib/My Project/Application.myapp
Normal file
27
MyComboboxLib/MyComboboxLib/My Project/Application.myapp
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>true</MySubMain>
|
||||
<MainForm>Form1</MainForm>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<ApplicationType>0</ApplicationType>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
49
MyComboboxLib/MyComboboxLib/My Project/AssemblyInfo.vb
Normal file
49
MyComboboxLib/MyComboboxLib/My Project/AssemblyInfo.vb
Normal file
@ -0,0 +1,49 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' Les informations générales relatives à un assembly dépendent de
|
||||
' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
|
||||
' associées à un assembly.
|
||||
|
||||
' Passez en revue les valeurs des attributs de l'assembly
|
||||
|
||||
<Assembly: AssemblyTitle("MyComboboxLib")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("MyComboboxLib")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2017")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
|
||||
<Assembly: Guid("a6acb6ad-ddb2-4aca-9085-323b54f020f3")>
|
||||
|
||||
' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
|
||||
'
|
||||
' Version principale
|
||||
' Version secondaire
|
||||
' Numéro de build
|
||||
' Révision
|
||||
'
|
||||
' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
|
||||
' en utilisant '*', comme indiqué ci-dessous :
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
77
MyComboboxLib/MyComboboxLib/My Project/Resources.Designer.vb
generated
Normal file
77
MyComboboxLib/MyComboboxLib/My Project/Resources.Designer.vb
generated
Normal file
@ -0,0 +1,77 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
Imports System
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
'à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
'Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
'avec l'option /str ou régénérez votre projet VS.
|
||||
'''<summary>
|
||||
''' Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||
Friend Module Resources
|
||||
|
||||
Private resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
'''<summary>
|
||||
''' Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend 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("MyComboboxLib.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
''' les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
133
MyComboboxLib/MyComboboxLib/My Project/Resources.resx
Normal file
133
MyComboboxLib/MyComboboxLib/My Project/Resources.resx
Normal file
@ -0,0 +1,133 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
87
MyComboboxLib/MyComboboxLib/My Project/Settings.Designer.vb
generated
Normal file
87
MyComboboxLib/MyComboboxLib/My Project/Settings.Designer.vb
generated
Normal file
@ -0,0 +1,87 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
|
||||
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||
|
||||
#Region "Fonctionnalité Enregistrement automatique My.Settings"
|
||||
#If _MyType = "WindowsForms" Then
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
#End If
|
||||
#End Region
|
||||
|
||||
Public Shared ReadOnly Property [Default]() As MySettings
|
||||
Get
|
||||
|
||||
#If _MyType = "WindowsForms" Then
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
#End If
|
||||
Return defaultInstance
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Module MySettingsProperty
|
||||
|
||||
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||
Friend ReadOnly Property Settings() As Global.MyComboboxLib.My.MySettings
|
||||
Get
|
||||
Return Global.MyComboboxLib.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
7
MyComboboxLib/MyComboboxLib/My Project/Settings.settings
Normal file
7
MyComboboxLib/MyComboboxLib/My Project/Settings.settings
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
47
MyComboboxLib/MyComboboxLib/MyCombobox.Designer.vb
generated
Normal file
47
MyComboboxLib/MyComboboxLib/MyCombobox.Designer.vb
generated
Normal file
@ -0,0 +1,47 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class MyCombobox
|
||||
Inherits System.Windows.Forms.ComboBox
|
||||
|
||||
'UserControl remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'MyCombobox
|
||||
'
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
|
||||
End Class
|
139
MyComboboxLib/MyComboboxLib/MyCombobox.resx
Normal file
139
MyComboboxLib/MyComboboxLib/MyCombobox.resx
Normal file
@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
69
MyComboboxLib/MyComboboxLib/MyCombobox.vb
Normal file
69
MyComboboxLib/MyComboboxLib/MyCombobox.vb
Normal file
@ -0,0 +1,69 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Public Class MyCombobox
|
||||
Public Show_items_Form As Show_items
|
||||
Public Shared FlowLayoutPanel_nbr_lignes As Integer
|
||||
Public Shared MyCombobox_ScreenPos As Point
|
||||
Public Shared MyCombobox_size As Size
|
||||
Public Sub MyCombobox_Click(sender As Object, e As EventArgs) Handles Me.Click
|
||||
If Me.Items.Count = 0 Or Me.Items.Count > 20 Then
|
||||
Exit Sub
|
||||
End If
|
||||
FlowLayoutPanel_nbr_lignes = System.Math.Floor(System.Math.Sqrt(Me.Items.Count)) * 2
|
||||
|
||||
|
||||
|
||||
|
||||
MyCombobox_ScreenPos = Me.PointToScreen(New Point(0, 0))
|
||||
MyCombobox_size = Me.Size
|
||||
|
||||
Show_items_Form = New Show_items
|
||||
'Show_items_Form.BackColor = Me.BackColor
|
||||
Show_items_Form.Back_Button.BackColor = Me.BackColor
|
||||
Show_items_Form.Back_Button.ForeColor = Me.ForeColor
|
||||
Show_items_Form.FlowLayoutPanel1.BackColor = Me.BackColor
|
||||
For r = 0 To Me.Items.Count - 1
|
||||
Dim but As New Button
|
||||
but.Text = Me.Items.Item(r).ToString
|
||||
but.ForeColor = Me.ForeColor
|
||||
but.BackColor = Me.BackColor
|
||||
but.Size = New Size(200, 50)
|
||||
but.Padding = New Padding(1, 1, 1, 1)
|
||||
but.Margin = New Padding(0)
|
||||
but.FlatStyle = Windows.Forms.FlatStyle.Flat
|
||||
but.FlatAppearance.BorderSize = 1
|
||||
|
||||
'but.Font = Me.Font
|
||||
but.Font = New Font(Me.Font.FontFamily.ToString, 14)
|
||||
AddHandler but.Click, AddressOf butclik
|
||||
Show_items_Form.FlowLayoutPanel1.Controls.Add(but)
|
||||
Next
|
||||
AddHandler Show_items_Form.Back_Button.Click, AddressOf Back_Button_Click
|
||||
'Show_items_Form.Location = MyCombobox_ScreenPos
|
||||
Show_items_Form.Location = New Point(MyCombobox_ScreenPos.X + MyCombobox_size.Width, MyCombobox_ScreenPos.Y)
|
||||
'Show_items_Form.ShowDialog()
|
||||
Show_items_Form.Visible = True
|
||||
End Sub
|
||||
Public Sub butclik(sender As Object, e As EventArgs)
|
||||
Show_items_Form.Visible = False
|
||||
Me.Text = sender.Text
|
||||
Show_items_Form.Close()
|
||||
End Sub
|
||||
Private Sub Back_Button_Click(sender As Object, e As EventArgs)
|
||||
Show_items_Form.Visible = False
|
||||
Me.Text = ""
|
||||
Show_items_Form.Close()
|
||||
End Sub
|
||||
End Class
|
152
MyComboboxLib/MyComboboxLib/MyComboboxLib.vbproj
Normal file
152
MyComboboxLib/MyComboboxLib/MyComboboxLib.vbproj
Normal file
@ -0,0 +1,152 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{E357C4AC-283B-4A36-8E3E-FB9812D90F02}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<RootNamespace>MyComboboxLib</RootNamespace>
|
||||
<AssemblyName>MyComboboxLib</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>Windows</MyType>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DocumentationFile>MyComboboxLib.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>MyComboboxLib.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Drawing" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Windows.Forms" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
<Import Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Show_items.Designer.vb">
|
||||
<DependentUpon>Show_items.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Show_items.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||
<Compile Include="My Project\Application.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Resources.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<Compile Include="MyCombobox.Designer.vb">
|
||||
<DependentUpon>MyCombobox.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MyCombobox.vb">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Show_items.resx">
|
||||
<DependentUpon>Show_items.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MyCombobox.resx">
|
||||
<DependentUpon>MyCombobox.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
86
MyComboboxLib/MyComboboxLib/Show_items.Designer.vb
generated
Normal file
86
MyComboboxLib/MyComboboxLib/Show_items.Designer.vb
generated
Normal file
@ -0,0 +1,86 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class Show_items
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.FlowLayoutPanel1 = New System.Windows.Forms.FlowLayoutPanel()
|
||||
Me.Back_Button = New System.Windows.Forms.Button()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'FlowLayoutPanel1
|
||||
'
|
||||
Me.FlowLayoutPanel1.AutoSize = True
|
||||
Me.FlowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||
Me.FlowLayoutPanel1.BackColor = System.Drawing.Color.DimGray
|
||||
Me.FlowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown
|
||||
Me.FlowLayoutPanel1.Location = New System.Drawing.Point(50, 0)
|
||||
Me.FlowLayoutPanel1.Margin = New System.Windows.Forms.Padding(0)
|
||||
Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
|
||||
Me.FlowLayoutPanel1.Size = New System.Drawing.Size(0, 0)
|
||||
Me.FlowLayoutPanel1.TabIndex = 0
|
||||
'
|
||||
'Back_Button
|
||||
'
|
||||
Me.Back_Button.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.Back_Button.Font = New System.Drawing.Font("Wingdings 3", 27.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(2, Byte))
|
||||
Me.Back_Button.Location = New System.Drawing.Point(0, 0)
|
||||
Me.Back_Button.Name = "Back_Button"
|
||||
Me.Back_Button.Size = New System.Drawing.Size(50, 50)
|
||||
Me.Back_Button.TabIndex = 1
|
||||
Me.Back_Button.Text = "t"
|
||||
Me.Back_Button.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Show_items
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
|
||||
Me.ClientSize = New System.Drawing.Size(714, 261)
|
||||
Me.Controls.Add(Me.Back_Button)
|
||||
Me.Controls.Add(Me.FlowLayoutPanel1)
|
||||
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
|
||||
Me.Name = "Show_items"
|
||||
Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual
|
||||
Me.Text = "Form1"
|
||||
Me.TopMost = True
|
||||
Me.TransparencyKey = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents FlowLayoutPanel1 As System.Windows.Forms.FlowLayoutPanel
|
||||
Friend WithEvents Back_Button As System.Windows.Forms.Button
|
||||
End Class
|
136
MyComboboxLib/MyComboboxLib/Show_items.resx
Normal file
136
MyComboboxLib/MyComboboxLib/Show_items.resx
Normal file
@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<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>
|
||||
</root>
|
54
MyComboboxLib/MyComboboxLib/Show_items.vb
Normal file
54
MyComboboxLib/MyComboboxLib/Show_items.vb
Normal file
@ -0,0 +1,54 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Public Class Show_items
|
||||
|
||||
Private Sub FlowLayoutPanel1_ControlAdded(sender As Object, e As ControlEventArgs) Handles FlowLayoutPanel1.ControlAdded
|
||||
If FlowLayoutPanel1.Controls.Count Mod MyCombobox.FlowLayoutPanel_nbr_lignes = 0 Then
|
||||
'If FlowLayoutPanel1.Controls.Count = 3 Then
|
||||
FlowLayoutPanel1.SetFlowBreak(e.Control, True)
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
Private Sub FlowLayoutPanel1_SizeChanged(sender As Object, e As EventArgs) Handles FlowLayoutPanel1.SizeChanged
|
||||
Me.Size = New Size(FlowLayoutPanel1.Size.Width + Back_Button.Width, FlowLayoutPanel1.Height)
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
Private Sub Show_items_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||
|
||||
Dim Form_ScreenPos As Point = Me.PointToScreen(New Point(0, 0))
|
||||
If Form_ScreenPos.X + Me.Width > Screen.FromControl(Me).WorkingArea.Width Then
|
||||
Me.Location = New Point(Screen.FromControl(Me).WorkingArea.Width - Me.Width - (Screen.FromControl(Me).WorkingArea.Width - MyCombobox.MyCombobox_ScreenPos.X), Me.Location.Y)
|
||||
FlowLayoutPanel1.Location = New Point(0, 0)
|
||||
Back_Button.Location = New Point(Me.Width - 50, 0)
|
||||
Back_Button.Text = "u"
|
||||
End If
|
||||
If Me.Location.X < 0 Then
|
||||
Me.Location = New Point(0, Me.Location.Y)
|
||||
End If
|
||||
If Form_ScreenPos.Y + Me.Height > Screen.FromControl(Me).WorkingArea.Height Then
|
||||
Me.Location = New Point(Me.Location.X, Screen.FromControl(Me).WorkingArea.Height - Me.Height - (Screen.FromControl(Me).WorkingArea.Height - MyCombobox.MyCombobox_ScreenPos.Y) + MyCombobox.MyCombobox_size.Height)
|
||||
Back_Button.Location = New Point(Back_Button.Location.X, Me.Height - 50)
|
||||
End If
|
||||
If Me.Location.Y < 0 Then
|
||||
Me.Location = New Point(Me.Location.X, 0)
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
End Class
|
@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Express 2012 for Windows Desktop
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Officine_Database_Update_Script_Generator", "Officine_Database_Update_Script_Generator\Officine_Database_Update_Script_Generator.vbproj", "{13CA9EE4-F109-48B0-B20B-0A5F27C28FE5}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{13CA9EE4-F109-48B0-B20B-0A5F27C28FE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{13CA9EE4-F109-48B0-B20B-0A5F27C28FE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{13CA9EE4-F109-48B0-B20B-0A5F27C28FE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{13CA9EE4-F109-48B0-B20B-0A5F27C28FE5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<configuration>
|
||||
<configSections>
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="Officine_Database_Update_Script_Generator.My.MySettings.PharmaConnectionString"
|
||||
connectionString="Data Source=127.0.0.1\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345"
|
||||
providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
379
Officine_Database_Update_Script_Generator/Officine_Database_Update_Script_Generator/Form1.Designer.vb
generated
Normal file
379
Officine_Database_Update_Script_Generator/Officine_Database_Update_Script_Generator/Form1.Designer.vb
generated
Normal file
@ -0,0 +1,379 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class Form1
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.components = New System.ComponentModel.Container()
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1))
|
||||
Me.Button1 = New System.Windows.Forms.Button()
|
||||
Me.PharmaDataSet = New Officine_Database_Update_Script_Generator.PharmaDataSet()
|
||||
Me.TABLESBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||
Me.TABLESTableAdapter = New Officine_Database_Update_Script_Generator.PharmaDataSetTableAdapters.TABLESTableAdapter()
|
||||
Me.TableAdapterManager = New Officine_Database_Update_Script_Generator.PharmaDataSetTableAdapters.TableAdapterManager()
|
||||
Me.TABLESBindingNavigator = New System.Windows.Forms.BindingNavigator(Me.components)
|
||||
Me.BindingNavigatorAddNewItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorCountItem = New System.Windows.Forms.ToolStripLabel()
|
||||
Me.BindingNavigatorDeleteItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorMoveFirstItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorMovePreviousItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorSeparator = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.BindingNavigatorPositionItem = New System.Windows.Forms.ToolStripTextBox()
|
||||
Me.BindingNavigatorSeparator1 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.BindingNavigatorMoveNextItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorMoveLastItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.BindingNavigatorSeparator2 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.TABLESBindingNavigatorSaveItem = New System.Windows.Forms.ToolStripButton()
|
||||
Me.TABLESDataGridView = New System.Windows.Forms.DataGridView()
|
||||
Me.DataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn2 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn3 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.DataGridViewTextBoxColumn4 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.RichTextBox1 = New System.Windows.Forms.RichTextBox()
|
||||
CType(Me.PharmaDataSet, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TABLESBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.TABLESBindingNavigator, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.TABLESBindingNavigator.SuspendLayout()
|
||||
CType(Me.TABLESDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
Me.Button1.Location = New System.Drawing.Point(12, 28)
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.Size = New System.Drawing.Size(475, 23)
|
||||
Me.Button1.TabIndex = 0
|
||||
Me.Button1.Text = "Créer le script sql"
|
||||
Me.Button1.UseVisualStyleBackColor = True
|
||||
'
|
||||
'PharmaDataSet
|
||||
'
|
||||
Me.PharmaDataSet.DataSetName = "PharmaDataSet"
|
||||
Me.PharmaDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
|
||||
'
|
||||
'TABLESBindingSource
|
||||
'
|
||||
Me.TABLESBindingSource.DataMember = "TABLES"
|
||||
Me.TABLESBindingSource.DataSource = Me.PharmaDataSet
|
||||
'
|
||||
'TABLESTableAdapter
|
||||
'
|
||||
Me.TABLESTableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'TableAdapterManager
|
||||
'
|
||||
Me.TableAdapterManager.ActesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.AMC__Organismes_Contrat_Type_TableAdapter = Nothing
|
||||
Me.TableAdapterManager.AMC_Contrat_TypeTableAdapter = Nothing
|
||||
Me.TableAdapterManager.AMC_OrganismesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.AMOTableAdapter = Nothing
|
||||
Me.TableAdapterManager.AR_PTableAdapter = Nothing
|
||||
Me.TableAdapterManager.ARLTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Avances_ProduitTableAdapter = Nothing
|
||||
Me.TableAdapterManager.BackupDataSetBeforeUpdate = False
|
||||
Me.TableAdapterManager.BDM_CIPTableAdapter = Nothing
|
||||
Me.TableAdapterManager.BDM_interactionTableAdapter = Nothing
|
||||
Me.TableAdapterManager.BDM_médicaments_detournablesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.BDM_PrixTableAdapter = Nothing
|
||||
Me.TableAdapterManager.BDM_TFRTableAdapter = Nothing
|
||||
Me.TableAdapterManager.CDC_Table7TableAdapter = Nothing
|
||||
Me.TableAdapterManager.CEPS_DécisionsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.CEPS_mensuelTableAdapter = Nothing
|
||||
Me.TableAdapterManager.ChroniqueTableAdapter = Nothing
|
||||
Me.TableAdapterManager.CodePrestationsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Commandes_auto_senderTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Commandes_LignesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.CommandesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.compatibilités__codes_prestation__qualité_bénéficiaireTableAdapter = Nothing
|
||||
Me.TableAdapterManager.compatibilités_codes_prestation_nature_assuranceTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Connection = Nothing
|
||||
Me.TableAdapterManager.Convention_Table_ConventionsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Convention_Table_correspondanceTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Convention_Table_RegroupementsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.DP_ALERTE_PRODUITTableAdapter = Nothing
|
||||
Me.TableAdapterManager.DP_MsgTableAdapter = Nothing
|
||||
Me.TableAdapterManager.DP_ReqTableAdapter = Nothing
|
||||
Me.TableAdapterManager.DusTableAdapter = Nothing
|
||||
Me.TableAdapterManager.EncaissementsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Facture_DétailCodeCIPTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Facture_DétailLppTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Facture_LigneFactureTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Facture_VenteDirecteTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Factures_commerciales_lignesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Factures_commercialesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.FacturesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.FichiersSVTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Fournisseurs_CataloguesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.FournisseurTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Historique_ActionsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.InventaireTableAdapter = Nothing
|
||||
Me.TableAdapterManager.JEUX_D_ESSAI_AttestationsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.JEUX_D_ESSAI_LignesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.JEUX_D_ESSAITableAdapter = Nothing
|
||||
Me.TableAdapterManager.KitsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.LOI_DemandeTableAdapter = Nothing
|
||||
Me.TableAdapterManager.LotsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.LPPTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Messagerie_interneTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Ordonnancier_ListeI_ListeIITableAdapter = Nothing
|
||||
Me.TableAdapterManager.Ordonnancier_StupéfiantsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.OrganismesTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Pop_Allowed_ListTableAdapter = Nothing
|
||||
Me.TableAdapterManager.PrescripteursTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Produits_Achats_Temp_calcul_TVATableAdapter = Nothing
|
||||
Me.TableAdapterManager.Produits_AchatsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Produits_AliasTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Produits_ReservésTableAdapter = Nothing
|
||||
Me.TableAdapterManager.ProduitsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.PromotionsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.RSP_LIGNE_REJETTableAdapter = Nothing
|
||||
Me.TableAdapterManager.RSP_PaiementsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.SCOR_lotsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.SCOR_PJTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Service_RejetTableAdapter = Nothing
|
||||
Me.TableAdapterManager.SMTPTableAdapter = Nothing
|
||||
Me.TableAdapterManager.stock_iniTableAdapter = Nothing
|
||||
Me.TableAdapterManager.sysdiagramsTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Taux_CodeRégimeTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Taux_CodeSituationTableAdapter = Nothing
|
||||
Me.TableAdapterManager.Type_PaiementTableAdapter = Nothing
|
||||
Me.TableAdapterManager.UpdateOrder = Officine_Database_Update_Script_Generator.PharmaDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
||||
Me.TableAdapterManager.UsersTableAdapter = Nothing
|
||||
Me.TableAdapterManager.VitaleTableAdapter = Nothing
|
||||
'
|
||||
'TABLESBindingNavigator
|
||||
'
|
||||
Me.TABLESBindingNavigator.AddNewItem = Me.BindingNavigatorAddNewItem
|
||||
Me.TABLESBindingNavigator.BindingSource = Me.TABLESBindingSource
|
||||
Me.TABLESBindingNavigator.CountItem = Me.BindingNavigatorCountItem
|
||||
Me.TABLESBindingNavigator.DeleteItem = Me.BindingNavigatorDeleteItem
|
||||
Me.TABLESBindingNavigator.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.BindingNavigatorMoveFirstItem, Me.BindingNavigatorMovePreviousItem, Me.BindingNavigatorSeparator, Me.BindingNavigatorPositionItem, Me.BindingNavigatorCountItem, Me.BindingNavigatorSeparator1, Me.BindingNavigatorMoveNextItem, Me.BindingNavigatorMoveLastItem, Me.BindingNavigatorSeparator2, Me.BindingNavigatorAddNewItem, Me.BindingNavigatorDeleteItem, Me.TABLESBindingNavigatorSaveItem})
|
||||
Me.TABLESBindingNavigator.Location = New System.Drawing.Point(0, 0)
|
||||
Me.TABLESBindingNavigator.MoveFirstItem = Me.BindingNavigatorMoveFirstItem
|
||||
Me.TABLESBindingNavigator.MoveLastItem = Me.BindingNavigatorMoveLastItem
|
||||
Me.TABLESBindingNavigator.MoveNextItem = Me.BindingNavigatorMoveNextItem
|
||||
Me.TABLESBindingNavigator.MovePreviousItem = Me.BindingNavigatorMovePreviousItem
|
||||
Me.TABLESBindingNavigator.Name = "TABLESBindingNavigator"
|
||||
Me.TABLESBindingNavigator.PositionItem = Me.BindingNavigatorPositionItem
|
||||
Me.TABLESBindingNavigator.Size = New System.Drawing.Size(981, 25)
|
||||
Me.TABLESBindingNavigator.TabIndex = 1
|
||||
Me.TABLESBindingNavigator.Text = "BindingNavigator1"
|
||||
'
|
||||
'BindingNavigatorAddNewItem
|
||||
'
|
||||
Me.BindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorAddNewItem.Image = CType(resources.GetObject("BindingNavigatorAddNewItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorAddNewItem.Name = "BindingNavigatorAddNewItem"
|
||||
Me.BindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorAddNewItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorAddNewItem.Text = "Ajouter nouveau"
|
||||
'
|
||||
'BindingNavigatorCountItem
|
||||
'
|
||||
Me.BindingNavigatorCountItem.Name = "BindingNavigatorCountItem"
|
||||
Me.BindingNavigatorCountItem.Size = New System.Drawing.Size(37, 22)
|
||||
Me.BindingNavigatorCountItem.Text = "de {0}"
|
||||
Me.BindingNavigatorCountItem.ToolTipText = "Nombre total d'éléments"
|
||||
'
|
||||
'BindingNavigatorDeleteItem
|
||||
'
|
||||
Me.BindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorDeleteItem.Image = CType(resources.GetObject("BindingNavigatorDeleteItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorDeleteItem.Name = "BindingNavigatorDeleteItem"
|
||||
Me.BindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorDeleteItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorDeleteItem.Text = "Supprimer"
|
||||
'
|
||||
'BindingNavigatorMoveFirstItem
|
||||
'
|
||||
Me.BindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorMoveFirstItem.Image = CType(resources.GetObject("BindingNavigatorMoveFirstItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorMoveFirstItem.Name = "BindingNavigatorMoveFirstItem"
|
||||
Me.BindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorMoveFirstItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorMoveFirstItem.Text = "Placer en premier"
|
||||
'
|
||||
'BindingNavigatorMovePreviousItem
|
||||
'
|
||||
Me.BindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorMovePreviousItem.Image = CType(resources.GetObject("BindingNavigatorMovePreviousItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorMovePreviousItem.Name = "BindingNavigatorMovePreviousItem"
|
||||
Me.BindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorMovePreviousItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorMovePreviousItem.Text = "Déplacer vers le haut"
|
||||
'
|
||||
'BindingNavigatorSeparator
|
||||
'
|
||||
Me.BindingNavigatorSeparator.Name = "BindingNavigatorSeparator"
|
||||
Me.BindingNavigatorSeparator.Size = New System.Drawing.Size(6, 25)
|
||||
'
|
||||
'BindingNavigatorPositionItem
|
||||
'
|
||||
Me.BindingNavigatorPositionItem.AccessibleName = "Position"
|
||||
Me.BindingNavigatorPositionItem.AutoSize = False
|
||||
Me.BindingNavigatorPositionItem.Name = "BindingNavigatorPositionItem"
|
||||
Me.BindingNavigatorPositionItem.Size = New System.Drawing.Size(50, 23)
|
||||
Me.BindingNavigatorPositionItem.Text = "0"
|
||||
Me.BindingNavigatorPositionItem.ToolTipText = "Position actuelle"
|
||||
'
|
||||
'BindingNavigatorSeparator1
|
||||
'
|
||||
Me.BindingNavigatorSeparator1.Name = "BindingNavigatorSeparator1"
|
||||
Me.BindingNavigatorSeparator1.Size = New System.Drawing.Size(6, 25)
|
||||
'
|
||||
'BindingNavigatorMoveNextItem
|
||||
'
|
||||
Me.BindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorMoveNextItem.Image = CType(resources.GetObject("BindingNavigatorMoveNextItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorMoveNextItem.Name = "BindingNavigatorMoveNextItem"
|
||||
Me.BindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorMoveNextItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorMoveNextItem.Text = "Déplacer vers le bas"
|
||||
'
|
||||
'BindingNavigatorMoveLastItem
|
||||
'
|
||||
Me.BindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.BindingNavigatorMoveLastItem.Image = CType(resources.GetObject("BindingNavigatorMoveLastItem.Image"), System.Drawing.Image)
|
||||
Me.BindingNavigatorMoveLastItem.Name = "BindingNavigatorMoveLastItem"
|
||||
Me.BindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = True
|
||||
Me.BindingNavigatorMoveLastItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.BindingNavigatorMoveLastItem.Text = "Placer en dernier"
|
||||
'
|
||||
'BindingNavigatorSeparator2
|
||||
'
|
||||
Me.BindingNavigatorSeparator2.Name = "BindingNavigatorSeparator2"
|
||||
Me.BindingNavigatorSeparator2.Size = New System.Drawing.Size(6, 25)
|
||||
'
|
||||
'TABLESBindingNavigatorSaveItem
|
||||
'
|
||||
Me.TABLESBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.TABLESBindingNavigatorSaveItem.Enabled = False
|
||||
Me.TABLESBindingNavigatorSaveItem.Image = CType(resources.GetObject("TABLESBindingNavigatorSaveItem.Image"), System.Drawing.Image)
|
||||
Me.TABLESBindingNavigatorSaveItem.Name = "TABLESBindingNavigatorSaveItem"
|
||||
Me.TABLESBindingNavigatorSaveItem.Size = New System.Drawing.Size(23, 22)
|
||||
Me.TABLESBindingNavigatorSaveItem.Text = "Enregistrer les données"
|
||||
'
|
||||
'TABLESDataGridView
|
||||
'
|
||||
Me.TABLESDataGridView.AutoGenerateColumns = False
|
||||
Me.TABLESDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||
Me.TABLESDataGridView.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.DataGridViewTextBoxColumn1, Me.DataGridViewTextBoxColumn2, Me.DataGridViewTextBoxColumn3, Me.DataGridViewTextBoxColumn4})
|
||||
Me.TABLESDataGridView.DataSource = Me.TABLESBindingSource
|
||||
Me.TABLESDataGridView.Location = New System.Drawing.Point(12, 57)
|
||||
Me.TABLESDataGridView.Name = "TABLESDataGridView"
|
||||
Me.TABLESDataGridView.Size = New System.Drawing.Size(475, 501)
|
||||
Me.TABLESDataGridView.TabIndex = 2
|
||||
'
|
||||
'DataGridViewTextBoxColumn1
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn1.DataPropertyName = "TABLE_CATALOG"
|
||||
Me.DataGridViewTextBoxColumn1.HeaderText = "TABLE_CATALOG"
|
||||
Me.DataGridViewTextBoxColumn1.Name = "DataGridViewTextBoxColumn1"
|
||||
Me.DataGridViewTextBoxColumn1.ReadOnly = True
|
||||
'
|
||||
'DataGridViewTextBoxColumn2
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn2.DataPropertyName = "TABLE_SCHEMA"
|
||||
Me.DataGridViewTextBoxColumn2.HeaderText = "TABLE_SCHEMA"
|
||||
Me.DataGridViewTextBoxColumn2.Name = "DataGridViewTextBoxColumn2"
|
||||
'
|
||||
'DataGridViewTextBoxColumn3
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn3.DataPropertyName = "TABLE_NAME"
|
||||
Me.DataGridViewTextBoxColumn3.HeaderText = "TABLE_NAME"
|
||||
Me.DataGridViewTextBoxColumn3.Name = "DataGridViewTextBoxColumn3"
|
||||
'
|
||||
'DataGridViewTextBoxColumn4
|
||||
'
|
||||
Me.DataGridViewTextBoxColumn4.DataPropertyName = "TABLE_TYPE"
|
||||
Me.DataGridViewTextBoxColumn4.HeaderText = "TABLE_TYPE"
|
||||
Me.DataGridViewTextBoxColumn4.Name = "DataGridViewTextBoxColumn4"
|
||||
Me.DataGridViewTextBoxColumn4.ReadOnly = True
|
||||
'
|
||||
'RichTextBox1
|
||||
'
|
||||
Me.RichTextBox1.Location = New System.Drawing.Point(493, 57)
|
||||
Me.RichTextBox1.Name = "RichTextBox1"
|
||||
Me.RichTextBox1.Size = New System.Drawing.Size(475, 501)
|
||||
Me.RichTextBox1.TabIndex = 3
|
||||
Me.RichTextBox1.Text = ""
|
||||
'
|
||||
'Form1
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(981, 570)
|
||||
Me.Controls.Add(Me.RichTextBox1)
|
||||
Me.Controls.Add(Me.TABLESDataGridView)
|
||||
Me.Controls.Add(Me.TABLESBindingNavigator)
|
||||
Me.Controls.Add(Me.Button1)
|
||||
Me.Name = "Form1"
|
||||
Me.Text = "Form1"
|
||||
CType(Me.PharmaDataSet, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TABLESBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.TABLESBindingNavigator, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.TABLESBindingNavigator.ResumeLayout(False)
|
||||
Me.TABLESBindingNavigator.PerformLayout()
|
||||
CType(Me.TABLESDataGridView, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents Button1 As System.Windows.Forms.Button
|
||||
Friend WithEvents PharmaDataSet As Officine_Database_Update_Script_Generator.PharmaDataSet
|
||||
Friend WithEvents TABLESBindingSource As System.Windows.Forms.BindingSource
|
||||
Friend WithEvents TABLESTableAdapter As Officine_Database_Update_Script_Generator.PharmaDataSetTableAdapters.TABLESTableAdapter
|
||||
Friend WithEvents TableAdapterManager As Officine_Database_Update_Script_Generator.PharmaDataSetTableAdapters.TableAdapterManager
|
||||
Friend WithEvents TABLESBindingNavigator As System.Windows.Forms.BindingNavigator
|
||||
Friend WithEvents BindingNavigatorAddNewItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorCountItem As System.Windows.Forms.ToolStripLabel
|
||||
Friend WithEvents BindingNavigatorDeleteItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorMoveFirstItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorMovePreviousItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorSeparator As System.Windows.Forms.ToolStripSeparator
|
||||
Friend WithEvents BindingNavigatorPositionItem As System.Windows.Forms.ToolStripTextBox
|
||||
Friend WithEvents BindingNavigatorSeparator1 As System.Windows.Forms.ToolStripSeparator
|
||||
Friend WithEvents BindingNavigatorMoveNextItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorMoveLastItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents BindingNavigatorSeparator2 As System.Windows.Forms.ToolStripSeparator
|
||||
Friend WithEvents TABLESBindingNavigatorSaveItem As System.Windows.Forms.ToolStripButton
|
||||
Friend WithEvents TABLESDataGridView As System.Windows.Forms.DataGridView
|
||||
Friend WithEvents DataGridViewTextBoxColumn1 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn2 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn3 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents DataGridViewTextBoxColumn4 As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox
|
||||
|
||||
End Class
|
@ -0,0 +1,223 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="PharmaDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="TABLESBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>153, 17</value>
|
||||
</metadata>
|
||||
<metadata name="TABLESTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>324, 17</value>
|
||||
</metadata>
|
||||
<metadata name="TableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>489, 17</value>
|
||||
</metadata>
|
||||
<metadata name="TABLESBindingNavigator.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>662, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="BindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="BindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="TABLESBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAScnJzg+MP7j3CMLAai29raMA0hxQAQhhkC
|
||||
1U66ASBMtAHIGFkNbQ0gBo8aMCgNIAdDtVMCGBgATYr5V63/8EcAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
@ -0,0 +1,155 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System.Data.SqlClient$
|
||||
Imports System.IO
|
||||
Imports System.Text
|
||||
|
||||
Public Class Form1
|
||||
|
||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||
Button1.Text = "Création du script sql en cours"
|
||||
GO()
|
||||
Button1.Text = "Créer le script sql"
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||
'TODO: cette ligne de code charge les données dans la table 'PharmaDataSet._TABLES'. Vous pouvez la déplacer ou la supprimer selon vos besoins.
|
||||
Me.TABLESTableAdapter.Fill(Me.PharmaDataSet._TABLES)
|
||||
|
||||
End Sub
|
||||
Private Sub GO()
|
||||
If My.Computer.FileSystem.FileExists(Application.StartupPath & "\Officine.sql") Then
|
||||
My.Computer.FileSystem.DeleteFile(Application.StartupPath & "\Officine.sql")
|
||||
System.Threading.Thread.Sleep(2000)
|
||||
End If
|
||||
Dim sw As New StreamWriter(Application.StartupPath & "\Officine.sql", True, System.Text.Encoding.UTF8)
|
||||
System.Threading.Thread.Sleep(2000)
|
||||
sw.Write("IF NOT EXISTS (SELECT * FROM sys.databases WHERE name = N'Pharma')" & vbCrLf)
|
||||
sw.Write("BEGIN" & vbCrLf)
|
||||
sw.Write("CREATE DATABASE [Pharma]" & vbCrLf)
|
||||
sw.Write("END" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
sw.Write("USE [Pharma]" & vbCrLf)
|
||||
sw.Write("SET ANSI_NULLS ON" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
sw.Write("SET QUOTED_IDENTIFIER ON" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
|
||||
|
||||
sw.Write("IF NOT EXISTS(SELECT principal_id FROM sys.server_principals WHERE name = 'Test')" & vbCrLf)
|
||||
sw.Write("BEGIN" & vbCrLf)
|
||||
sw.Write("CREATE LOGIN Test WITH PASSWORD = 'Test12345'" & vbCrLf)
|
||||
sw.Write("END" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
sw.Write("IF NOT EXISTS(SELECT principal_id FROM sys.database_principals WHERE name = 'Test')" & vbCrLf)
|
||||
sw.Write("BEGIN" & vbCrLf)
|
||||
sw.Write("CREATE USER Test FOR LOGIN Test" & vbCrLf)
|
||||
sw.Write("END" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
sw.Write("BEGIN" & vbCrLf)
|
||||
sw.Write("ALTER LOGIN Test WITH DEFAULT_DATABASE = Pharma" & vbCrLf)
|
||||
sw.Write("EXEC sp_addrolemember 'db_datareader', 'Test'" & vbCrLf)
|
||||
sw.Write("EXEC sp_addrolemember 'db_datawriter', 'Test'" & vbCrLf)
|
||||
sw.Write("END" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
sw.Close()
|
||||
Dim tables = TABLESTableAdapter.GetData
|
||||
Dim i = 1
|
||||
For Each Tables_row As PharmaDataSet.TABLESRow In tables.Rows
|
||||
Button1.Text = "Création du script sql en cours " & i.ToString & "/" & tables.Count
|
||||
i = i + 1
|
||||
RichTextBox1.AppendText(vbCrLf & Tables_row.TABLE_NAME & vbCrLf)
|
||||
RichTextBox1.SelectionStart = RichTextBox1.Text.Length
|
||||
RichTextBox1.ScrollToCaret()
|
||||
Application.DoEvents()
|
||||
sw = New StreamWriter(Application.StartupPath & "\Officine.sql", True)
|
||||
If Tables_row.TABLE_TYPE = "BASE TABLE" Then
|
||||
Dim con As New SqlConnection(My.Settings.PharmaConnectionString)
|
||||
con.Open()
|
||||
Dim comm As New SqlCommand("Select * From [" & Tables_row.TABLE_NAME & "]", con)
|
||||
Dim reader As SqlDataReader = comm.ExecuteReader
|
||||
Dim table As New DataTable
|
||||
table.Load(reader)
|
||||
con.Close()
|
||||
sw.Write("IF NOT EXISTS (SELECT * FROM sysobjects WHERE name='" & Tables_row.TABLE_NAME & "' AND xtype='U')" & vbCrLf)
|
||||
sw.Write("CREATE TABLE [" & Tables_row.TABLE_NAME & "](temptemptemp nvarchar(1))" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
|
||||
For c = 0 To table.Columns.Count - 1
|
||||
con.Open()
|
||||
comm = New SqlCommand("SELECT DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '" & Tables_row.TABLE_NAME & "' AND COLUMN_NAME = '" & table.Columns.Item(c).ColumnName & "'", con)
|
||||
reader = comm.ExecuteReader
|
||||
Dim type_table As New DataTable
|
||||
type_table.Load(reader)
|
||||
Dim type As String = type_table(0).Item(0).ToString
|
||||
|
||||
comm = New SqlCommand("SELECT COLUMNPROPERTY( OBJECT_ID('" & Tables_row.TABLE_NAME & "'),'" & table.Columns.Item(c).ColumnName & "','Precision')AS 'precision'", con)
|
||||
reader = comm.ExecuteReader
|
||||
Dim precision_table As New DataTable
|
||||
precision_table.Load(reader)
|
||||
Dim precision As String = precision_table(0).Item(0).ToString
|
||||
|
||||
comm = New SqlCommand("SELECT COLUMNPROPERTY( OBJECT_ID('" & Tables_row.TABLE_NAME & "'),'" & table.Columns.Item(c).ColumnName & "','Scale')AS 'scale'", con)
|
||||
reader = comm.ExecuteReader
|
||||
Dim scale_table As New DataTable
|
||||
scale_table.Load(reader)
|
||||
Dim scale As String = ""
|
||||
If scale_table(0).Item(0) IsNot DBNull.Value Then
|
||||
scale = scale_table(0).Item(0).ToString()
|
||||
End If
|
||||
Dim fulltype As String = type
|
||||
If type = "nvarchar" Or type = "decimal" Or type = "numeric" Then
|
||||
|
||||
|
||||
If precision = "-1" Then
|
||||
fulltype = fulltype & "(MAX)"
|
||||
Else
|
||||
fulltype = fulltype & "(" & precision
|
||||
If scale <> "" Then
|
||||
fulltype = fulltype & "," & scale & ")"
|
||||
Else
|
||||
fulltype = fulltype & ")"
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
sw.Write("IF NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '" & Tables_row.TABLE_NAME & "'" & _
|
||||
" AND COLUMN_NAME = '" & table.Columns.Item(c).ColumnName & "')" & vbCrLf)
|
||||
sw.Write("BEGIN" & vbCrLf)
|
||||
|
||||
sw.Write("ALTER TABLE [" & Tables_row.TABLE_NAME & "] ADD [" & table.Columns.Item(c).ColumnName & "] " & fulltype & " NULL" & vbCrLf)
|
||||
sw.Write("END" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
con.Close()
|
||||
|
||||
Next
|
||||
|
||||
sw.Write("IF EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '" & Tables_row.TABLE_NAME & "'" & _
|
||||
" AND COLUMN_NAME = 'temptemptemp')" & vbCrLf)
|
||||
sw.Write("BEGIN" & vbCrLf)
|
||||
sw.Write("ALTER TABLE [" & Tables_row.TABLE_NAME & "] DROP COLUMN temptemptemp" & vbCrLf)
|
||||
sw.Write("END" & vbCrLf)
|
||||
sw.Write("GO" & vbCrLf)
|
||||
|
||||
End If
|
||||
sw.Close()
|
||||
Next
|
||||
RichTextBox1.AppendText("FIN" & vbCrLf)
|
||||
RichTextBox1.SelectionStart = RichTextBox1.Text.Length
|
||||
RichTextBox1.ScrollToCaret()
|
||||
End Sub
|
||||
End Class
|
@ -0,0 +1,52 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
'NOTE: This file is auto-generated; do not modify it directly. To make changes,
|
||||
' or if you encounter build errors in this file, go to the Project Designer
|
||||
' (go to Project Properties or double-click the My Project node in
|
||||
' Solution Explorer), and make changes on the Application tab.
|
||||
'
|
||||
Partial Friend Class MyApplication
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Public Sub New()
|
||||
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
|
||||
Me.IsSingleInstance = false
|
||||
Me.EnableVisualStyles = true
|
||||
Me.SaveMySettingsOnExit = true
|
||||
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
|
||||
End Sub
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Protected Overrides Sub OnCreateMainForm()
|
||||
Me.MainForm = Global.Officine_Database_Update_Script_Generator.Form1
|
||||
End Sub
|
||||
End Class
|
||||
End Namespace
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>true</MySubMain>
|
||||
<MainForm>Form1</MainForm>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<ApplicationType>0</ApplicationType>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
@ -0,0 +1,49 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' Les informations générales relatives à un assembly dépendent de
|
||||
' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
|
||||
' associées à un assembly.
|
||||
|
||||
' Passez en revue les valeurs des attributs de l'assembly
|
||||
|
||||
<Assembly: AssemblyTitle("Officine_Database_Update_Script_Generator")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("Officine_Database_Update_Script_Generator")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2017")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
|
||||
<Assembly: Guid("2680cfae-1e74-4a36-b828-97a078e13685")>
|
||||
|
||||
' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
|
||||
'
|
||||
' Version principale
|
||||
' Version secondaire
|
||||
' Numéro de build
|
||||
' Révision
|
||||
'
|
||||
' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
|
||||
' en utilisant '*', comme indiqué ci-dessous :
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
@ -0,0 +1,76 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
'class via a tool like ResGen or Visual Studio.
|
||||
'To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
'with the /str option, or rebuild your VS project.
|
||||
'''<summary>
|
||||
''' A strongly-typed resource class, for looking up localized strings, etc.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||
Friend Module Resources
|
||||
|
||||
Private resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
'''<summary>
|
||||
''' Returns the cached ResourceManager instance used by this class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend 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("Officine_Database_Update_Script_Generator.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Overrides the current thread's CurrentUICulture property for all
|
||||
''' resource lookups using this strongly typed resource class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set(ByVal value As Global.System.Globalization.CultureInfo)
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
@ -0,0 +1,133 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
@ -0,0 +1,98 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
|
||||
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||
|
||||
#Region "Fonctionnalité Enregistrement automatique My.Settings"
|
||||
#If _MyType = "WindowsForms" Then
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
#End If
|
||||
#End Region
|
||||
|
||||
Public Shared ReadOnly Property [Default]() As MySettings
|
||||
Get
|
||||
|
||||
#If _MyType = "WindowsForms" Then
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
#End If
|
||||
Return defaultInstance
|
||||
End Get
|
||||
End Property
|
||||
|
||||
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Configuration.SpecialSettingAttribute(Global.System.Configuration.SpecialSetting.ConnectionString), _
|
||||
Global.System.Configuration.DefaultSettingValueAttribute("Data Source=127.0.0.1\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=Tru"& _
|
||||
"e;User ID=Test;Password=Test12345")> _
|
||||
Public ReadOnly Property PharmaConnectionString() As String
|
||||
Get
|
||||
Return CType(Me("PharmaConnectionString"),String)
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Module MySettingsProperty
|
||||
|
||||
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||
Friend ReadOnly Property Settings() As Global.Officine_Database_Update_Script_Generator.My.MySettings
|
||||
Get
|
||||
Return Global.Officine_Database_Update_Script_Generator.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
@ -0,0 +1,14 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="PharmaConnectionString" Type="(Connection string)" Scope="Application">
|
||||
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConnectionString>Data Source=127.0.0.1\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345</ConnectionString>
|
||||
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||
</SerializableConnectionString></DesignTimeValue>
|
||||
<Value Profile="(Default)">Data Source=127.0.0.1\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
@ -0,0 +1,159 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{13CA9EE4-F109-48B0-B20B-0A5F27C28FE5}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<StartupObject>Officine_Database_Update_Script_Generator.My.MyApplication</StartupObject>
|
||||
<RootNamespace>Officine_Database_Update_Script_Generator</RootNamespace>
|
||||
<AssemblyName>Officine_Database_Update_Script_Generator</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>WindowsForms</MyType>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DocumentationFile>Officine_Database_Update_Script_Generator.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>Officine_Database_Update_Script_Generator.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Drawing" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Windows.Forms" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
<Import Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.vb">
|
||||
<DependentUpon>Form1.vb</DependentUpon>
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||
<Compile Include="My Project\Application.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Resources.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<Compile Include="PharmaDataSet.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>PharmaDataSet.xsd</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="App.config" />
|
||||
<None Include="PharmaDataSet.xsc">
|
||||
<DependentUpon>PharmaDataSet.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="PharmaDataSet.xsd">
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
<LastGenOutput>PharmaDataSet.Designer.vb</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="PharmaDataSet.xss">
|
||||
<DependentUpon>PharmaDataSet.xsd</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
114408
Officine_Database_Update_Script_Generator/Officine_Database_Update_Script_Generator/PharmaDataSet.Designer.vb
generated
Normal file
114408
Officine_Database_Update_Script_Generator/Officine_Database_Update_Script_Generator/PharmaDataSet.Designer.vb
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TableUISettings />
|
||||
</DataSetUISetting>
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool to store the dataset designer's layout information.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:Actes" ZOrder="90" X="70" Y="70" Height="305" Width="177" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AMC_(Organismes/Contrat_Type)" ZOrder="89" X="316" Y="70" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AMC_Contrat_Type" ZOrder="88" X="686" Y="70" Height="305" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AMC_Organismes" ZOrder="87" X="1011" Y="70" Height="172" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AMO" ZOrder="86" X="1327" Y="70" Height="191" Width="174" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:AR_P" ZOrder="85" X="1571" Y="70" Height="172" Width="174" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:ARL" ZOrder="84" X="1815" Y="70" Height="305" Width="167" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Avances_Produit" ZOrder="83" X="2052" Y="70" Height="305" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:BDM_CIP" ZOrder="82" X="2363" Y="70" Height="305" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:BDM_interaction" ZOrder="81" X="2631" Y="70" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:BDM_médicaments_detournables" ZOrder="80" X="2943" Y="70" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:BDM_Prix" ZOrder="79" X="3313" Y="70" Height="172" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:BDM_TFR" ZOrder="78" X="3584" Y="70" Height="134" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:CDC_Table7" ZOrder="77" X="3854" Y="70" Height="286" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:CEPS_Décisions" ZOrder="76" X="4137" Y="70" Height="153" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:CEPS_mensuel" ZOrder="75" X="4440" Y="70" Height="305" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Chronique" ZOrder="74" X="4737" Y="70" Height="305" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:CodePrestations" ZOrder="73" X="5012" Y="70" Height="191" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Commandes" ZOrder="72" X="5321" Y="70" Height="229" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Commandes_auto_sender" ZOrder="71" X="5607" Y="70" Height="134" Width="292" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Commandes_Lignes" ZOrder="70" X="5969" Y="70" Height="305" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:compatibilités_ codes_prestation_ qualité_bénéficiaire" ZOrder="69" X="6297" Y="70" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:compatibilités_codes_prestation_nature_assurance" ZOrder="68" X="6667" Y="70" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Convention_Table_Conventions" ZOrder="67" X="7037" Y="70" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Convention_Table_correspondance" ZOrder="66" X="7407" Y="70" Height="153" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Convention_Table_Regroupements" ZOrder="65" X="7777" Y="70" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:DP_ALERTE_PRODUIT" ZOrder="64" X="8147" Y="70" Height="153" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:DP_Msg" ZOrder="63" X="8486" Y="70" Height="305" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:DP_Req" ZOrder="62" X="8747" Y="70" Height="210" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:Dus" ZOrder="61" X="9006" Y="70" Height="305" Width="166" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Encaissements" ZOrder="60" X="9242" Y="70" Height="305" Width="261" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Facture_DétailCodeCIP" ZOrder="59" X="9573" Y="70" Height="305" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Facture_DétailLpp" ZOrder="58" X="9918" Y="70" Height="305" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Facture_LigneFacture" ZOrder="57" X="10236" Y="70" Height="305" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Facture_VenteDirecte" ZOrder="56" X="10573" Y="70" Height="191" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Factures" ZOrder="55" X="10911" Y="70" Height="305" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Factures_commerciales" ZOrder="54" X="11174" Y="70" Height="191" Width="277" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Factures_commerciales_lignes" ZOrder="53" X="11521" Y="70" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:FichiersSV" ZOrder="52" X="11891" Y="70" Height="191" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Fournisseur" ZOrder="51" X="12164" Y="70" Height="305" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Fournisseurs_Catalogues" ZOrder="50" X="12446" Y="70" Height="229" Width="286" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Historique_Actions" ZOrder="49" X="12802" Y="70" Height="153" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Inventaire" ZOrder="48" X="13126" Y="70" Height="248" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:JEUX_D_ESSAI" ZOrder="47" X="13399" Y="70" Height="305" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:JEUX_D_ESSAI_Attestations" ZOrder="46" X="13703" Y="70" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:JEUX_D_ESSAI_Lignes" ZOrder="45" X="14073" Y="70" Height="305" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Kits" ZOrder="44" X="14411" Y="70" Height="153" Width="166" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:LOI_Demande" ZOrder="43" X="14647" Y="70" Height="172" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Lots" ZOrder="42" X="14942" Y="70" Height="305" Width="168" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:LPP" ZOrder="41" X="15180" Y="70" Height="305" Width="192" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Messagerie_interne" ZOrder="40" X="15442" Y="70" Height="305" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Ordonnancier_ListeI_ListeII" ZOrder="39" X="15768" Y="70" Height="286" Width="299" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:Ordonnancier_Stupéfiants" ZOrder="38" X="16137" Y="70" Height="286" Width="295" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:Organismes" ZOrder="37" X="16502" Y="70" Height="153" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Pop_Allowed_List" ZOrder="36" X="16785" Y="70" Height="96" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:Prescripteurs" ZOrder="35" X="17100" Y="70" Height="248" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:Produits" ZOrder="34" X="17390" Y="70" Height="305" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Produits_Achats" ZOrder="33" X="17653" Y="70" Height="286" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:Produits_Achats_Temp_calcul_TVA" ZOrder="32" X="17960" Y="70" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Produits_Alias" ZOrder="31" X="18330" Y="70" Height="172" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Produits_Reservés" ZOrder="30" X="18626" Y="70" Height="267" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:Promotions" ZOrder="29" X="18945" Y="70" Height="267" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:RSP_LIGNE_REJET" ZOrder="28" X="19227" Y="70" Height="305" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RSP_Paiements" ZOrder="27" X="19544" Y="70" Height="305" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:SCOR_lots" ZOrder="26" X="19846" Y="70" Height="191" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:SCOR_PJ" ZOrder="25" X="20119" Y="70" Height="153" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Service/Rejet" ZOrder="24" X="20384" Y="70" Height="210" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:SMTP" ZOrder="23" X="20675" Y="70" Height="248" Width="178" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:stock_ini" ZOrder="22" X="20923" Y="70" Height="153" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:sysdiagrams" ZOrder="21" X="21188" Y="70" Height="172" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Taux/CodeRégime" ZOrder="20" X="21474" Y="70" Height="172" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Taux/CodeSituation" ZOrder="19" X="21796" Y="70" Height="172" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Type_Paiement" ZOrder="18" X="22126" Y="70" Height="96" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:Users" ZOrder="17" X="22428" Y="70" Height="134" Width="176" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Vitale" ZOrder="16" X="22674" Y="70" Height="305" Width="181" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TABLES" ZOrder="15" X="22925" Y="70" Height="153" Width="188" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Produits_Médicaments_Spécifique" ZOrder="14" X="23183" Y="70" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Caisse" ZOrder="13" X="23553" Y="70" Height="191" Width="180" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Chronique_Période" ZOrder="12" X="23803" Y="70" Height="172" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Colors" ZOrder="11" X="24127" Y="70" Height="134" Width="181" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Commandes_Rappels" ZOrder="10" X="24378" Y="70" Height="229" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Ordo" ZOrder="9" X="24715" Y="70" Height="305" Width="174" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Ordo_Delivrance_Produits_Lignes" ZOrder="8" X="24959" Y="70" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Ordo_Fichiers" ZOrder="7" X="25329" Y="70" Height="134" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Ordo_Produits_Lignes" ZOrder="6" X="25622" Y="70" Height="248" Width="270" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:PCB" ZOrder="5" X="25962" Y="70" Height="134" Width="168" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:PDA" ZOrder="4" X="26200" Y="70" Height="172" Width="170" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:PDA_Lignes" ZOrder="3" X="26440" Y="70" Height="305" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Plan_Poso" ZOrder="2" X="26722" Y="70" Height="305" Width="203" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:PDA_InfoCompl" ZOrder="1" X="26995" Y="70" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
20
Officine_Licences/Officine_Licences.sln
Normal file
20
Officine_Licences/Officine_Licences.sln
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Express 2012 for Windows Desktop
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Officine_Licences", "Officine_Licences\Officine_Licences.vbproj", "{DE34F46C-2BAB-4321-A4A8-32744AB48DFA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DE34F46C-2BAB-4321-A4A8-32744AB48DFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DE34F46C-2BAB-4321-A4A8-32744AB48DFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DE34F46C-2BAB-4321-A4A8-32744AB48DFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DE34F46C-2BAB-4321-A4A8-32744AB48DFA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
22
Officine_Licences/Officine_Licences/App.config
Normal file
22
Officine_Licences/Officine_Licences/App.config
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
121
Officine_Licences/Officine_Licences/Form1.Designer.vb
generated
Normal file
121
Officine_Licences/Officine_Licences/Form1.Designer.vb
generated
Normal file
@ -0,0 +1,121 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class Form1
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.TextBox1 = New System.Windows.Forms.TextBox()
|
||||
Me.Button1 = New System.Windows.Forms.Button()
|
||||
Me.RichTextBox1 = New System.Windows.Forms.RichTextBox()
|
||||
Me.DateTimePicker1 = New System.Windows.Forms.DateTimePicker()
|
||||
Me.Label1 = New System.Windows.Forms.Label()
|
||||
Me.Button2 = New System.Windows.Forms.Button()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'TextBox1
|
||||
'
|
||||
Me.TextBox1.Location = New System.Drawing.Point(56, 12)
|
||||
Me.TextBox1.Name = "TextBox1"
|
||||
Me.TextBox1.Size = New System.Drawing.Size(284, 20)
|
||||
Me.TextBox1.TabIndex = 0
|
||||
Me.TextBox1.Text = "N° d’identification de facturation du PS (G2C9)"
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
Me.Button1.Location = New System.Drawing.Point(56, 65)
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.Size = New System.Drawing.Size(83, 21)
|
||||
Me.Button1.TabIndex = 1
|
||||
Me.Button1.Text = "GO"
|
||||
Me.Button1.UseVisualStyleBackColor = True
|
||||
'
|
||||
'RichTextBox1
|
||||
'
|
||||
Me.RichTextBox1.Location = New System.Drawing.Point(12, 91)
|
||||
Me.RichTextBox1.Name = "RichTextBox1"
|
||||
Me.RichTextBox1.Size = New System.Drawing.Size(328, 308)
|
||||
Me.RichTextBox1.TabIndex = 2
|
||||
Me.RichTextBox1.Text = ""
|
||||
'
|
||||
'DateTimePicker1
|
||||
'
|
||||
Me.DateTimePicker1.Location = New System.Drawing.Point(56, 38)
|
||||
Me.DateTimePicker1.Name = "DateTimePicker1"
|
||||
Me.DateTimePicker1.Size = New System.Drawing.Size(284, 20)
|
||||
Me.DateTimePicker1.TabIndex = 3
|
||||
'
|
||||
'Label1
|
||||
'
|
||||
Me.Label1.AutoSize = True
|
||||
Me.Label1.Location = New System.Drawing.Point(12, 44)
|
||||
Me.Label1.Name = "Label1"
|
||||
Me.Label1.Size = New System.Drawing.Size(38, 13)
|
||||
Me.Label1.TabIndex = 4
|
||||
Me.Label1.Text = "expire:"
|
||||
'
|
||||
'Button2
|
||||
'
|
||||
Me.Button2.Location = New System.Drawing.Point(212, 65)
|
||||
Me.Button2.Name = "Button2"
|
||||
Me.Button2.Size = New System.Drawing.Size(128, 23)
|
||||
Me.Button2.TabIndex = 5
|
||||
Me.Button2.Text = "Verify signature"
|
||||
Me.Button2.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Form1
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(353, 411)
|
||||
Me.Controls.Add(Me.Button2)
|
||||
Me.Controls.Add(Me.Label1)
|
||||
Me.Controls.Add(Me.DateTimePicker1)
|
||||
Me.Controls.Add(Me.RichTextBox1)
|
||||
Me.Controls.Add(Me.Button1)
|
||||
Me.Controls.Add(Me.TextBox1)
|
||||
Me.Name = "Form1"
|
||||
Me.Text = "Form1"
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
|
||||
Friend WithEvents Button1 As System.Windows.Forms.Button
|
||||
Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox
|
||||
Friend WithEvents DateTimePicker1 As System.Windows.Forms.DateTimePicker
|
||||
Friend WithEvents Label1 As System.Windows.Forms.Label
|
||||
Friend WithEvents Button2 As System.Windows.Forms.Button
|
||||
|
||||
End Class
|
136
Officine_Licences/Officine_Licences/Form1.resx
Normal file
136
Officine_Licences/Officine_Licences/Form1.resx
Normal file
@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<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>
|
||||
</root>
|
173
Officine_Licences/Officine_Licences/Form1.vb
Normal file
173
Officine_Licences/Officine_Licences/Form1.vb
Normal file
@ -0,0 +1,173 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System.Security.Cryptography.X509Certificates
|
||||
Imports System.Text
|
||||
Imports System.Security.Cryptography.Pkcs
|
||||
Imports System.Xml
|
||||
Imports System
|
||||
Imports System.Security.Cryptography
|
||||
Imports System.Security.Cryptography.Xml
|
||||
Public Class Form1
|
||||
|
||||
|
||||
Public Sub ShellandWait(ByVal ProcessDirectory As String, ByVal ProcessName As String, ByVal arguments As String)
|
||||
Dim objProcess As System.Diagnostics.Process
|
||||
Try
|
||||
objProcess = New System.Diagnostics.Process()
|
||||
objProcess.StartInfo.FileName = ProcessName
|
||||
objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized
|
||||
objProcess.StartInfo.Arguments = arguments
|
||||
objProcess.StartInfo.WorkingDirectory = ProcessDirectory
|
||||
objProcess.Start()
|
||||
|
||||
'Wait until the process passes back an exit code
|
||||
objProcess.WaitForExit()
|
||||
|
||||
'Free resources associated with this process
|
||||
objProcess.Close()
|
||||
Catch ex As Exception
|
||||
MessageBox.Show(ex.Message, "Could not start process " & ProcessName)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Private Function Create_Certif(ByVal NumPharma As String) As Boolean
|
||||
RichTextBox1.AppendText("CREATION CERTIFICAT" & vbCrLf)
|
||||
Try
|
||||
ShellandWait(Application.StartupPath, "makecert.exe", Chr(34) & Application.StartupPath & "\Licences\" & NumPharma.ToString & ".public.cer" & Chr(34) & " -a sha1 -n " & Chr(34) & "CN=License Officine " & NumPharma.ToString & Chr(34) & " -ss My -sky signature -pe -len 2048")
|
||||
Catch ex As Exception
|
||||
RichTextBox1.AppendText("CREATION CERTIFICAT ECHOUEE" & vbCrLf & ex.Message & vbCrLf)
|
||||
Return False
|
||||
End Try
|
||||
Return True
|
||||
|
||||
End Function
|
||||
|
||||
Private Function Création_Fichier(ByVal NumPharma As String) As Boolean
|
||||
RichTextBox1.AppendText("CREATION FICHIER" & vbCrLf)
|
||||
Dim stringXML As String
|
||||
Try
|
||||
stringXML = "<?xml version=" + Chr(34) + "1.0" + Chr(34) + " encoding=" + Chr(34) + "UTF-8" + Chr(34) + "?>" + Chr(10) + _
|
||||
"<Licence>" + Chr(10) + _
|
||||
"<NumPharma>" + NumPharma + "</NumPharma>" + Chr(10) + _
|
||||
"<date_expiration>" + Format(DateTimePicker1.Value, "dd/MM/yyyy") + "</date_expiration>" + Chr(10) + _
|
||||
"</Licence>"
|
||||
Dim xmldoc As New XmlDocument
|
||||
xmldoc.LoadXml(stringXML)
|
||||
xmldoc.Save(Application.StartupPath & "\Licences\" & NumPharma.ToString & ".xml")
|
||||
SignXmlFile(Application.StartupPath & "\Licences\" & NumPharma.ToString & ".xml", Application.StartupPath & "\Licences\" & NumPharma.ToString & ".signed.xml", get_certif(NumPharma).PrivateKey)
|
||||
Catch ex As Exception
|
||||
RichTextBox1.AppendText("CREATION FICHIER ECHOUEE" & vbCrLf & ex.Message & vbCrLf)
|
||||
Return False
|
||||
End Try
|
||||
Return True
|
||||
End Function
|
||||
|
||||
Public Shared Sub SignXmlFile(FileName As String, SignedFileName As String, Key As RSA)
|
||||
' Create a new XML document.
|
||||
Dim doc As New XmlDocument()
|
||||
|
||||
' Load the passed XML file using its name.
|
||||
doc.Load(New XmlTextReader(FileName))
|
||||
|
||||
' Create a SignedXml object.
|
||||
Dim signedXml As New SignedXml(doc)
|
||||
|
||||
' Add the key to the SignedXml document.
|
||||
signedXml.SigningKey = Key
|
||||
|
||||
' Create a reference to be signed.
|
||||
Dim reference As New Reference()
|
||||
reference.Uri = ""
|
||||
|
||||
' Add an enveloped transformation to the reference.
|
||||
Dim env As New XmlDsigEnvelopedSignatureTransform()
|
||||
reference.AddTransform(env)
|
||||
|
||||
' Add the reference to the SignedXml object.
|
||||
signedXml.AddReference(reference)
|
||||
|
||||
' Compute the signature.
|
||||
signedXml.ComputeSignature()
|
||||
|
||||
' Get the XML representation of the signature and save
|
||||
' it to an XmlElement object.
|
||||
Dim xmlDigitalSignature As XmlElement = signedXml.GetXml()
|
||||
|
||||
' Append the element to the XML document.
|
||||
doc.DocumentElement.AppendChild(doc.ImportNode(xmlDigitalSignature, True))
|
||||
|
||||
If TypeOf doc.FirstChild Is XmlDeclaration Then
|
||||
doc.RemoveChild(doc.FirstChild)
|
||||
End If
|
||||
|
||||
' Save the signed XML document to a file specified
|
||||
' using the passed string.
|
||||
Dim xmltw As New XmlTextWriter(SignedFileName, New UTF8Encoding(False))
|
||||
doc.WriteTo(xmltw)
|
||||
xmltw.Close()
|
||||
End Sub
|
||||
Private Function get_certif(ByVal NumPharma) As X509Certificate2
|
||||
|
||||
Dim store As New X509Store(StoreLocation.CurrentUser)
|
||||
store.Open(OpenFlags.ReadOnly)
|
||||
Dim certCollection As X509Certificate2Collection = store.Certificates
|
||||
Dim certificate As X509Certificate2 = Nothing
|
||||
Dim c As X509Certificate2
|
||||
For Each c In certCollection
|
||||
If c.GetNameInfo(X509NameType.SimpleName, False) = "License Officine " & NumPharma.ToString Then
|
||||
certificate = c
|
||||
Exit For
|
||||
End If
|
||||
Next c
|
||||
store.Close()
|
||||
If certificate Is Nothing Then
|
||||
RichTextBox1.AppendText("OUVERTURE CERTIFICAT ECHOUEE" & vbCrLf)
|
||||
End If
|
||||
Return certificate
|
||||
End Function
|
||||
|
||||
Public Shared Function VerifyXmlFile(Name As [String], Key As RSA) As [Boolean]
|
||||
' Create a new XML document.
|
||||
Dim xmlDocument As New XmlDocument()
|
||||
|
||||
' Load the passed XML file into the document.
|
||||
xmlDocument.Load(Name)
|
||||
|
||||
' Create a new SignedXml object and pass it
|
||||
' the XML document class.
|
||||
Dim signedXml As New SignedXml(xmlDocument)
|
||||
|
||||
' Find the "Signature" node and create a new
|
||||
' XmlNodeList object.
|
||||
Dim nodeList As XmlNodeList = xmlDocument.GetElementsByTagName("Signature")
|
||||
|
||||
' Load the signature node.
|
||||
signedXml.LoadXml(CType(nodeList(0), XmlElement))
|
||||
|
||||
' Check the signature and return the result.
|
||||
Return signedXml.CheckSignature(Key)
|
||||
End Function
|
||||
|
||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||
RichTextBox1.Clear()
|
||||
If Create_Certif(TextBox1.Text) = False Then Exit Sub
|
||||
If Création_Fichier(TextBox1.Text) = False Then Exit Sub
|
||||
RichTextBox1.AppendText("LICENCE " & TextBox1.Text & " GENEREE" & vbCrLf)
|
||||
End Sub
|
||||
|
||||
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
|
||||
MsgBox(VerifyXmlFile(Application.StartupPath & "\Licences\" & TextBox1.Text.ToString & ".signed.xml", get_certif(TextBox1.Text).PublicKey.Key).ToString)
|
||||
End Sub
|
||||
End Class
|
52
Officine_Licences/Officine_Licences/My Project/Application.Designer.vb
generated
Normal file
52
Officine_Licences/Officine_Licences/My Project/Application.Designer.vb
generated
Normal file
@ -0,0 +1,52 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
'NOTE: This file is auto-generated; do not modify it directly. To make changes,
|
||||
' or if you encounter build errors in this file, go to the Project Designer
|
||||
' (go to Project Properties or double-click the My Project node in
|
||||
' Solution Explorer), and make changes on the Application tab.
|
||||
'
|
||||
Partial Friend Class MyApplication
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Public Sub New()
|
||||
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
|
||||
Me.IsSingleInstance = false
|
||||
Me.EnableVisualStyles = true
|
||||
Me.SaveMySettingsOnExit = true
|
||||
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
|
||||
End Sub
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Protected Overrides Sub OnCreateMainForm()
|
||||
Me.MainForm = Global.Officine_Licences.Form1
|
||||
End Sub
|
||||
End Class
|
||||
End Namespace
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>true</MySubMain>
|
||||
<MainForm>Form1</MainForm>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<ApplicationType>0</ApplicationType>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
@ -0,0 +1,49 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' Les informations générales relatives à un assembly dépendent de
|
||||
' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
|
||||
' associées à un assembly.
|
||||
|
||||
' Passez en revue les valeurs des attributs de l'assembly
|
||||
|
||||
<Assembly: AssemblyTitle("Officine_Licences")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("Officine_Licences")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2017")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
|
||||
<Assembly: Guid("fda9aa80-5ec2-4ec5-9212-414848e8395c")>
|
||||
|
||||
' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
|
||||
'
|
||||
' Version principale
|
||||
' Version secondaire
|
||||
' Numéro de build
|
||||
' Révision
|
||||
'
|
||||
' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
|
||||
' en utilisant '*', comme indiqué ci-dessous :
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
76
Officine_Licences/Officine_Licences/My Project/Resources.Designer.vb
generated
Normal file
76
Officine_Licences/Officine_Licences/My Project/Resources.Designer.vb
generated
Normal file
@ -0,0 +1,76 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
'class via a tool like ResGen or Visual Studio.
|
||||
'To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
'with the /str option, or rebuild your VS project.
|
||||
'''<summary>
|
||||
''' A strongly-typed resource class, for looking up localized strings, etc.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||
Friend Module Resources
|
||||
|
||||
Private resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
'''<summary>
|
||||
''' Returns the cached ResourceManager instance used by this class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend 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("Officine_Licences.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Overrides the current thread's CurrentUICulture property for all
|
||||
''' resource lookups using this strongly typed resource class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set(ByVal value As Global.System.Globalization.CultureInfo)
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
133
Officine_Licences/Officine_Licences/My Project/Resources.resx
Normal file
133
Officine_Licences/Officine_Licences/My Project/Resources.resx
Normal file
@ -0,0 +1,133 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
87
Officine_Licences/Officine_Licences/My Project/Settings.Designer.vb
generated
Normal file
87
Officine_Licences/Officine_Licences/My Project/Settings.Designer.vb
generated
Normal file
@ -0,0 +1,87 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
|
||||
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
|
||||
|
||||
#Region "My.Settings Auto-Save Functionality"
|
||||
#If _MyType = "WindowsForms" Then
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
#End If
|
||||
#End Region
|
||||
|
||||
Public Shared ReadOnly Property [Default]() As MySettings
|
||||
Get
|
||||
|
||||
#If _MyType = "WindowsForms" Then
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
#End If
|
||||
Return defaultInstance
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Module MySettingsProperty
|
||||
|
||||
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||
Friend ReadOnly Property Settings() As Global.Officine_Licences.My.MySettings
|
||||
Get
|
||||
Return Global.Officine_Licences.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
144
Officine_Licences/Officine_Licences/Officine_Licences.vbproj
Normal file
144
Officine_Licences/Officine_Licences/Officine_Licences.vbproj
Normal file
@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{DE34F46C-2BAB-4321-A4A8-32744AB48DFA}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<StartupObject>Officine_Licences.My.MyApplication</StartupObject>
|
||||
<RootNamespace>Officine_Licences</RootNamespace>
|
||||
<AssemblyName>Officine_Licences</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>WindowsForms</MyType>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DocumentationFile>Officine_Licences.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>Officine_Licences.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Drawing" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Windows.Forms" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
<Import Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.vb">
|
||||
<DependentUpon>Form1.vb</DependentUpon>
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||
<Compile Include="My Project\Application.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Resources.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
20
Officine_Maintenance/Officine_Maintenance.sln
Normal file
20
Officine_Maintenance/Officine_Maintenance.sln
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Express 2012 for Windows Desktop
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Officine_Maintenance", "Officine_Maintenance\Officine_Maintenance.vbproj", "{331C7AC8-2E3F-4470-8908-7F03EB99F338}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{331C7AC8-2E3F-4470-8908-7F03EB99F338}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{331C7AC8-2E3F-4470-8908-7F03EB99F338}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{331C7AC8-2E3F-4470-8908-7F03EB99F338}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{331C7AC8-2E3F-4470-8908-7F03EB99F338}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
29
Officine_Maintenance/Officine_Maintenance/App.config
Normal file
29
Officine_Maintenance/Officine_Maintenance/App.config
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<configuration>
|
||||
<configSections>
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="Officine_Maintenance.My.MySettings.PharmaConnectionString"
|
||||
connectionString="Data Source=JUJU_PORTABLE\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345"
|
||||
providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
75
Officine_Maintenance/Officine_Maintenance/BDD.Designer.vb
generated
Normal file
75
Officine_Maintenance/Officine_Maintenance/BDD.Designer.vb
generated
Normal file
@ -0,0 +1,75 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class BDD
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.ActesTableAdapter = New Officine_Maintenance.PharmaDataSetTableAdapters.ActesTableAdapter()
|
||||
Me.Ordonnancier_StupéfiantsTableAdapter = New Officine_Maintenance.PharmaDataSetTableAdapters.Ordonnancier_StupéfiantsTableAdapter()
|
||||
Me.Ordonnancier_ListeI_ListeIITableAdapter = New Officine_Maintenance.PharmaDataSetTableAdapters.Ordonnancier_ListeI_ListeIITableAdapter()
|
||||
Me.FacturesTableAdapter = New Officine_Maintenance.PharmaDataSetTableAdapters.FacturesTableAdapter()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'ActesTableAdapter
|
||||
'
|
||||
Me.ActesTableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'Ordonnancier_StupéfiantsTableAdapter
|
||||
'
|
||||
Me.Ordonnancier_StupéfiantsTableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'Ordonnancier_ListeI_ListeIITableAdapter
|
||||
'
|
||||
Me.Ordonnancier_ListeI_ListeIITableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'FacturesTableAdapter
|
||||
'
|
||||
Me.FacturesTableAdapter.ClearBeforeFill = True
|
||||
'
|
||||
'BDD
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(844, 469)
|
||||
Me.Name = "BDD"
|
||||
Me.Text = "BDD"
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
Friend WithEvents ActesTableAdapter As Officine_Maintenance.PharmaDataSetTableAdapters.ActesTableAdapter
|
||||
Friend WithEvents Ordonnancier_StupéfiantsTableAdapter As Officine_Maintenance.PharmaDataSetTableAdapters.Ordonnancier_StupéfiantsTableAdapter
|
||||
Friend WithEvents Ordonnancier_ListeI_ListeIITableAdapter As Officine_Maintenance.PharmaDataSetTableAdapters.Ordonnancier_ListeI_ListeIITableAdapter
|
||||
Friend WithEvents FacturesTableAdapter As Officine_Maintenance.PharmaDataSetTableAdapters.FacturesTableAdapter
|
||||
End Class
|
148
Officine_Maintenance/Officine_Maintenance/BDD.resx
Normal file
148
Officine_Maintenance/Officine_Maintenance/BDD.resx
Normal file
@ -0,0 +1,148 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="ActesTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="Ordonnancier_StupéfiantsTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>171, 17</value>
|
||||
</metadata>
|
||||
<metadata name="Ordonnancier_ListeI_ListeIITableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>437, 17</value>
|
||||
</metadata>
|
||||
<metadata name="FacturesTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>706, 17</value>
|
||||
</metadata>
|
||||
</root>
|
18
Officine_Maintenance/Officine_Maintenance/BDD.vb
Normal file
18
Officine_Maintenance/Officine_Maintenance/BDD.vb
Normal file
@ -0,0 +1,18 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Public Class BDD
|
||||
|
||||
|
||||
End Class
|
114
Officine_Maintenance/Officine_Maintenance/Config.vb
Normal file
114
Officine_Maintenance/Officine_Maintenance/Config.vb
Normal file
@ -0,0 +1,114 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System.Xml
|
||||
Public Class Config
|
||||
|
||||
|
||||
Public Sub load_config()
|
||||
Dim xmldoc = New XmlDocument
|
||||
xmldoc.Load(Application.StartupPath & "\Config.xml")
|
||||
Dim Config_Node = xmldoc.ChildNodes.Item(1)
|
||||
|
||||
For Each Item As XmlNode In Config_Node.ChildNodes
|
||||
If Item.Name = "Nettoyage_Fichiers" Then
|
||||
Nettoyage_Fichiers_Items = New List(Of Nettoyage_Fichier_Item_type)
|
||||
For r = 0 To Item.ChildNodes.Count - 1
|
||||
Dim data As XmlElement = Item.ChildNodes.Item(r)
|
||||
Dim Nettoyage_Fichier_Item As New Nettoyage_Fichier_Item_type
|
||||
Nettoyage_Fichier_Item.Rep = data.GetAttribute("Rep")
|
||||
Nettoyage_Fichier_Item.Fichiers = data.GetAttribute("Fichiers")
|
||||
Nettoyage_Fichier_Item.Jours = data.GetAttribute("Jours")
|
||||
Nettoyage_Fichiers_Items.Add(Nettoyage_Fichier_Item)
|
||||
Next
|
||||
|
||||
ElseIf Item.Name = "FTP" Then
|
||||
FTP.Serveur = Item.SelectSingleNode("Serveur").InnerText
|
||||
FTP.user = Item.SelectSingleNode("user").InnerText
|
||||
FTP.password = Item.SelectSingleNode("password").InnerText
|
||||
|
||||
ElseIf Item.Name = "CEPS" Then
|
||||
CEPS.CEPS_dir_IN = Item.SelectSingleNode("CEPS_dir_IN").InnerText
|
||||
CEPS.CEPS_dir_OUT = Item.SelectSingleNode("CEPS_dir_OUT").InnerText
|
||||
CEPS.CEPS_MENSUEL = Item.SelectSingleNode("CEPS_MENSUEL").InnerText
|
||||
CEPS.CEPS_Quotidien = Item.SelectSingleNode("CEPS_Quotidien").InnerText
|
||||
|
||||
ElseIf Item.Name = "LOI" Then
|
||||
LOI.LOI_version = Item.SelectSingleNode("LOI_version").InnerText
|
||||
LOI.LOI_dir_IN = Item.SelectSingleNode("LOI_dir_IN").InnerText
|
||||
LOI.LOI_dir_OUT = Item.SelectSingleNode("LOI_dir_OUT").InnerText
|
||||
|
||||
ElseIf Item.Name = "LPP" Then
|
||||
LPP.LPP_version = Item.SelectSingleNode("LPP_version").InnerText
|
||||
LPP.LPP_dir_IN = Item.SelectSingleNode("LPP_dir_IN").InnerText
|
||||
LPP.LPP_dir_OUT = Item.SelectSingleNode("LPP_dir_OUT").InnerText
|
||||
|
||||
ElseIf Item.Name = "EXE" Then
|
||||
EXE.EXE_version = Item.SelectSingleNode("EXE_version").InnerText
|
||||
EXE.EXE_dir_IN = Item.SelectSingleNode("EXE_dir_IN").InnerText
|
||||
EXE.EXE_dir_OUT = Item.SelectSingleNode("EXE_dir_OUT").InnerText
|
||||
EXE.OfficineLib_version = Item.SelectSingleNode("OfficineLib_version").InnerText
|
||||
End If
|
||||
Next
|
||||
|
||||
Dim Nettoyage_Fichiers_Node = Config_Node.ChildNodes.Item(0)
|
||||
End Sub
|
||||
|
||||
Public Sub update_config(ByVal section As String, ByVal item As String, ByVal value As String)
|
||||
Dim xmldoc = New XmlDocument
|
||||
xmldoc.Load(Application.StartupPath & "\Config.xml")
|
||||
Dim Config_Node = xmldoc.ChildNodes.Item(1)
|
||||
For Each section_node As XmlNode In Config_Node.ChildNodes
|
||||
If section_node.Name = section Then
|
||||
section_node.SelectSingleNode(item).InnerText = value
|
||||
Exit For
|
||||
End If
|
||||
Next
|
||||
xmldoc.Save(Application.StartupPath & "\Config.xml")
|
||||
load_config()
|
||||
End Sub
|
||||
|
||||
Public Structure Nettoyage_Fichier_Item_type
|
||||
Dim Rep As String
|
||||
Dim Fichiers As String
|
||||
Dim Jours As Integer
|
||||
End Structure
|
||||
Public Nettoyage_Fichiers_Items As List(Of Nettoyage_Fichier_Item_type)
|
||||
|
||||
Public Structure FTP_type
|
||||
Dim Serveur, user, password As String
|
||||
End Structure
|
||||
Public FTP As FTP_type
|
||||
|
||||
Public Structure CEPS_type
|
||||
Dim CEPS_dir_IN, CEPS_dir_OUT, CEPS_MENSUEL, CEPS_Quotidien As String
|
||||
End Structure
|
||||
Public CEPS As CEPS_type
|
||||
|
||||
Public Structure LOI_type
|
||||
Dim LOI_version, LOI_dir_IN, LOI_dir_OUT As String
|
||||
End Structure
|
||||
Public LOI As LOI_type
|
||||
|
||||
Public Structure LPP_type
|
||||
Dim LPP_version, LPP_dir_IN, LPP_dir_OUT As String
|
||||
End Structure
|
||||
Public LPP As LPP_type
|
||||
|
||||
Public Structure EXE_type
|
||||
Dim EXE_version, EXE_dir_IN, EXE_dir_OUT, OfficineLib_version As String
|
||||
|
||||
End Structure
|
||||
Public EXE As EXE_type
|
||||
End Class
|
74
Officine_Maintenance/Officine_Maintenance/FTP.Designer.vb
generated
Normal file
74
Officine_Maintenance/Officine_Maintenance/FTP.Designer.vb
generated
Normal file
@ -0,0 +1,74 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class FTP
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.RichTextBox1 = New System.Windows.Forms.RichTextBox()
|
||||
Me.Button1 = New System.Windows.Forms.Button()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'RichTextBox1
|
||||
'
|
||||
Me.RichTextBox1.Location = New System.Drawing.Point(12, 12)
|
||||
Me.RichTextBox1.Name = "RichTextBox1"
|
||||
Me.RichTextBox1.Size = New System.Drawing.Size(260, 237)
|
||||
Me.RichTextBox1.TabIndex = 0
|
||||
Me.RichTextBox1.Text = ""
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
Me.Button1.Location = New System.Drawing.Point(12, 260)
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.Size = New System.Drawing.Size(79, 23)
|
||||
Me.Button1.TabIndex = 1
|
||||
Me.Button1.Text = "Button1"
|
||||
Me.Button1.UseVisualStyleBackColor = True
|
||||
'
|
||||
'FTP
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(284, 295)
|
||||
Me.Controls.Add(Me.Button1)
|
||||
Me.Controls.Add(Me.RichTextBox1)
|
||||
Me.Name = "FTP"
|
||||
Me.Text = "FTP"
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox
|
||||
Friend WithEvents Button1 As System.Windows.Forms.Button
|
||||
End Class
|
136
Officine_Maintenance/Officine_Maintenance/FTP.resx
Normal file
136
Officine_Maintenance/Officine_Maintenance/FTP.resx
Normal file
@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<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>
|
||||
</root>
|
357
Officine_Maintenance/Officine_Maintenance/FTP.vb
Normal file
357
Officine_Maintenance/Officine_Maintenance/FTP.vb
Normal file
@ -0,0 +1,357 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System
|
||||
Imports System.IO
|
||||
Imports System.Net
|
||||
Imports System.Text
|
||||
Public Class FTP
|
||||
|
||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||
CEPS_upload()
|
||||
End Sub
|
||||
|
||||
Public Sub CEPS_upload()
|
||||
Try
|
||||
|
||||
|
||||
If Main.config.CEPS.CEPS_dir_IN = "" Or Main.config.CEPS.CEPS_dir_OUT = "" Then Exit Sub
|
||||
Dim files_to_download As New List(Of String)
|
||||
Dim DIR_request = FtpWebRequest.Create("ftp://" & Main.config.FTP.Serveur & Main.config.CEPS.CEPS_dir_IN)
|
||||
DIR_request.Credentials = New NetworkCredential(Main.config.FTP.user, Main.config.FTP.password)
|
||||
DIR_request.Method = WebRequestMethods.Ftp.ListDirectory
|
||||
Dim response As FtpWebResponse = DIR_request.GetResponse()
|
||||
Dim responseStream As Stream = response.GetResponseStream
|
||||
Using reader As New StreamReader(responseStream)
|
||||
Do While reader.Peek <> -1
|
||||
Dim file = reader.ReadLine
|
||||
RichTextBox1.AppendText(file & vbCrLf)
|
||||
Application.DoEvents()
|
||||
If InStr(file, "CEPS_mensuel") = 1 Then
|
||||
Dim download = False
|
||||
If Main.config.CEPS.CEPS_MENSUEL = "" Then
|
||||
download = True
|
||||
ElseIf (CDbl(Mid(file, 14, 6)) > CDbl(Mid(Main.config.CEPS.CEPS_MENSUEL, 14, 6))) Then
|
||||
download = True
|
||||
End If
|
||||
If download = True Then
|
||||
files_to_download.Add(file)
|
||||
End If
|
||||
|
||||
ElseIf InStr(file, "CEPS_quotidien") = 1 Then
|
||||
Dim download = False
|
||||
If Main.config.CEPS.CEPS_Quotidien = "" Then
|
||||
download = True
|
||||
ElseIf (CDbl(Mid(file, 16, 8)) > CDbl(Mid(Main.config.CEPS.CEPS_Quotidien, 16, 8))) Then
|
||||
download = True
|
||||
End If
|
||||
If download = True Then
|
||||
files_to_download.Add(file)
|
||||
End If
|
||||
End If
|
||||
Loop
|
||||
files_to_download.Sort()
|
||||
For r = 0 To files_to_download.Count - 1
|
||||
If FTPDownloadFile(Main.config.CEPS.CEPS_dir_OUT & "\" & files_to_download(r), "ftp://" & Main.config.FTP.Serveur & Main.config.CEPS.CEPS_dir_IN & "/" & _
|
||||
files_to_download(r), Main.config.FTP.user, Main.config.FTP.password) = True Then
|
||||
If InStr(files_to_download(r), "CEPS_mensuel") = 1 Then
|
||||
If Main.config.CEPS.CEPS_MENSUEL = "" Then
|
||||
Main.config.update_config("CEPS", "CEPS_MENSUEL", files_to_download(r))
|
||||
ElseIf (CDbl(Mid(files_to_download(r), 14, 6)) > CDbl(Mid(Main.config.CEPS.CEPS_MENSUEL, 14, 6))) Then
|
||||
Main.config.update_config("CEPS", "CEPS_MENSUEL", files_to_download(r))
|
||||
End If
|
||||
ElseIf InStr(files_to_download(r), "CEPS_quotidien") = 1 Then
|
||||
If Main.config.CEPS.CEPS_Quotidien = "" Then
|
||||
Main.config.update_config("CEPS", "CEPS_Quotidien", files_to_download(r))
|
||||
ElseIf (CDbl(Mid(files_to_download(r), 16, 8)) > CDbl(Mid(Main.config.CEPS.CEPS_Quotidien, 16, 8))) Then
|
||||
Main.config.update_config("CEPS", "CEPS_Quotidien", files_to_download(r))
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
End Using
|
||||
response.Close()
|
||||
Catch ex As Exception
|
||||
Main.log("failed: " & vbCrLf & ex.Message)
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
Private Sub FtpUploadFile(ByVal filetoupload As String, ByVal ftpuri As String, ByVal ftpusername As String, ByVal ftppassword As String)
|
||||
' Create a web request that will be used to talk with the server and set the request method to upload a file by ftp.
|
||||
Dim ftpRequest As FtpWebRequest = CType(WebRequest.Create(ftpuri), FtpWebRequest)
|
||||
Try
|
||||
ftpRequest.Method = WebRequestMethods.Ftp.UploadFile
|
||||
|
||||
' Confirm the Network credentials based on the user name and password passed in.
|
||||
ftpRequest.Credentials = New NetworkCredential(ftpusername, ftppassword)
|
||||
|
||||
' Read into a Byte array the contents of the file to be uploaded
|
||||
Dim bytes() As Byte = System.IO.File.ReadAllBytes(filetoupload)
|
||||
|
||||
' Transfer the byte array contents into the request stream, write and then close when done.
|
||||
ftpRequest.ContentLength = bytes.Length
|
||||
Using UploadStream As Stream = ftpRequest.GetRequestStream()
|
||||
UploadStream.Write(bytes, 0, bytes.Length)
|
||||
UploadStream.Close()
|
||||
End Using
|
||||
Catch ex As Exception
|
||||
MessageBox.Show(ex.Message)
|
||||
Exit Sub
|
||||
End Try
|
||||
|
||||
MessageBox.Show("Process Complete")
|
||||
End Sub
|
||||
|
||||
Private Function FTPDownloadFile(ByVal downloadpath As String, ByVal ftpuri As String, ByVal ftpusername As String, ByVal ftppassword As String) As Boolean
|
||||
'Create a WebClient.
|
||||
Dim request As New WebClient()
|
||||
|
||||
' Confirm the Network credentials based on the user name and password passed in.
|
||||
request.Credentials = New NetworkCredential(ftpusername, ftppassword)
|
||||
|
||||
'Read the file data into a Byte array
|
||||
Dim bytes() As Byte = request.DownloadData(ftpuri)
|
||||
|
||||
Try
|
||||
' Create a FileStream to read the file into
|
||||
Dim DownloadStream As FileStream = IO.File.Create(downloadpath)
|
||||
' Stream this data into the file
|
||||
DownloadStream.Write(bytes, 0, bytes.Length)
|
||||
' Close the FileStream
|
||||
DownloadStream.Close()
|
||||
|
||||
Catch ex As Exception
|
||||
Main.log("failed: " & ftpuri & vbCrLf & ex.Message)
|
||||
Return False
|
||||
End Try
|
||||
Main.log("download: " & ftpuri)
|
||||
Return True
|
||||
End Function
|
||||
|
||||
Public Sub LOI_upload()
|
||||
Try
|
||||
|
||||
|
||||
If Main.config.LOI.LOI_dir_IN = "" Or Main.config.LOI.LOI_dir_OUT = "" Then Exit Sub
|
||||
Dim files_to_download As New List(Of String)
|
||||
Dim DIR_request = FtpWebRequest.Create("ftp://" & Main.config.FTP.Serveur & Main.config.LOI.LOI_dir_IN)
|
||||
DIR_request.Credentials = New NetworkCredential(Main.config.FTP.user, Main.config.FTP.password)
|
||||
DIR_request.Method = WebRequestMethods.Ftp.ListDirectory
|
||||
Dim response As FtpWebResponse = DIR_request.GetResponse()
|
||||
Dim responseStream As Stream = response.GetResponseStream
|
||||
Using reader As New StreamReader(responseStream)
|
||||
Do While reader.Peek <> -1
|
||||
Dim file = reader.ReadLine
|
||||
If file <> "." And file <> ".." Then
|
||||
files_to_download.Add(file)
|
||||
End If
|
||||
|
||||
Loop
|
||||
files_to_download.Sort()
|
||||
Dim version_online = CDec(Mid(files_to_download(files_to_download.Count - 1), 1, InStr(files_to_download(files_to_download.Count - 1), ".") - 1))
|
||||
Dim download = False
|
||||
If Main.config.LOI.LOI_version = "" Then
|
||||
download = True
|
||||
ElseIf version_online > CDec(Main.config.LOI.LOI_version) Then
|
||||
download = True
|
||||
End If
|
||||
If download = True Then
|
||||
If FTPDownloadFile(Main.config.LOI.LOI_dir_OUT & "\" & files_to_download(files_to_download.Count - 1), "ftp://" & Main.config.FTP.Serveur & Main.config.LOI.LOI_dir_IN & "/" & _
|
||||
files_to_download(files_to_download.Count - 1), Main.config.FTP.user, Main.config.FTP.password) = True Then
|
||||
If InStr(files_to_download(files_to_download.Count - 1), ".gz") <> 0 Then
|
||||
ShellandWait("c:\gzip", "gzip.exe", "-d -q " & Main.config.LOI.LOI_dir_OUT & "\" & files_to_download(files_to_download.Count - 1))
|
||||
End If
|
||||
If My.Computer.FileSystem.FileExists(Main.config.LOI.LOI_dir_OUT & "\loi.loi") Then
|
||||
My.Computer.FileSystem.DeleteFile(Main.config.LOI.LOI_dir_OUT & "\loi.loi")
|
||||
End If
|
||||
My.Computer.FileSystem.RenameFile(Main.config.LOI.LOI_dir_OUT & "\" & version_online.ToString & ".loi", "loi.loi")
|
||||
|
||||
Main.config.update_config("LOI", "LOI_version", version_online.ToString)
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
|
||||
End Using
|
||||
response.Close()
|
||||
Catch ex As Exception
|
||||
Main.log("failed: " & vbCrLf & ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Public Sub LPP_upload()
|
||||
Try
|
||||
|
||||
|
||||
If Main.config.LPP.LPP_dir_IN = "" Or Main.config.LPP.LPP_dir_OUT = "" Then Exit Sub
|
||||
Dim files_to_download As New List(Of String)
|
||||
Dim DIR_request = FtpWebRequest.Create("ftp://" & Main.config.FTP.Serveur & Main.config.LPP.LPP_dir_IN)
|
||||
DIR_request.Credentials = New NetworkCredential(Main.config.FTP.user, Main.config.FTP.password)
|
||||
DIR_request.Method = WebRequestMethods.Ftp.ListDirectory
|
||||
Dim response As FtpWebResponse = DIR_request.GetResponse()
|
||||
Dim responseStream As Stream = response.GetResponseStream
|
||||
Using reader As New StreamReader(responseStream)
|
||||
Do While reader.Peek <> -1
|
||||
Dim file = reader.ReadLine
|
||||
If file <> "." And file <> ".." Then
|
||||
files_to_download.Add(file)
|
||||
End If
|
||||
|
||||
Loop
|
||||
files_to_download.Sort()
|
||||
Dim version_online = CDec(Mid(files_to_download(files_to_download.Count - 1), 7, InStr(files_to_download(files_to_download.Count - 1), ".") - 7))
|
||||
Dim download = False
|
||||
If Main.config.LPP.LPP_version = "" Then
|
||||
download = True
|
||||
ElseIf version_online > CDec(Main.config.LPP.LPP_version) Then
|
||||
download = True
|
||||
End If
|
||||
If download = True Then
|
||||
If FTPDownloadFile(Main.config.LPP.LPP_dir_OUT & "\" & files_to_download(files_to_download.Count - 1), "ftp://" & Main.config.FTP.Serveur & Main.config.LPP.LPP_dir_IN & "/" & _
|
||||
files_to_download(files_to_download.Count - 1), Main.config.FTP.user, Main.config.FTP.password) = True Then
|
||||
My.Computer.FileSystem.RenameFile(Main.config.LPP.LPP_dir_OUT & "\" & files_to_download(files_to_download.Count - 1), Mid(files_to_download(files_to_download.Count - 1), 1, InStr(files_to_download(files_to_download.Count - 1), ".")) & "gz")
|
||||
ShellandWait("c:\gzip", "gzip.exe", "-d -q " & Main.config.LPP.LPP_dir_OUT & "\" & Mid(files_to_download(files_to_download.Count - 1), 1, InStr(files_to_download(files_to_download.Count - 1), ".")) & "gz")
|
||||
Main.config.update_config("LPP", "LPP_version", version_online.ToString)
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
|
||||
End Using
|
||||
response.Close()
|
||||
Catch ex As Exception
|
||||
Main.log("failed: " & vbCrLf & ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Public Sub ShellandWait(ByVal ProcessDirectory As String, ByVal ProcessName As String, ByVal arguments As String)
|
||||
Dim objProcess As System.Diagnostics.Process
|
||||
Try
|
||||
objProcess = New System.Diagnostics.Process()
|
||||
objProcess.StartInfo.FileName = ProcessName
|
||||
objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
|
||||
'objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized
|
||||
objProcess.StartInfo.Arguments = arguments
|
||||
objProcess.StartInfo.WorkingDirectory = ProcessDirectory
|
||||
objProcess.Start()
|
||||
|
||||
'Wait until the process passes back an exit code
|
||||
objProcess.WaitForExit()
|
||||
|
||||
'Free resources associated with this process
|
||||
objProcess.Close()
|
||||
Catch ex As Exception
|
||||
Main.log("failed: " & vbCrLf & ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Public Sub officine_exe_upload()
|
||||
Try
|
||||
|
||||
|
||||
For Each p As Process In Process.GetProcesses
|
||||
If String.Compare(p.ProcessName, "pharma-gestion", True) = 0 Then
|
||||
Exit Sub
|
||||
End If
|
||||
Next
|
||||
Dim request = FtpWebRequest.Create("ftp://" & Main.config.FTP.Serveur & Main.config.EXE.EXE_dir_IN & "/officine.exe")
|
||||
request.Credentials = New NetworkCredential(Main.config.FTP.user, Main.config.FTP.password)
|
||||
request.Method = WebRequestMethods.Ftp.GetDateTimestamp
|
||||
Dim response As FtpWebResponse = request.GetResponse
|
||||
Dim new_version = response.LastModified.ToString
|
||||
If new_version = Main.config.EXE.EXE_version Then Exit Sub
|
||||
|
||||
|
||||
If FTPDownloadFile(Main.config.EXE.EXE_dir_OUT & "\officine.exe", "ftp://" & Main.config.FTP.Serveur & Main.config.EXE.EXE_dir_IN & "/officine.exe", Main.config.FTP.user, Main.config.FTP.password) = True Then
|
||||
Main.config.update_config("EXE", "EXE_version", new_version)
|
||||
End If
|
||||
|
||||
response.Close()
|
||||
Catch ex As Exception
|
||||
Main.log("failed: " & vbCrLf & ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Public Sub OfficineLib_dll__upload()
|
||||
Try
|
||||
|
||||
|
||||
For Each p As Process In Process.GetProcesses
|
||||
If String.Compare(p.ProcessName, "pharma-gestion", True) = 0 Then
|
||||
Exit Sub
|
||||
End If
|
||||
Next
|
||||
Dim request = FtpWebRequest.Create("ftp://" & Main.config.FTP.Serveur & Main.config.EXE.EXE_dir_IN & "/OfficineLib.dll")
|
||||
request.Credentials = New NetworkCredential(Main.config.FTP.user, Main.config.FTP.password)
|
||||
request.Method = WebRequestMethods.Ftp.GetDateTimestamp
|
||||
Dim response As FtpWebResponse = request.GetResponse
|
||||
Dim new_version = response.LastModified.ToString
|
||||
If new_version = Main.config.EXE.OfficineLib_version Then Exit Sub
|
||||
|
||||
|
||||
If FTPDownloadFile(Main.config.EXE.EXE_dir_OUT & "\OfficineLib.dll", "ftp://" & Main.config.FTP.Serveur & Main.config.EXE.EXE_dir_IN & "/OfficineLib.dll", Main.config.FTP.user, Main.config.FTP.password) = True Then
|
||||
Main.config.update_config("EXE", "OfficineLib_version", new_version)
|
||||
End If
|
||||
|
||||
response.Close()
|
||||
Catch ex As Exception
|
||||
Main.log("failed: " & vbCrLf & ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Public Sub Officine_ScriptSQL_upload()
|
||||
|
||||
Try
|
||||
|
||||
|
||||
For Each p As Process In Process.GetProcesses
|
||||
If String.Compare(p.ProcessName, "pharma-gestion", True) = 0 Then
|
||||
Exit Sub
|
||||
End If
|
||||
Next
|
||||
Dim request = FtpWebRequest.Create("ftp://" & Main.config.FTP.Serveur & Main.config.EXE.EXE_dir_IN & "/Officine.sql")
|
||||
request.Credentials = New NetworkCredential(Main.config.FTP.user, Main.config.FTP.password)
|
||||
request.Method = WebRequestMethods.Ftp.GetDateTimestamp
|
||||
Dim response As FtpWebResponse = request.GetResponse
|
||||
|
||||
|
||||
If FTPDownloadFile(Application.StartupPath & "\Officine.sql", "ftp://" & Main.config.FTP.Serveur & Main.config.EXE.EXE_dir_IN & "/Officine.sql", Main.config.FTP.user, Main.config.FTP.password) = True Then
|
||||
Main.NotifyIcon1.Text = "Mise à jour base de données"
|
||||
System.Threading.Thread.Sleep(3000)
|
||||
Dim Process = New Process()
|
||||
Process.StartInfo.UseShellExecute = False
|
||||
Process.StartInfo.RedirectStandardOutput = True
|
||||
Process.StartInfo.RedirectStandardError = True
|
||||
Process.StartInfo.CreateNoWindow = True
|
||||
Process.StartInfo.FileName = "SQLCMD.EXE"
|
||||
Process.StartInfo.Arguments = "-S " & My.Computer.Name & "\SQLEXPRESS -i " & Application.StartupPath & "\Officine.sql -o out.log"
|
||||
Process.StartInfo.WorkingDirectory = Application.StartupPath
|
||||
Process.StartInfo.CreateNoWindow = True
|
||||
|
||||
Process.Start()
|
||||
Process.WaitForExit()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
End If
|
||||
|
||||
response.Close()
|
||||
Catch ex As Exception
|
||||
MsgBox(ex.Message)
|
||||
Main.log("failed: " & vbCrLf & ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
End Class
|
91
Officine_Maintenance/Officine_Maintenance/Main.Designer.vb
generated
Normal file
91
Officine_Maintenance/Officine_Maintenance/Main.Designer.vb
generated
Normal file
@ -0,0 +1,91 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class Main
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.components = New System.ComponentModel.Container()
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Main))
|
||||
Me.Nettoyage_Fichiers_LinkLabel = New System.Windows.Forms.LinkLabel()
|
||||
Me.LinkLabel1 = New System.Windows.Forms.LinkLabel()
|
||||
Me.NotifyIcon1 = New System.Windows.Forms.NotifyIcon(Me.components)
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'Nettoyage_Fichiers_LinkLabel
|
||||
'
|
||||
Me.Nettoyage_Fichiers_LinkLabel.AutoSize = True
|
||||
Me.Nettoyage_Fichiers_LinkLabel.Location = New System.Drawing.Point(12, 34)
|
||||
Me.Nettoyage_Fichiers_LinkLabel.Name = "Nettoyage_Fichiers_LinkLabel"
|
||||
Me.Nettoyage_Fichiers_LinkLabel.Size = New System.Drawing.Size(95, 13)
|
||||
Me.Nettoyage_Fichiers_LinkLabel.TabIndex = 0
|
||||
Me.Nettoyage_Fichiers_LinkLabel.TabStop = True
|
||||
Me.Nettoyage_Fichiers_LinkLabel.Text = "Nettoyage Fichiers"
|
||||
'
|
||||
'LinkLabel1
|
||||
'
|
||||
Me.LinkLabel1.AutoSize = True
|
||||
Me.LinkLabel1.Location = New System.Drawing.Point(12, 9)
|
||||
Me.LinkLabel1.Name = "LinkLabel1"
|
||||
Me.LinkLabel1.Size = New System.Drawing.Size(27, 13)
|
||||
Me.LinkLabel1.TabIndex = 1
|
||||
Me.LinkLabel1.TabStop = True
|
||||
Me.LinkLabel1.Text = "FTP"
|
||||
'
|
||||
'NotifyIcon1
|
||||
'
|
||||
Me.NotifyIcon1.Icon = CType(resources.GetObject("NotifyIcon1.Icon"), System.Drawing.Icon)
|
||||
Me.NotifyIcon1.Text = "Officine, telechargements en cours..."
|
||||
Me.NotifyIcon1.Visible = True
|
||||
'
|
||||
'Main
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(201, 73)
|
||||
Me.Controls.Add(Me.LinkLabel1)
|
||||
Me.Controls.Add(Me.Nettoyage_Fichiers_LinkLabel)
|
||||
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
|
||||
Me.MaximizeBox = False
|
||||
Me.Name = "Main"
|
||||
Me.ShowInTaskbar = False
|
||||
Me.Text = "Main"
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents Nettoyage_Fichiers_LinkLabel As System.Windows.Forms.LinkLabel
|
||||
Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel
|
||||
Friend WithEvents NotifyIcon1 As System.Windows.Forms.NotifyIcon
|
||||
End Class
|
4651
Officine_Maintenance/Officine_Maintenance/Main.resx
Normal file
4651
Officine_Maintenance/Officine_Maintenance/Main.resx
Normal file
File diff suppressed because it is too large
Load Diff
85
Officine_Maintenance/Officine_Maintenance/Main.vb
Normal file
85
Officine_Maintenance/Officine_Maintenance/Main.vb
Normal file
@ -0,0 +1,85 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System.Xml
|
||||
|
||||
Public Class Main
|
||||
|
||||
Public config As Config
|
||||
|
||||
Private Sub Main_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||
|
||||
Me.WindowState = FormWindowState.Minimized
|
||||
|
||||
config = New Config
|
||||
config.load_config()
|
||||
|
||||
|
||||
Nettoyage_Fichiers.Suppression_fichiers_affichage()
|
||||
Application.DoEvents()
|
||||
Dim arguments As String() = Environment.GetCommandLineArgs()
|
||||
Nettoyage_Fichiers.Suppression_fichiers_Action()
|
||||
FTP.CEPS_upload()
|
||||
FTP.LOI_upload()
|
||||
FTP.LPP_upload()
|
||||
FTP.officine_exe_upload()
|
||||
FTP.OfficineLib_dll__upload()
|
||||
FTP.Officine_ScriptSQL_upload()
|
||||
Me.Close()
|
||||
End Sub
|
||||
|
||||
Private Sub Nettoyage_Fichiers_LinkLabel_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles Nettoyage_Fichiers_LinkLabel.LinkClicked
|
||||
Nettoyage_Fichiers.Visible = True
|
||||
End Sub
|
||||
Public Sub writelog(ByVal txt As String)
|
||||
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "\" & Format(Now, "yyyyMMdd") & "_log.txt", Chr(10) & txt & Chr(10), True)
|
||||
End Sub
|
||||
|
||||
Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
|
||||
FTP.Visible = True
|
||||
End Sub
|
||||
|
||||
Public Sub log(ByVal texte As String)
|
||||
Try
|
||||
|
||||
|
||||
My.Computer.FileSystem.WriteAllText(Application.StartupPath + "\maintenance.log", Now.ToString & vbCrLf & _
|
||||
(New System.Diagnostics.StackTrace).GetFrame(1).GetMethod.Name & vbCrLf & _
|
||||
texte & vbCrLf & "------------------------------------------------" & vbCrLf, True)
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
Private Sub Button1_Click(sender As Object, e As EventArgs)
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub Main_Resize(sender As Object, e As EventArgs) Handles Me.Resize
|
||||
If Me.WindowState = FormWindowState.Minimized Then
|
||||
NotifyIcon1.Visible = True
|
||||
Me.Opacity = 0
|
||||
Else
|
||||
NotifyIcon1.Visible = False
|
||||
Me.Opacity = 100
|
||||
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub NotifyIcon1_Click(sender As Object, e As EventArgs) Handles NotifyIcon1.Click
|
||||
Me.WindowState = FormWindowState.Normal
|
||||
End Sub
|
||||
End Class
|
52
Officine_Maintenance/Officine_Maintenance/My Project/Application.Designer.vb
generated
Normal file
52
Officine_Maintenance/Officine_Maintenance/My Project/Application.Designer.vb
generated
Normal file
@ -0,0 +1,52 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
'REMARQUE : ce fichier étant généré automatiquement, ne le modifiez pas directement. Pour apporter des modifications,
|
||||
' ou si vous rencontrez des erreurs de build dans ce fichier, accédez au Concepteur de projets
|
||||
' (allez dans les propriétés du projet ou double-cliquez sur le noeud My project dans
|
||||
' l'Explorateur de solutions), puis apportez vos modifications sous l'onglet Application.
|
||||
'
|
||||
Partial Friend Class MyApplication
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Public Sub New()
|
||||
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
|
||||
Me.IsSingleInstance = false
|
||||
Me.EnableVisualStyles = true
|
||||
Me.SaveMySettingsOnExit = true
|
||||
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
|
||||
End Sub
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Protected Overrides Sub OnCreateMainForm()
|
||||
Me.MainForm = Global.Officine_Maintenance.Main
|
||||
End Sub
|
||||
End Class
|
||||
End Namespace
|
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>true</MySubMain>
|
||||
<MainForm>Main</MainForm>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
@ -0,0 +1,49 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' Les informations générales relatives à un assembly dépendent de
|
||||
' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
|
||||
' associées à un assembly.
|
||||
|
||||
' Passez en revue les valeurs des attributs de l'assembly
|
||||
|
||||
<Assembly: AssemblyTitle("Officine_Maintenance")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("Officine_Maintenance")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2017")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
|
||||
<Assembly: Guid("a7a37b7e-e6ce-406f-bcbc-b48767c35f29")>
|
||||
|
||||
' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
|
||||
'
|
||||
' Version principale
|
||||
' Version secondaire
|
||||
' Numéro de build
|
||||
' Révision
|
||||
'
|
||||
' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
|
||||
' en utilisant '*', comme indiqué ci-dessous :
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
76
Officine_Maintenance/Officine_Maintenance/My Project/Resources.Designer.vb
generated
Normal file
76
Officine_Maintenance/Officine_Maintenance/My Project/Resources.Designer.vb
generated
Normal file
@ -0,0 +1,76 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:4.0.30319.42000
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
'class via a tool like ResGen or Visual Studio.
|
||||
'To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
'with the /str option, or rebuild your VS project.
|
||||
'''<summary>
|
||||
''' A strongly-typed resource class, for looking up localized strings, etc.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||
Friend Module Resources
|
||||
|
||||
Private resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
'''<summary>
|
||||
''' Returns the cached ResourceManager instance used by this class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend 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("Officine_Maintenance.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Overrides the current thread's CurrentUICulture property for all
|
||||
''' resource lookups using this strongly typed resource class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set(ByVal value As Global.System.Globalization.CultureInfo)
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
@ -0,0 +1,133 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
98
Officine_Maintenance/Officine_Maintenance/My Project/Settings.Designer.vb
generated
Normal file
98
Officine_Maintenance/Officine_Maintenance/My Project/Settings.Designer.vb
generated
Normal file
@ -0,0 +1,98 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Ce code a été généré par un outil.
|
||||
' Version du runtime :4.0.30319.42000
|
||||
'
|
||||
' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
' le code est régénéré.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
|
||||
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||
|
||||
#Region "Fonctionnalité Enregistrement automatique My.Settings"
|
||||
#If _MyType = "WindowsForms" Then
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
#End If
|
||||
#End Region
|
||||
|
||||
Public Shared ReadOnly Property [Default]() As MySettings
|
||||
Get
|
||||
|
||||
#If _MyType = "WindowsForms" Then
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
#End If
|
||||
Return defaultInstance
|
||||
End Get
|
||||
End Property
|
||||
|
||||
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Configuration.SpecialSettingAttribute(Global.System.Configuration.SpecialSetting.ConnectionString), _
|
||||
Global.System.Configuration.DefaultSettingValueAttribute("Data Source=JUJU_PORTABLE\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info"& _
|
||||
"=True;User ID=Test;Password=Test12345")> _
|
||||
Public ReadOnly Property PharmaConnectionString() As String
|
||||
Get
|
||||
Return CType(Me("PharmaConnectionString"),String)
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Module MySettingsProperty
|
||||
|
||||
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||
Friend ReadOnly Property Settings() As Global.Officine_Maintenance.My.MySettings
|
||||
Get
|
||||
Return Global.Officine_Maintenance.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
@ -0,0 +1,14 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="PharmaConnectionString" Type="(Connection string)" Scope="Application">
|
||||
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConnectionString>Data Source=JUJU_PORTABLE\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345</ConnectionString>
|
||||
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||
</SerializableConnectionString></DesignTimeValue>
|
||||
<Value Profile="(Default)">Data Source=JUJU_PORTABLE\SQLEXPRESS;Initial Catalog=Pharma;Persist Security Info=True;User ID=Test;Password=Test12345</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
115
Officine_Maintenance/Officine_Maintenance/Nettoyage_Fichiers.Designer.vb
generated
Normal file
115
Officine_Maintenance/Officine_Maintenance/Nettoyage_Fichiers.Designer.vb
generated
Normal file
@ -0,0 +1,115 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class Nettoyage_Fichiers
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.Suppression_fichiers_DataGridView = New System.Windows.Forms.DataGridView()
|
||||
Me.Suppression_fichiers_Repertoire = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.Suppression_fichiers_Fichiers = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.Suppression_fichiers_Jours = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.Label1 = New System.Windows.Forms.Label()
|
||||
Me.Suppression_fichiers_Go_Button = New System.Windows.Forms.Button()
|
||||
CType(Me.Suppression_fichiers_DataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'Suppression_fichiers_DataGridView
|
||||
'
|
||||
Me.Suppression_fichiers_DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||
Me.Suppression_fichiers_DataGridView.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.Suppression_fichiers_Repertoire, Me.Suppression_fichiers_Fichiers, Me.Suppression_fichiers_Jours})
|
||||
Me.Suppression_fichiers_DataGridView.Location = New System.Drawing.Point(12, 12)
|
||||
Me.Suppression_fichiers_DataGridView.Name = "Suppression_fichiers_DataGridView"
|
||||
Me.Suppression_fichiers_DataGridView.Size = New System.Drawing.Size(425, 150)
|
||||
Me.Suppression_fichiers_DataGridView.TabIndex = 0
|
||||
'
|
||||
'Suppression_fichiers_Repertoire
|
||||
'
|
||||
Me.Suppression_fichiers_Repertoire.HeaderText = "Repertoire"
|
||||
Me.Suppression_fichiers_Repertoire.Name = "Suppression_fichiers_Repertoire"
|
||||
Me.Suppression_fichiers_Repertoire.Width = 200
|
||||
'
|
||||
'Suppression_fichiers_Fichiers
|
||||
'
|
||||
Me.Suppression_fichiers_Fichiers.HeaderText = "Fichiers"
|
||||
Me.Suppression_fichiers_Fichiers.Name = "Suppression_fichiers_Fichiers"
|
||||
'
|
||||
'Suppression_fichiers_Jours
|
||||
'
|
||||
Me.Suppression_fichiers_Jours.HeaderText = "Garder jours"
|
||||
Me.Suppression_fichiers_Jours.Name = "Suppression_fichiers_Jours"
|
||||
Me.Suppression_fichiers_Jours.Width = 50
|
||||
'
|
||||
'Label1
|
||||
'
|
||||
Me.Label1.AutoSize = True
|
||||
Me.Label1.Location = New System.Drawing.Point(9, 194)
|
||||
Me.Label1.Name = "Label1"
|
||||
Me.Label1.Size = New System.Drawing.Size(39, 13)
|
||||
Me.Label1.TabIndex = 6
|
||||
Me.Label1.Text = "Label1"
|
||||
'
|
||||
'Suppression_fichiers_Go_Button
|
||||
'
|
||||
Me.Suppression_fichiers_Go_Button.Location = New System.Drawing.Point(12, 168)
|
||||
Me.Suppression_fichiers_Go_Button.Name = "Suppression_fichiers_Go_Button"
|
||||
Me.Suppression_fichiers_Go_Button.Size = New System.Drawing.Size(75, 23)
|
||||
Me.Suppression_fichiers_Go_Button.TabIndex = 7
|
||||
Me.Suppression_fichiers_Go_Button.Text = "Go"
|
||||
Me.Suppression_fichiers_Go_Button.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Nettoyage_Fichiers
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(447, 231)
|
||||
Me.Controls.Add(Me.Suppression_fichiers_Go_Button)
|
||||
Me.Controls.Add(Me.Label1)
|
||||
Me.Controls.Add(Me.Suppression_fichiers_DataGridView)
|
||||
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
|
||||
Me.Name = "Nettoyage_Fichiers"
|
||||
Me.Text = "Officine Maintenance"
|
||||
CType(Me.Suppression_fichiers_DataGridView, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents Suppression_fichiers_DataGridView As System.Windows.Forms.DataGridView
|
||||
Friend WithEvents Suppression_fichiers_Repertoire As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents Suppression_fichiers_Fichiers As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents Suppression_fichiers_Jours As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents Label1 As System.Windows.Forms.Label
|
||||
Friend WithEvents Suppression_fichiers_Go_Button As System.Windows.Forms.Button
|
||||
|
||||
End Class
|
@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="Suppression_fichiers_Repertoire.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Suppression_fichiers_Fichiers.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Suppression_fichiers_Jours.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
@ -0,0 +1,72 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Imports System.Xml
|
||||
Public Class Nettoyage_Fichiers
|
||||
|
||||
|
||||
|
||||
Public Sub Suppression_fichiers_affichage()
|
||||
Suppression_fichiers_DataGridView.Rows.Clear()
|
||||
For r = 1 To Main.config.Nettoyage_Fichiers_Items.Count
|
||||
Suppression_fichiers_DataGridView.Rows.Add()
|
||||
Next
|
||||
For r = 0 To Main.config.Nettoyage_Fichiers_Items.Count - 1
|
||||
Suppression_fichiers_DataGridView.Item(Suppression_fichiers_Repertoire.Index, r).Value = Main.config.Nettoyage_Fichiers_Items(r).Rep
|
||||
Suppression_fichiers_DataGridView.Item(Suppression_fichiers_Fichiers.Index, r).Value = Main.config.Nettoyage_Fichiers_Items(r).Fichiers
|
||||
Suppression_fichiers_DataGridView.Item(Suppression_fichiers_Jours.Index, r).Value = Main.config.Nettoyage_Fichiers_Items(r).Jours
|
||||
Next
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
Private Sub Suppression_fichiers_Cancel_Button_Click(sender As Object, e As EventArgs)
|
||||
Suppression_fichiers_affichage()
|
||||
End Sub
|
||||
|
||||
Public Sub Suppression_fichiers_Action()
|
||||
For r = 0 To Main.config.Nettoyage_Fichiers_Items.Count - 1
|
||||
Dim Rep = Main.config.Nettoyage_Fichiers_Items(r).Rep
|
||||
If Mid(Rep, Rep.Length, "1") <> "\" Then
|
||||
Rep = Rep & "\"
|
||||
End If
|
||||
Dim Fichiers = Main.config.Nettoyage_Fichiers_Items(r).Fichiers
|
||||
Dim Jours = CDbl(Main.config.Nettoyage_Fichiers_Items(r).Jours)
|
||||
|
||||
|
||||
Dim Fichiers_remove_list As New List(Of String)
|
||||
Dim fichier = Dir(Rep & Fichiers)
|
||||
While fichier <> ""
|
||||
Fichiers_remove_list.Add(Rep & fichier)
|
||||
fichier = Dir()
|
||||
End While
|
||||
For Each fichier_ As String In Fichiers_remove_list
|
||||
Try
|
||||
Dim fichier_info = My.Computer.FileSystem.GetFileInfo(fichier_)
|
||||
If DateAdd(DateInterval.Day, Jours, fichier_info.CreationTime) < Now Then
|
||||
Label1.Text = "Suppression: " & fichier_
|
||||
Application.DoEvents()
|
||||
My.Computer.FileSystem.DeleteFile(fichier_)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
End Try
|
||||
Next
|
||||
Next
|
||||
Label1.Text = ""
|
||||
End Sub
|
||||
|
||||
Private Sub Suppression_fichiers_Go_Button_Click(sender As Object, e As EventArgs) Handles Suppression_fichiers_Go_Button.Click
|
||||
Suppression_fichiers_Action()
|
||||
End Sub
|
||||
End Class
|
@ -0,0 +1,193 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2025 P4pillon.org
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{331C7AC8-2E3F-4470-8908-7F03EB99F338}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<StartupObject>Officine_Maintenance.My.MyApplication</StartupObject>
|
||||
<RootNamespace>Officine_Maintenance</RootNamespace>
|
||||
<AssemblyName>Officine_Maintenance</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>WindowsForms</MyType>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DocumentationFile>Officine_Maintenance.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>Officine_Maintenance.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Drawing" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Windows.Forms" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
<Import Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BDD.Designer.vb">
|
||||
<DependentUpon>BDD.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BDD.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Config.vb" />
|
||||
<Compile Include="FTP.Designer.vb">
|
||||
<DependentUpon>FTP.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FTP.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Main.Designer.vb">
|
||||
<DependentUpon>Main.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Main.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Nettoyage_Fichiers.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Nettoyage_Fichiers.Designer.vb">
|
||||
<DependentUpon>Nettoyage_Fichiers.vb</DependentUpon>
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||
<Compile Include="My Project\Application.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Resources.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<Compile Include="Ordonnancier.Designer.vb">
|
||||
<DependentUpon>Ordonnancier.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Ordonnancier.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PharmaDataSet.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>PharmaDataSet.xsd</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="BDD.resx">
|
||||
<DependentUpon>BDD.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FTP.resx">
|
||||
<DependentUpon>FTP.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Main.resx">
|
||||
<DependentUpon>Main.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Nettoyage_Fichiers.resx">
|
||||
<DependentUpon>Nettoyage_Fichiers.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="App.config" />
|
||||
<None Include="PharmaDataSet.xsc">
|
||||
<DependentUpon>PharmaDataSet.xsd</DependentUpon>
|
||||
</None>
|
||||
<None Include="PharmaDataSet.xsd">
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
<LastGenOutput>PharmaDataSet.Designer.vb</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="PharmaDataSet.xss">
|
||||
<DependentUpon>PharmaDataSet.xsd</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
43
Officine_Maintenance/Officine_Maintenance/Ordonnancier.Designer.vb
generated
Normal file
43
Officine_Maintenance/Officine_Maintenance/Ordonnancier.Designer.vb
generated
Normal file
@ -0,0 +1,43 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class Ordonnancier
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form remplace la méthode Dispose pour nettoyer la liste des composants.
|
||||
<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
|
||||
|
||||
'Requise par le Concepteur Windows Form
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
|
||||
'Elle peut être modifiée à l'aide du Concepteur Windows Form.
|
||||
'Ne la modifiez pas à l'aide de l'éditeur de code.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
components = New System.ComponentModel.Container
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.Text = "Ordonnancier"
|
||||
End Sub
|
||||
End Class
|
43
Officine_Maintenance/Officine_Maintenance/Ordonnancier.vb
Normal file
43
Officine_Maintenance/Officine_Maintenance/Ordonnancier.vb
Normal file
@ -0,0 +1,43 @@
|
||||
' Copyright (C) 2025 P4pillon.org
|
||||
'
|
||||
' This program is free software: you can redistribute it and/or modify
|
||||
' it under the terms of the GNU Affero General Public License as
|
||||
' published by the Free Software Foundation, either version 3 of the
|
||||
' License, or (at your option) any later version.
|
||||
'
|
||||
' This program is distributed in the hope that it will be useful,
|
||||
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
' GNU Affero General Public License for more details.
|
||||
'
|
||||
' You should have received a copy of the GNU Affero General Public License
|
||||
' along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
Public Class Ordonnancier
|
||||
|
||||
Public Sub reconstruction_ordonnacier()
|
||||
Dim Actes = BDD.ActesTableAdapter.GetData_Stupéfiants
|
||||
|
||||
For r = 0 To Actes.Rows.Count - 1
|
||||
Try
|
||||
Dim num_prescripteur As String = ""
|
||||
If Val(Actes(r).NumFacturesSV) > 0 Then
|
||||
Dim facture = BDD.FacturesTableAdapter.GetDataBy_Num(Val(Actes(r).NumFacturesSV)).Item(0)
|
||||
If facture.G1211C1 <> "" Then
|
||||
num_prescripteur = facture.G1211C1 & facture.G1211C2
|
||||
ElseIf facture.G1213C1 <> "" Then
|
||||
num_prescripteur = facture.G1213C1 & facture.G1213C2
|
||||
ElseIf facture.G1214C1 <> "" Then
|
||||
num_prescripteur = facture.G1214C1 & facture.G1214C2
|
||||
End If
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
Main.writelog("Reconstruction ordonnancier: erreur sur traitement acte num " & Actes(r).NumActe & Chr(10) & ex.Message)
|
||||
End Try
|
||||
|
||||
Next
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
End Class
|
100181
Officine_Maintenance/Officine_Maintenance/PharmaDataSet.Designer.vb
generated
Normal file
100181
Officine_Maintenance/Officine_Maintenance/PharmaDataSet.Designer.vb
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TableUISettings />
|
||||
</DataSetUISetting>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user