Professional Documents
Culture Documents
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim
ptel As Integer
pref As Integer
psec As Integer
pcoc As Integer
plav As Integer
plus As Integer
pcon As Integer
pcom As Integer
pcal As Integer
pfot As Integer
pimp As Integer
pfax As Integer
totpagsimp As Double
totpagcimp As Double
totpagcpro As Double
repe As String
res As Integer
por As Integer
desc As Integer
total As Integer
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.Even
tArgs) Handles MyBase.Load
TextBox17.Text
TextBox18.Text
TextBox19.Text
TextBox20.Text
TextBox21.Text
TextBox22.Text
TextBox28.Text
TextBox25.Text
TextBox27.Text
TextBox26.Text
TextBox23.Text
TextBox24.Text
=
=
=
=
=
=
=
=
=
=
=
=
100
120
130
150
180
80
210
20
350
600
2000
100
TextBox1.Text = 0
TextBox2.Text = 7.0#
TextBox3.Text = 1
TextBox4.Text = 1
TextBox5.Text = 1
TextBox6.Text = 1
TextBox7.Text = 1
TextBox8.Text = 1
TextBox9.Text = 1
TextBox10.Text = 1
TextBox11.Text = 1
TextBox12.Text = 1
TextBox13.Text = 1
TextBox14.Text = 1
Label5.BackColor = Color.Transparent
Label1.BackColor = Color.Transparent
Label2.BackColor = Color.Transparent
Label3.BackColor = Color.Transparent
Label6.BackColor = Color.Transparent
Label7.BackColor = Color.Transparent
Label8.BackColor = Color.Transparent
Label9.BackColor = Color.Transparent
Label10.BackColor = Color.Transparent
Label11.BackColor = Color.Transparent
Label12.BackColor = Color.Transparent
Label13.BackColor = Color.Transparent
Label14.BackColor = Color.Transparent
Label15.BackColor = Color.Transparent
Label16.BackColor = Color.Transparent
Label17.BackColor = Color.Transparent
Label18.BackColor = Color.Transparent
Label19.BackColor = Color.Transparent
Label20.BackColor = Color.Transparent
Label21.BackColor = Color.Transparent
End Sub
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CheckBox1.CheckedChanged
PictureBox1.Image = Image.FromFile("C:\Users\Usuario\Desktop\Toshiba-46V
X700U-Cinema-Series-46-class-1080p-120Hz-LED-TV.png")
End Sub
Private Sub Button1_Click(ByVal
ventArgs) Handles Button1.Click
totpagsimp = 0
If CheckBox1.Checked = True
totpagsimp = totpagsimp
End If
If CheckBox4.Checked = True
totpagsimp = totpagsimp
End If
If CheckBox2.Checked = True
totpagsimp = totpagsimp
End If
If CheckBox5.Checked = True
totpagsimp = totpagsimp
End If
If CheckBox6.Checked = True
totpagsimp = totpagsimp
End If
If CheckBox3.Checked = True
totpagsimp = totpagsimp
End If
If CheckBox2.Checked = True
totpagcimp = totpagcimp
End If
If CheckBox5.Checked = True
totpagcimp = totpagcimp
End If
If CheckBox6.Checked = True
totpagcimp = totpagcimp
End If
If CheckBox3.Checked = True
totpagcimp = totpagcimp
End If
Then
+ Val(TextBox4.Text) * Val(TextBox18.Text)
Then
+ Val(TextBox7.Text) * Val(TextBox21.Text)
Then
+ Val(TextBox8.Text) * Val(TextBox22.Text)
Then
+ Val(TextBox5.Text) * Val(TextBox19.Text)
Then
+ Val(TextBox3.Text) * Val(TextBox17.Text)
Then
+ Val(TextBox6.Text) * Val(TextBox20.Text)
Then
+ Val(TextBox4.Text) * Val(TextBox18.Text)
Then
+ Val(TextBox7.Text) * Val(TextBox21.Text)
Then
+ Val(TextBox8.Text) * Val(TextBox22.Text)
Then
+ Val(TextBox5.Text) * Val(TextBox19.Text)
End Sub
Private Sub Label16_Click(ByVal sender As System.Object, ByVal e As System.E
ventArgs) Handles Label16.Click
End Sub
Private Sub TextBox15_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox15.TextChanged
End Sub
Private Sub TextBox17_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox17.TextChanged
End Sub
Private Sub Label8_Click(ByVal sender As System.Object, ByVal e As System.Ev
entArgs) Handles Label8.Click
End Sub
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.E
ventArgs) Handles Button5.Click
End
End Sub
End Class