Initial commit
This commit is contained in:
20
officine_backup/officine_backup.sln
Normal file
20
officine_backup/officine_backup.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_backup", "officine_backup\officine_backup.vbproj", "{62DD28E0-4D83-40D5-BBE8-EB6A80D0CE9F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{62DD28E0-4D83-40D5-BBE8-EB6A80D0CE9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{62DD28E0-4D83-40D5-BBE8-EB6A80D0CE9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{62DD28E0-4D83-40D5-BBE8-EB6A80D0CE9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{62DD28E0-4D83-40D5-BBE8-EB6A80D0CE9F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
22
officine_backup/officine_backup/App.config
Normal file
22
officine_backup/officine_backup/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>
|
150
officine_backup/officine_backup/Form1.Designer.vb
generated
Normal file
150
officine_backup/officine_backup/Form1.Designer.vb
generated
Normal file
@ -0,0 +1,150 @@
|
||||
' 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()
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1))
|
||||
Me.LinkLabel1 = New System.Windows.Forms.LinkLabel()
|
||||
Me.FolderBrowserDialog1 = New System.Windows.Forms.FolderBrowserDialog()
|
||||
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
|
||||
Me.Source_column = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.Destination_column = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.Suppr_column = New System.Windows.Forms.DataGridViewButtonColumn()
|
||||
Me.LinkLabel2 = New System.Windows.Forms.LinkLabel()
|
||||
Me.Label1 = New System.Windows.Forms.Label()
|
||||
Me.ProgressBar1 = New System.Windows.Forms.ProgressBar()
|
||||
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'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(173, 13)
|
||||
Me.LinkLabel1.TabIndex = 0
|
||||
Me.LinkLabel1.TabStop = True
|
||||
Me.LinkLabel1.Text = "Ajouter un répertoire à sauvegarder"
|
||||
'
|
||||
'DataGridView1
|
||||
'
|
||||
Me.DataGridView1.AllowUserToAddRows = False
|
||||
Me.DataGridView1.AllowUserToDeleteRows = False
|
||||
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||
Me.DataGridView1.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.Source_column, Me.Destination_column, Me.Suppr_column})
|
||||
Me.DataGridView1.Location = New System.Drawing.Point(15, 25)
|
||||
Me.DataGridView1.Name = "DataGridView1"
|
||||
Me.DataGridView1.RowHeadersVisible = False
|
||||
Me.DataGridView1.Size = New System.Drawing.Size(543, 284)
|
||||
Me.DataGridView1.TabIndex = 1
|
||||
'
|
||||
'Source_column
|
||||
'
|
||||
Me.Source_column.HeaderText = "Source"
|
||||
Me.Source_column.Name = "Source_column"
|
||||
Me.Source_column.ReadOnly = True
|
||||
Me.Source_column.Width = 200
|
||||
'
|
||||
'Destination_column
|
||||
'
|
||||
Me.Destination_column.HeaderText = "Destination"
|
||||
Me.Destination_column.Name = "Destination_column"
|
||||
Me.Destination_column.Width = 200
|
||||
'
|
||||
'Suppr_column
|
||||
'
|
||||
Me.Suppr_column.HeaderText = "Suppr"
|
||||
Me.Suppr_column.Name = "Suppr_column"
|
||||
'
|
||||
'LinkLabel2
|
||||
'
|
||||
Me.LinkLabel2.AutoSize = True
|
||||
Me.LinkLabel2.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.LinkLabel2.Location = New System.Drawing.Point(12, 327)
|
||||
Me.LinkLabel2.Name = "LinkLabel2"
|
||||
Me.LinkLabel2.Size = New System.Drawing.Size(271, 20)
|
||||
Me.LinkLabel2.TabIndex = 2
|
||||
Me.LinkLabel2.TabStop = True
|
||||
Me.LinkLabel2.Text = "Exécuter la sauvegarde des données"
|
||||
'
|
||||
'Label1
|
||||
'
|
||||
Me.Label1.AutoSize = True
|
||||
Me.Label1.Location = New System.Drawing.Point(12, 354)
|
||||
Me.Label1.Name = "Label1"
|
||||
Me.Label1.Size = New System.Drawing.Size(125, 13)
|
||||
Me.Label1.TabIndex = 3
|
||||
Me.Label1.Text = "0 fichier(s) sauvegardé(s)"
|
||||
'
|
||||
'ProgressBar1
|
||||
'
|
||||
Me.ProgressBar1.Location = New System.Drawing.Point(15, 370)
|
||||
Me.ProgressBar1.Name = "ProgressBar1"
|
||||
Me.ProgressBar1.Size = New System.Drawing.Size(543, 23)
|
||||
Me.ProgressBar1.TabIndex = 4
|
||||
'
|
||||
'Form1
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(570, 402)
|
||||
Me.Controls.Add(Me.ProgressBar1)
|
||||
Me.Controls.Add(Me.Label1)
|
||||
Me.Controls.Add(Me.LinkLabel2)
|
||||
Me.Controls.Add(Me.DataGridView1)
|
||||
Me.Controls.Add(Me.LinkLabel1)
|
||||
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
|
||||
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
||||
Me.MaximizeBox = False
|
||||
Me.MinimizeBox = False
|
||||
Me.Name = "Form1"
|
||||
Me.Text = "Officine Sauvegarde"
|
||||
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout
|
||||
|
||||
End Sub
|
||||
Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel
|
||||
Friend WithEvents FolderBrowserDialog1 As System.Windows.Forms.FolderBrowserDialog
|
||||
Friend WithEvents DataGridView1 As System.Windows.Forms.DataGridView
|
||||
Friend WithEvents Source_column As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents Destination_column As System.Windows.Forms.DataGridViewTextBoxColumn
|
||||
Friend WithEvents Suppr_column As System.Windows.Forms.DataGridViewButtonColumn
|
||||
Friend WithEvents LinkLabel2 As System.Windows.Forms.LinkLabel
|
||||
Friend WithEvents Label1 As System.Windows.Forms.Label
|
||||
Friend WithEvents ProgressBar1 As System.Windows.Forms.ProgressBar
|
||||
|
||||
End Class
|
4660
officine_backup/officine_backup/Form1.resx
Normal file
4660
officine_backup/officine_backup/Form1.resx
Normal file
File diff suppressed because it is too large
Load Diff
200
officine_backup/officine_backup/Form1.vb
Normal file
200
officine_backup/officine_backup/Form1.vb
Normal file
@ -0,0 +1,200 @@
|
||||
' 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
|
||||
Imports System.IO.File
|
||||
|
||||
|
||||
Public Class Form1
|
||||
|
||||
Public discret_mode As Boolean
|
||||
Private Config As XmlDocument
|
||||
Private compteur_fichiers_sauvegardés As Integer
|
||||
|
||||
|
||||
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||
Config = New XmlDocument
|
||||
Config.Load(Application.StartupPath & "\officine_backup_Config.xml")
|
||||
affiche_REPERTORY()
|
||||
Dim arguments As String() = Environment.GetCommandLineArgs()
|
||||
If arguments.Contains("discret") Then
|
||||
Me.WindowState = FormWindowState.Minimized
|
||||
Backup()
|
||||
Me.Close()
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
Private Sub affiche_REPERTORY()
|
||||
DataGridView1.Rows.Clear()
|
||||
Dim xnList As XmlNodeList = Config.SelectNodes("/CONFIG/REPERTORY")
|
||||
For Each xn As XmlNode In xnList
|
||||
DataGridView1.Rows.Add()
|
||||
DataGridView1.Item(Source_column.Index, DataGridView1.Rows.Count - 1).Value = xn("SOURCE").InnerText
|
||||
DataGridView1.Item(Destination_column.Index, DataGridView1.Rows.Count - 1).Value = xn("DESTINATION").InnerText
|
||||
Next
|
||||
End Sub
|
||||
|
||||
Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
|
||||
Dim Source As String = ""
|
||||
Dim Destination As String = ""
|
||||
FolderBrowserDialog1.Description = "Choix du répertoire à sauvegarder"
|
||||
FolderBrowserDialog1.ShowDialog()
|
||||
Source = FolderBrowserDialog1.SelectedPath
|
||||
If Source = "" Then Exit Sub
|
||||
FolderBrowserDialog1.Description = "Choix de la destination de la sauvegarde"
|
||||
FolderBrowserDialog1.ShowDialog()
|
||||
Destination = FolderBrowserDialog1.SelectedPath
|
||||
If Destination = "" Then Exit Sub
|
||||
Dim REPERTORY As XmlElement = Config.CreateElement("REPERTORY", Config.DocumentElement.NamespaceURI)
|
||||
Dim SOURCEXML As XmlElement = Config.CreateElement("SOURCE", Config.DocumentElement.NamespaceURI)
|
||||
SOURCEXML.InnerText = Source
|
||||
REPERTORY.AppendChild(SOURCEXML)
|
||||
Dim DESTINATIONXML As XmlElement = Config.CreateElement("DESTINATION", Config.DocumentElement.NamespaceURI)
|
||||
DESTINATIONXML.InnerText = Destination
|
||||
REPERTORY.AppendChild(DESTINATIONXML)
|
||||
|
||||
Config.DocumentElement.AppendChild(REPERTORY)
|
||||
Config.Save(Application.StartupPath & "\officine_backup_Config.xml")
|
||||
affiche_REPERTORY()
|
||||
End Sub
|
||||
|
||||
Private Function getAllFolders(ByVal directory As String) As String()
|
||||
'Create object
|
||||
Dim fi As New IO.DirectoryInfo(directory)
|
||||
'Array to store paths
|
||||
Dim path() As String = {}
|
||||
'Loop through subfolders
|
||||
For Each subfolder As IO.DirectoryInfo In fi.GetDirectories()
|
||||
'Add this folders name
|
||||
Array.Resize(path, path.Length + 1)
|
||||
path(path.Length - 1) = subfolder.FullName
|
||||
'Recall function with each subdirectory
|
||||
For Each s As String In getAllFolders(subfolder.FullName)
|
||||
Array.Resize(path, path.Length + 1)
|
||||
path(path.Length - 1) = s
|
||||
Next
|
||||
Next
|
||||
Return path
|
||||
End Function
|
||||
|
||||
Private Sub Backup()
|
||||
If My.Computer.FileSystem.FileExists(Application.StartupPath & "\log.txt") Then
|
||||
My.Computer.FileSystem.DeleteFile(Application.StartupPath & "\log.txt")
|
||||
End If
|
||||
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "\log.txt", "________________________________________" & vbCrLf & "DEBUT SAUVEGARDE " & Now.ToShortDateString & " " & Now.ToShortTimeString & vbCrLf & vbCrLf, True)
|
||||
LinkLabel2.Text = "Préparation..."
|
||||
Application.DoEvents()
|
||||
compteur_fichiers_sauvegardés = 0
|
||||
Dim xnList As XmlNodeList = Config.SelectNodes("/CONFIG/REPERTORY")
|
||||
Dim nombre_total_fichiers = 0
|
||||
For Each REPERTORY As XmlNode In xnList
|
||||
Dim File = Dir(REPERTORY("SOURCE").InnerText & "\*.*")
|
||||
While File <> ""
|
||||
nombre_total_fichiers = nombre_total_fichiers + 1
|
||||
File = Dir()
|
||||
End While
|
||||
For Each folder As String In IO.Directory.GetDirectories(REPERTORY("SOURCE").InnerText, "*", System.IO.SearchOption.AllDirectories)
|
||||
File = Dir(folder & "\*.*")
|
||||
While File <> ""
|
||||
nombre_total_fichiers = nombre_total_fichiers + 1
|
||||
File = Dir()
|
||||
End While
|
||||
Next
|
||||
Next
|
||||
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "\log.txt", nombre_total_fichiers.ToString & " fichiers examinés" & vbCrLf, True)
|
||||
ProgressBar1.Minimum = 1
|
||||
ProgressBar1.Maximum = nombre_total_fichiers
|
||||
ProgressBar1.Value = 1
|
||||
ProgressBar1.Step = 1
|
||||
LinkLabel2.Text = "Sauvegarde en cours ..."
|
||||
Application.DoEvents()
|
||||
For Each REPERTORY As XmlNode In xnList
|
||||
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "\log.txt", vbCrLf & REPERTORY("SOURCE").InnerText & " " & Now.ToShortDateString & " " & Now.ToShortTimeString & vbCrLf, True)
|
||||
Backup_Files(REPERTORY("SOURCE").InnerText, REPERTORY("DESTINATION").InnerText)
|
||||
For Each folder As String In IO.Directory.GetDirectories(REPERTORY("SOURCE").InnerText, "*", System.IO.SearchOption.AllDirectories)
|
||||
|
||||
Dim Rep_out As String = REPERTORY("DESTINATION").InnerText & Mid(folder, REPERTORY("SOURCE").InnerText.Length + 1)
|
||||
Backup_Files(folder, Rep_out)
|
||||
Next
|
||||
Next
|
||||
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "\log.txt", compteur_fichiers_sauvegardés.ToString & " fichier(s) sauvegardé(s)" & vbCrLf, True)
|
||||
LinkLabel2.Text = "Exécuter la sauvegarde des données"
|
||||
Label1.Text = compteur_fichiers_sauvegardés.ToString & " fichier(s) sauvegardé(s)"
|
||||
End Sub
|
||||
|
||||
|
||||
Private Sub Backup_Files(ByVal Rep_In As String, Rep_out As String)
|
||||
|
||||
If My.Computer.FileSystem.DirectoryExists(Rep_out) = False Then My.Computer.FileSystem.CreateDirectory(Rep_out)
|
||||
|
||||
'nettoyage fichiers supprimmés de la source
|
||||
Dim file_dest = Dir(Rep_out & "\*.*")
|
||||
While file_dest <> ""
|
||||
If My.Computer.FileSystem.FileExists(Rep_In & "\" & file_dest) = False Then
|
||||
My.Computer.FileSystem.DeleteFile(Rep_out & "\" & file_dest)
|
||||
End If
|
||||
file_dest = Dir()
|
||||
End While
|
||||
|
||||
'copie des fichiers
|
||||
Dim file_src = Dir(Rep_In & "\*.*")
|
||||
|
||||
While file_src <> ""
|
||||
Try
|
||||
Label1.Text = Rep_In & "\" & file_src
|
||||
ProgressBar1.PerformStep()
|
||||
Application.DoEvents()
|
||||
If My.Computer.FileSystem.FileExists(Rep_out & "\" & file_src) = False Then
|
||||
My.Computer.FileSystem.CopyFile(Rep_In & "\" & file_src, Rep_out & "\" & file_src, True)
|
||||
compteur_fichiers_sauvegardés = compteur_fichiers_sauvegardés + 1
|
||||
Else
|
||||
If Math.Abs(DateDiff(DateInterval.Minute, GetLastWriteTime(Rep_In & "\" & file_src), GetLastWriteTime(Rep_out & "\" & file_src))) > 1 Then
|
||||
My.Computer.FileSystem.CopyFile(Rep_In & "\" & file_src, Rep_out & "\" & file_src, True)
|
||||
compteur_fichiers_sauvegardés = compteur_fichiers_sauvegardés + 1
|
||||
End If
|
||||
End If
|
||||
Catch ex As Exception
|
||||
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "\log.txt", vbCrLf & Rep_In & "\" & file_src & vbCrLf & ex.Message & vbCrLf, True)
|
||||
End Try
|
||||
file_src = Dir()
|
||||
End While
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
|
||||
Private Sub LinkLabel2_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel2.LinkClicked
|
||||
Backup()
|
||||
End Sub
|
||||
|
||||
Private Sub DataGridView1_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellClick
|
||||
If e.ColumnIndex = Suppr_column.Index Then
|
||||
For Each REPERTORY As XmlNode In Config.SelectNodes("/CONFIG/REPERTORY")
|
||||
If REPERTORY("DESTINATION").InnerText = DataGridView1.Item(Destination_column.Index, DataGridView1.CurrentRow.Index).Value _
|
||||
And REPERTORY("SOURCE").InnerText = DataGridView1.Item(Source_column.Index, DataGridView1.CurrentRow.Index).Value Then
|
||||
REPERTORY.ParentNode.RemoveChild(REPERTORY)
|
||||
Config.Save(Application.StartupPath & "\officine_backup_Config.xml")
|
||||
affiche_REPERTORY()
|
||||
Exit Sub
|
||||
End If
|
||||
Next
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
|
||||
|
||||
End Sub
|
||||
End Class
|
52
officine_backup/officine_backup/My Project/Application.Designer.vb
generated
Normal file
52
officine_backup/officine_backup/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_backup.Form1
|
||||
End Sub
|
||||
End Class
|
||||
End Namespace
|
27
officine_backup/officine_backup/My Project/Application.myapp
Normal file
27
officine_backup/officine_backup/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
officine_backup/officine_backup/My Project/AssemblyInfo.vb
Normal file
49
officine_backup/officine_backup/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("officine_backup")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("officine_backup")>
|
||||
<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("9b9abc80-345a-420b-a87d-e1a5e8288ffa")>
|
||||
|
||||
' 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_backup/officine_backup/My Project/Resources.Designer.vb
generated
Normal file
76
officine_backup/officine_backup/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_backup.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_backup/officine_backup/My Project/Resources.resx
Normal file
133
officine_backup/officine_backup/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_backup/officine_backup/My Project/Settings.Designer.vb
generated
Normal file
87
officine_backup/officine_backup/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_backup.My.MySettings
|
||||
Get
|
||||
Return Global.officine_backup.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>
|
BIN
officine_backup/officine_backup/Officine_Backup.ico
Normal file
BIN
officine_backup/officine_backup/Officine_Backup.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
150
officine_backup/officine_backup/officine_backup.vbproj
Normal file
150
officine_backup/officine_backup/officine_backup.vbproj
Normal file
@ -0,0 +1,150 @@
|
||||
<?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>{62DD28E0-4D83-40D5-BBE8-EB6A80D0CE9F}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<StartupObject>officine_backup.My.MyApplication</StartupObject>
|
||||
<RootNamespace>officine_backup</RootNamespace>
|
||||
<AssemblyName>officine_backup</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_backup.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_backup.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>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>Officine_Backup.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.DirectoryServices" />
|
||||
<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>
|
||||
</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>
|
||||
<ItemGroup>
|
||||
<Content Include="Officine_Backup.ico" />
|
||||
</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>
|
Reference in New Issue
Block a user