Sie sind auf Seite 1von 6

<Global.Microsoft.VisualBasic.CompilerServices.

DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
'Form reemplaza a Dispose para limpiar la lista de componentes.
<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
'Requerido por el Diseador de Windows Forms
Private components As System.ComponentModel.IContainer
'NOTA: el Diseador de Windows Forms necesita el siguiente procedimiento
'Se puede modificar usando el Diseador de Windows Forms.
'No lo modifique con el editor de cdigo.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Dim resources As System.ComponentModel.ComponentResourceManager = New Sy
stem.ComponentModel.ComponentResourceManager(GetType(Form1))
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
Me.txtidclient = New System.Windows.Forms.TextBox()
Me.TxtCodigoArticulo = New System.Windows.Forms.TextBox()
Me.TxtDescripcion = New System.Windows.Forms.TextBox()
Me.TxtPrecio = New System.Windows.Forms.TextBox()
Me.TxtCantidad = New System.Windows.Forms.TextBox()
Me.ToolStrip2 = New System.Windows.Forms.ToolStrip()
Me.ToolStripButton1 = New System.Windows.Forms.ToolStripButton()
Me.ToolStripButton5 = New System.Windows.Forms.ToolStripButton()
Me.ToolStripButton2 = New System.Windows.Forms.ToolStripButton()
Me.ToolStripButton4 = New System.Windows.Forms.ToolStripButton()
Me.ToolStripButton3 = New System.Windows.Forms.ToolStripButton()
Me.TxtIdCliente = New System.Windows.Forms.TextBox()
Me.TxtCodi = New System.Windows.Forms.TextBox()
Me.TextBox3 = New System.Windows.Forms.TextBox()
Me.TextBox4 = New System.Windows.Forms.TextBox()
Me.TextBox5 = New System.Windows.Forms.TextBox()
Me.TxtValor = New System.Windows.Forms.TextBox()
Me.ToolStrip2.SuspendLayout()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(28, 76)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(54, 13)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Id. Cliente"
'

'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(28, 122)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(78, 13)
Me.Label2.TabIndex = 2
Me.Label2.Text = "Codigo Articulo"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(28, 175)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(63, 13)
Me.Label3.TabIndex = 3
Me.Label3.Text = "Descripcion"
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Location = New System.Drawing.Point(28, 232)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(31, 13)
Me.Label4.TabIndex = 4
Me.Label4.Text = "Valor"
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Location = New System.Drawing.Point(28, 286)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(49, 13)
Me.Label5.TabIndex = 5
Me.Label5.Text = "Cantidad"
'
'txtidclient
'
Me.txtidclient.Location = New System.Drawing.Point(107, 69)
Me.txtidclient.Name = "txtidclient"
Me.txtidclient.Size = New System.Drawing.Size(100, 20)
Me.txtidclient.TabIndex = 6
'
'TxtCodigoArticulo
'
Me.TxtCodigoArticulo.Location = New System.Drawing.Point(107, 115)
Me.TxtCodigoArticulo.Name = "TxtCodigoArticulo"
Me.TxtCodigoArticulo.Size = New System.Drawing.Size(100, 20)
Me.TxtCodigoArticulo.TabIndex = 7
'
'TxtDescripcion
'
Me.TxtDescripcion.Location = New System.Drawing.Point(107, 168)
Me.TxtDescripcion.Name = "TxtDescripcion"
Me.TxtDescripcion.Size = New System.Drawing.Size(100, 20)
Me.TxtDescripcion.TabIndex = 8
'
'TxtPrecio
'
Me.TxtPrecio.Location = New System.Drawing.Point(107, 225)

