Change splash logo and fix some bugs
This commit is contained in:
parent
33425bd427
commit
6b4f2e8db4
@ -24,13 +24,14 @@ Public Class AddMachine
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub AddComputerButton_Click(sender As Object, e As EventArgs) Handles AddComputerButton.Click
|
Private Sub AddComputerButton_Click(sender As Object, e As EventArgs) Handles AddComputerButton.Click
|
||||||
Dim addComputer_seq As String = "
|
|
||||||
INSERT INTO computers_desc VALUES ('" & NewIDBox.Text & "','" & NewNameBox.Text & "'," & NewEtatBox.SelectedIndex + 1 & "," & CheckToNumeric(NewSerieCheckBox) & ",'" & NewDetailsBox.Text & "',0,'N/A','" & NewGivenByBox.Text & "');
|
|
||||||
INSERT INTO computers_progress VALUES ('" & NewIDBox.Text & "',0,0,0,0,0,1,1,1);
|
|
||||||
"
|
|
||||||
If NewNameBox.Text = "" Then MsgBox("Vous ne pouvez pas laisser un nom vide !", 48, "Erreur de saisie") : Exit Sub
|
If NewNameBox.Text = "" Then MsgBox("Vous ne pouvez pas laisser un nom vide !", 48, "Erreur de saisie") : Exit Sub
|
||||||
If NewDetailsBox.Text = "" Then NewDetailsBox.Text = "N/A"
|
If NewDetailsBox.Text = "" Then NewDetailsBox.Text = "N/A"
|
||||||
If NewGivenByBox.Text = "" Then NewGivenByBox.Text = "N/A"
|
If NewGivenByBox.Text = "" Then NewGivenByBox.Text = "N/A"
|
||||||
|
Dim addComputer_seq As String = "
|
||||||
|
INSERT INTO computers_desc VALUES ('" & NewIDBox.Text & "','" & NewNameBox.Text & "'," & NewEtatBox.SelectedIndex & "," & CheckToNumeric(NewSerieCheckBox) & ",'" & NewDetailsBox.Text & "',0,'N/A','" & NewGivenByBox.Text & "');
|
||||||
|
INSERT INTO computers_progress VALUES ('" & NewIDBox.Text & "',0,0,0,0,0,1,1,1);
|
||||||
|
"
|
||||||
|
|
||||||
Try
|
Try
|
||||||
Main.StatusLabel.Text = "Tentative d'ajout de l'ordinateur à la base de données..."
|
Main.StatusLabel.Text = "Tentative d'ajout de l'ordinateur à la base de données..."
|
||||||
Using con As New SQLiteConnection("URI=file:db.sqlite")
|
Using con As New SQLiteConnection("URI=file:db.sqlite")
|
||||||
|
File diff suppressed because it is too large
Load Diff
BIN
ISEN-Repair Inventory Manager/comp_repair.png
Normal file
BIN
ISEN-Repair Inventory Manager/comp_repair.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user