Me.TxtPrecio.Name = "TxtPrecio"
Me.TxtPrecio.Size = New System.Drawing.Size(100, 20)
Me.TxtPrecio.TabIndex = 9
'
'TxtCantidad
'
Me.TxtCantidad.Location = New System.Drawing.Point(107, 279)
Me.TxtCantidad.Name = "TxtCantidad"
Me.TxtCantidad.Size = New System.Drawing.Size(100, 20)
Me.TxtCantidad.TabIndex = 10
'
'ToolStrip2
'
Me.ToolStrip2.Items.AddRange(New System.Windows.Forms.ToolStripItem() {M
e.ToolStripButton1, Me.ToolStripButton5, Me.ToolStripButton2, Me.ToolStripButton
4, Me.ToolStripButton3})
Me.ToolStrip2.Location = New System.Drawing.Point(0, 0)
Me.ToolStrip2.Name = "ToolStrip2"
Me.ToolStrip2.Size = New System.Drawing.Size(522, 25)
Me.ToolStrip2.TabIndex = 11
Me.ToolStrip2.Text = "ToolStrip2"
'
'ToolStripButton1
'
Me.ToolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDis
playStyle.Image
Me.ToolStripButton1.Image = CType(resources.GetObject("ToolStripButton1.
Image"), System.Drawing.Image)
Me.ToolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta
Me.ToolStripButton1.Name = "ToolStripButton1"
Me.ToolStripButton1.Size = New System.Drawing.Size(23, 22)
Me.ToolStripButton1.Text = "ToolStripButton1"
Me.ToolStripButton1.ToolTipText = "Grabar"
'
'ToolStripButton5
'
Me.ToolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDis
playStyle.Image
Me.ToolStripButton5.Image = CType(resources.GetObject("ToolStripButton5.
Image"), System.Drawing.Image)
Me.ToolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta
Me.ToolStripButton5.Name = "ToolStripButton5"
Me.ToolStripButton5.Size = New System.Drawing.Size(23, 22)
Me.ToolStripButton5.Text = "ToolStripButton5"
Me.ToolStripButton5.ToolTipText = "Actualizar"
'
'ToolStripButton2
'
Me.ToolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDis
playStyle.Image
Me.ToolStripButton2.Image = CType(resources.GetObject("ToolStripButton2.
Image"), System.Drawing.Image)
Me.ToolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta
Me.ToolStripButton2.Name = "ToolStripButton2"
Me.ToolStripButton2.Size = New System.Drawing.Size(23, 22)
Me.ToolStripButton2.Text = "ToolStripButton2"
Me.ToolStripButton2.ToolTipText = "Eliminar"
'
'ToolStripButton4
'

Me.ToolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDis
playStyle.Image
Me.ToolStripButton4.Image = CType(resources.GetObject("ToolStripButton4.
Image"), System.Drawing.Image)
Me.ToolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta
Me.ToolStripButton4.Name = "ToolStripButton4"
Me.ToolStripButton4.Size = New System.Drawing.Size(23, 22)
Me.ToolStripButton4.Text = "ToolStripButton4"
Me.ToolStripButton4.ToolTipText = "Salir"
'
'ToolStripButton3
'
Me.ToolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDis
playStyle.Image
Me.ToolStripButton3.Image = CType(resources.GetObject("ToolStripButton3.
Image"), System.Drawing.Image)
Me.ToolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta
Me.ToolStripButton3.Name = "ToolStripButton3"
Me.ToolStripButton3.Size = New System.Drawing.Size(23, 22)
Me.ToolStripButton3.Text = "ToolStripButton3"
'
'TxtIdCliente
'
Me.TxtIdCliente.Location = New System.Drawing.Point(107, 69)
Me.TxtIdCliente.Name = "TxtIdCliente"
Me.TxtIdCliente.Size = New System.Drawing.Size(100, 20)
Me.TxtIdCliente.TabIndex = 6
'
'TxtCodi
'
Me.TxtCodi.Location = New System.Drawing.Point(107, 115)
Me.TxtCodi.Name = "TxtCodi"
Me.TxtCodi.Size = New System.Drawing.Size(100, 20)
Me.TxtCodi.TabIndex = 7
'
'TextBox3
'
Me.TextBox3.Location = New System.Drawing.Point(107, 168)
Me.TextBox3.Name = "TextBox3"
Me.TextBox3.Size = New System.Drawing.Size(100, 20)
Me.TextBox3.TabIndex = 8
'
'TextBox4
'
Me.TextBox4.Location = New System.Drawing.Point(107, 225)
Me.TextBox4.Name = "TextBox4"
Me.TextBox4.Size = New System.Drawing.Size(100, 20)
Me.TextBox4.TabIndex = 9
'
'TextBox5
'
Me.TextBox5.Location = New System.Drawing.Point(107, 279)
Me.TextBox5.Name = "TextBox5"
Me.TextBox5.Size = New System.Drawing.Size(100, 20)
Me.TextBox5.TabIndex = 10
'
'TxtValor
'
Me.TxtValor.Location = New System.Drawing.Point(107, 225)
Me.TxtValor.Name = "TxtValor"

Me.TxtValor.Size = New System.Drawing.Size(100, 20)


Me.TxtValor.TabIndex = 9
'
'Form1
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(522, 403)
Me.Controls.Add(Me.ToolStrip2)
Me.Controls.Add(Me.TxtCantidad)
Me.Controls.Add(Me.TxtPrecio)
Me.Controls.Add(Me.TxtDescripcion)
Me.Controls.Add(Me.TxtCodigoArticulo)
Me.Controls.Add(Me.txtidclient)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Label1)
Me.Name = "Form1"
Me.Text = "Form1"
Me.ToolStrip2.ResumeLayout(False)
Me.ToolStrip2.PerformLayout()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents
Friend WithEvents

Label1 As System.Windows.Forms.Label
Label2 As System.Windows.Forms.Label
Label3 As System.Windows.Forms.Label
Label4 As System.Windows.Forms.Label
Label5 As System.Windows.Forms.Label
txtidclient As System.Windows.Forms.TextBox
TxtCodigoArticulo As System.Windows.Forms.TextBox
TxtDescripcion As System.Windows.Forms.TextBox
TxtPrecio As System.Windows.Forms.TextBox
TxtCantidad As System.Windows.Forms.TextBox
ToolStrip2 As System.Windows.Forms.ToolStrip
ToolStripButton1 As System.Windows.Forms.ToolStripButton
ToolStripButton5 As System.Windows.Forms.ToolStripButton
ToolStripButton2 As System.Windows.Forms.ToolStripButton
ToolStripButton4 As System.Windows.Forms.ToolStripButton
TxtIdCliente As System.Windows.Forms.TextBox
TxtCodi As System.Windows.Forms.TextBox
TextBox3 As System.Windows.Forms.TextBox
TextBox4 As System.Windows.Forms.TextBox
TextBox5 As System.Windows.Forms.TextBox
ToolStripButton3 As System.Windows.Forms.ToolStripButton
TxtValor As System.Windows.Forms.TextBox

End Class
Imports System.Data
Imports System.Data.OleDb
Imports System.Configuration
Public Class ClsConexion
#Region "Variables Privadas"
Private Cnn As OleDbConnection
#End Region

#Region "Constructores"
Public Sub New()
Cnn = New OleDbConnection("Provider=SQLOLEDB; Data Source=(local)\sqlexp
ress;Integrated Security=SSPI; DATABASE=VentasDeArticulos")
End Sub
#End Region
#Region "Propiedades"
Public Property pConexion() As OleDbConnection
Set(ByVal value As OleDbConnection)
Cnn = value
End Set
Get
Return Cnn
End Get
End Property
#End Region
End Class

Das könnte Ihnen auch gefallen