home *** CD-ROM | disk | FTP | other *** search
- Public Class FormCliente
- Inherits System.Windows.Forms.Form
-
- #Region " Windows Form Designer generated code "
-
- Public Sub New()
- MyBase.New()
-
- 'This call is required by the Windows Form Designer.
- InitializeComponent()
-
- 'Add any initialization after the InitializeComponent() call
-
- End Sub
-
- 'Form overrides dispose to clean up the component list.
- Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing Then
- If Not (components Is Nothing) Then
- components.Dispose()
- End If
- End If
- MyBase.Dispose(disposing)
- End Sub
-
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
-
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- Public WithEvents TxtIdCliente As System.Windows.Forms.TextBox
- Public WithEvents TxtRagioneSociale As System.Windows.Forms.TextBox
- Public WithEvents TxtPIVACF As System.Windows.Forms.TextBox
- Public WithEvents TxtCitta As System.Windows.Forms.TextBox
- Public WithEvents TxtIndirizzo As System.Windows.Forms.TextBox
- Public WithEvents TxtCAP As System.Windows.Forms.TextBox
- Public WithEvents TxtCognome As System.Windows.Forms.TextBox
- Public WithEvents TxtNome As System.Windows.Forms.TextBox
- Public WithEvents TxtTelefono As System.Windows.Forms.TextBox
- Public WithEvents TxtFax As System.Windows.Forms.TextBox
- Public WithEvents TxtCellulare As System.Windows.Forms.TextBox
- Public WithEvents LblIdCliente As System.Windows.Forms.Label
- Public WithEvents LblRagioneSociale As System.Windows.Forms.Label
- Public WithEvents LblPIVACF As System.Windows.Forms.Label
- Public WithEvents LblCitta As System.Windows.Forms.Label
- Public WithEvents LblIndirizzo As System.Windows.Forms.Label
- Public WithEvents LblCAP As System.Windows.Forms.Label
- Public WithEvents LblCognome As System.Windows.Forms.Label
- Public WithEvents LblNome As System.Windows.Forms.Label
- Public WithEvents LblTelefono As System.Windows.Forms.Label
- Public WithEvents LblFax As System.Windows.Forms.Label
- Public WithEvents LblCellulare As System.Windows.Forms.Label
- Friend WithEvents ButtonNuovo As System.Windows.Forms.Button
- Friend WithEvents ButtonSalva As System.Windows.Forms.Button
- Friend WithEvents ButtonCancella As System.Windows.Forms.Button
- Public WithEvents txtProvincia As System.Windows.Forms.TextBox
- Public WithEvents Label1 As System.Windows.Forms.Label
- <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
- Me.TxtIdCliente = New System.Windows.Forms.TextBox()
- Me.TxtRagioneSociale = New System.Windows.Forms.TextBox()
- Me.TxtPIVACF = New System.Windows.Forms.TextBox()
- Me.TxtCitta = New System.Windows.Forms.TextBox()
- Me.TxtIndirizzo = New System.Windows.Forms.TextBox()
- Me.TxtCAP = New System.Windows.Forms.TextBox()
- Me.TxtCognome = New System.Windows.Forms.TextBox()
- Me.TxtNome = New System.Windows.Forms.TextBox()
- Me.TxtTelefono = New System.Windows.Forms.TextBox()
- Me.TxtFax = New System.Windows.Forms.TextBox()
- Me.TxtCellulare = New System.Windows.Forms.TextBox()
- Me.LblIdCliente = New System.Windows.Forms.Label()
- Me.LblRagioneSociale = New System.Windows.Forms.Label()
- Me.LblPIVACF = New System.Windows.Forms.Label()
- Me.LblCitta = New System.Windows.Forms.Label()
- Me.LblIndirizzo = New System.Windows.Forms.Label()
- Me.LblCAP = New System.Windows.Forms.Label()
- Me.LblCognome = New System.Windows.Forms.Label()
- Me.LblNome = New System.Windows.Forms.Label()
- Me.LblTelefono = New System.Windows.Forms.Label()
- Me.LblFax = New System.Windows.Forms.Label()
- Me.LblCellulare = New System.Windows.Forms.Label()
- Me.ButtonNuovo = New System.Windows.Forms.Button()
- Me.ButtonSalva = New System.Windows.Forms.Button()
- Me.ButtonCancella = New System.Windows.Forms.Button()
- Me.txtProvincia = New System.Windows.Forms.TextBox()
- Me.Label1 = New System.Windows.Forms.Label()
- Me.SuspendLayout()
- '
- 'TxtIdCliente
- '
- Me.TxtIdCliente.AcceptsReturn = True
- Me.TxtIdCliente.AutoSize = False
- Me.TxtIdCliente.BackColor = System.Drawing.SystemColors.Window
- Me.TxtIdCliente.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtIdCliente.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtIdCliente.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtIdCliente.Location = New System.Drawing.Point(112, 8)
- Me.TxtIdCliente.MaxLength = 0
- Me.TxtIdCliente.Name = "TxtIdCliente"
- Me.TxtIdCliente.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtIdCliente.Size = New System.Drawing.Size(121, 19)
- Me.TxtIdCliente.TabIndex = 22
- Me.TxtIdCliente.Text = ""
- '
- 'TxtRagioneSociale
- '
- Me.TxtRagioneSociale.AcceptsReturn = True
- Me.TxtRagioneSociale.AutoSize = False
- Me.TxtRagioneSociale.BackColor = System.Drawing.SystemColors.Window
- Me.TxtRagioneSociale.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtRagioneSociale.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtRagioneSociale.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtRagioneSociale.Location = New System.Drawing.Point(112, 32)
- Me.TxtRagioneSociale.MaxLength = 0
- Me.TxtRagioneSociale.Name = "TxtRagioneSociale"
- Me.TxtRagioneSociale.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtRagioneSociale.Size = New System.Drawing.Size(121, 19)
- Me.TxtRagioneSociale.TabIndex = 23
- Me.TxtRagioneSociale.Text = ""
- '
- 'TxtPIVACF
- '
- Me.TxtPIVACF.AcceptsReturn = True
- Me.TxtPIVACF.AutoSize = False
- Me.TxtPIVACF.BackColor = System.Drawing.SystemColors.Window
- Me.TxtPIVACF.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtPIVACF.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtPIVACF.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtPIVACF.Location = New System.Drawing.Point(112, 56)
- Me.TxtPIVACF.MaxLength = 0
- Me.TxtPIVACF.Name = "TxtPIVACF"
- Me.TxtPIVACF.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtPIVACF.Size = New System.Drawing.Size(121, 19)
- Me.TxtPIVACF.TabIndex = 24
- Me.TxtPIVACF.Text = ""
- '
- 'TxtCitta
- '
- Me.TxtCitta.AcceptsReturn = True
- Me.TxtCitta.AutoSize = False
- Me.TxtCitta.BackColor = System.Drawing.SystemColors.Window
- Me.TxtCitta.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtCitta.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtCitta.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtCitta.Location = New System.Drawing.Point(112, 80)
- Me.TxtCitta.MaxLength = 0
- Me.TxtCitta.Name = "TxtCitta"
- Me.TxtCitta.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtCitta.Size = New System.Drawing.Size(121, 19)
- Me.TxtCitta.TabIndex = 25
- Me.TxtCitta.Text = ""
- '
- 'TxtIndirizzo
- '
- Me.TxtIndirizzo.AcceptsReturn = True
- Me.TxtIndirizzo.AutoSize = False
- Me.TxtIndirizzo.BackColor = System.Drawing.SystemColors.Window
- Me.TxtIndirizzo.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtIndirizzo.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtIndirizzo.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtIndirizzo.Location = New System.Drawing.Point(112, 104)
- Me.TxtIndirizzo.MaxLength = 0
- Me.TxtIndirizzo.Name = "TxtIndirizzo"
- Me.TxtIndirizzo.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtIndirizzo.Size = New System.Drawing.Size(121, 19)
- Me.TxtIndirizzo.TabIndex = 26
- Me.TxtIndirizzo.Text = ""
- '
- 'TxtCAP
- '
- Me.TxtCAP.AcceptsReturn = True
- Me.TxtCAP.AutoSize = False
- Me.TxtCAP.BackColor = System.Drawing.SystemColors.Window
- Me.TxtCAP.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtCAP.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtCAP.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtCAP.Location = New System.Drawing.Point(112, 128)
- Me.TxtCAP.MaxLength = 0
- Me.TxtCAP.Name = "TxtCAP"
- Me.TxtCAP.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtCAP.Size = New System.Drawing.Size(121, 19)
- Me.TxtCAP.TabIndex = 27
- Me.TxtCAP.Text = ""
- '
- 'TxtCognome
- '
- Me.TxtCognome.AcceptsReturn = True
- Me.TxtCognome.AutoSize = False
- Me.TxtCognome.BackColor = System.Drawing.SystemColors.Window
- Me.TxtCognome.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtCognome.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtCognome.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtCognome.Location = New System.Drawing.Point(112, 152)
- Me.TxtCognome.MaxLength = 0
- Me.TxtCognome.Name = "TxtCognome"
- Me.TxtCognome.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtCognome.Size = New System.Drawing.Size(121, 19)
- Me.TxtCognome.TabIndex = 28
- Me.TxtCognome.Text = ""
- '
- 'TxtNome
- '
- Me.TxtNome.AcceptsReturn = True
- Me.TxtNome.AutoSize = False
- Me.TxtNome.BackColor = System.Drawing.SystemColors.Window
- Me.TxtNome.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtNome.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtNome.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtNome.Location = New System.Drawing.Point(112, 176)
- Me.TxtNome.MaxLength = 0
- Me.TxtNome.Name = "TxtNome"
- Me.TxtNome.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtNome.Size = New System.Drawing.Size(121, 19)
- Me.TxtNome.TabIndex = 29
- Me.TxtNome.Text = ""
- '
- 'TxtTelefono
- '
- Me.TxtTelefono.AcceptsReturn = True
- Me.TxtTelefono.AutoSize = False
- Me.TxtTelefono.BackColor = System.Drawing.SystemColors.Window
- Me.TxtTelefono.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtTelefono.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtTelefono.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtTelefono.Location = New System.Drawing.Point(112, 200)
- Me.TxtTelefono.MaxLength = 0
- Me.TxtTelefono.Name = "TxtTelefono"
- Me.TxtTelefono.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtTelefono.Size = New System.Drawing.Size(121, 19)
- Me.TxtTelefono.TabIndex = 30
- Me.TxtTelefono.Text = ""
- '
- 'TxtFax
- '
- Me.TxtFax.AcceptsReturn = True
- Me.TxtFax.AutoSize = False
- Me.TxtFax.BackColor = System.Drawing.SystemColors.Window
- Me.TxtFax.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtFax.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtFax.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtFax.Location = New System.Drawing.Point(112, 224)
- Me.TxtFax.MaxLength = 0
- Me.TxtFax.Name = "TxtFax"
- Me.TxtFax.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtFax.Size = New System.Drawing.Size(121, 19)
- Me.TxtFax.TabIndex = 31
- Me.TxtFax.Text = ""
- '
- 'TxtCellulare
- '
- Me.TxtCellulare.AcceptsReturn = True
- Me.TxtCellulare.AutoSize = False
- Me.TxtCellulare.BackColor = System.Drawing.SystemColors.Window
- Me.TxtCellulare.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.TxtCellulare.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.TxtCellulare.ForeColor = System.Drawing.SystemColors.WindowText
- Me.TxtCellulare.Location = New System.Drawing.Point(112, 248)
- Me.TxtCellulare.MaxLength = 0
- Me.TxtCellulare.Name = "TxtCellulare"
- Me.TxtCellulare.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.TxtCellulare.Size = New System.Drawing.Size(121, 19)
- Me.TxtCellulare.TabIndex = 32
- Me.TxtCellulare.Text = ""
- '
- 'LblIdCliente
- '
- Me.LblIdCliente.BackColor = System.Drawing.SystemColors.Control
- Me.LblIdCliente.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblIdCliente.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblIdCliente.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblIdCliente.Location = New System.Drawing.Point(8, 8)
- Me.LblIdCliente.Name = "LblIdCliente"
- Me.LblIdCliente.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblIdCliente.Size = New System.Drawing.Size(105, 17)
- Me.LblIdCliente.TabIndex = 33
- Me.LblIdCliente.Text = "IdCliente"
- '
- 'LblRagioneSociale
- '
- Me.LblRagioneSociale.BackColor = System.Drawing.SystemColors.Control
- Me.LblRagioneSociale.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblRagioneSociale.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblRagioneSociale.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblRagioneSociale.Location = New System.Drawing.Point(8, 32)
- Me.LblRagioneSociale.Name = "LblRagioneSociale"
- Me.LblRagioneSociale.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblRagioneSociale.Size = New System.Drawing.Size(105, 17)
- Me.LblRagioneSociale.TabIndex = 34
- Me.LblRagioneSociale.Text = "RagioneSociale"
- '
- 'LblPIVACF
- '
- Me.LblPIVACF.BackColor = System.Drawing.SystemColors.Control
- Me.LblPIVACF.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblPIVACF.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblPIVACF.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblPIVACF.Location = New System.Drawing.Point(8, 56)
- Me.LblPIVACF.Name = "LblPIVACF"
- Me.LblPIVACF.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblPIVACF.Size = New System.Drawing.Size(105, 17)
- Me.LblPIVACF.TabIndex = 35
- Me.LblPIVACF.Text = "PIVACF"
- '
- 'LblCitta
- '
- Me.LblCitta.BackColor = System.Drawing.SystemColors.Control
- Me.LblCitta.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblCitta.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblCitta.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblCitta.Location = New System.Drawing.Point(8, 80)
- Me.LblCitta.Name = "LblCitta"
- Me.LblCitta.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblCitta.Size = New System.Drawing.Size(105, 17)
- Me.LblCitta.TabIndex = 36
- Me.LblCitta.Text = "Citta"
- '
- 'LblIndirizzo
- '
- Me.LblIndirizzo.BackColor = System.Drawing.SystemColors.Control
- Me.LblIndirizzo.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblIndirizzo.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblIndirizzo.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblIndirizzo.Location = New System.Drawing.Point(8, 104)
- Me.LblIndirizzo.Name = "LblIndirizzo"
- Me.LblIndirizzo.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblIndirizzo.Size = New System.Drawing.Size(105, 17)
- Me.LblIndirizzo.TabIndex = 37
- Me.LblIndirizzo.Text = "Indirizzo"
- '
- 'LblCAP
- '
- Me.LblCAP.BackColor = System.Drawing.SystemColors.Control
- Me.LblCAP.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblCAP.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblCAP.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblCAP.Location = New System.Drawing.Point(8, 128)
- Me.LblCAP.Name = "LblCAP"
- Me.LblCAP.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblCAP.Size = New System.Drawing.Size(105, 17)
- Me.LblCAP.TabIndex = 38
- Me.LblCAP.Text = "CAP"
- '
- 'LblCognome
- '
- Me.LblCognome.BackColor = System.Drawing.SystemColors.Control
- Me.LblCognome.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblCognome.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblCognome.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblCognome.Location = New System.Drawing.Point(8, 152)
- Me.LblCognome.Name = "LblCognome"
- Me.LblCognome.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblCognome.Size = New System.Drawing.Size(105, 17)
- Me.LblCognome.TabIndex = 39
- Me.LblCognome.Text = "Cognome"
- '
- 'LblNome
- '
- Me.LblNome.BackColor = System.Drawing.SystemColors.Control
- Me.LblNome.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblNome.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblNome.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblNome.Location = New System.Drawing.Point(8, 176)
- Me.LblNome.Name = "LblNome"
- Me.LblNome.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblNome.Size = New System.Drawing.Size(105, 17)
- Me.LblNome.TabIndex = 40
- Me.LblNome.Text = "Nome"
- '
- 'LblTelefono
- '
- Me.LblTelefono.BackColor = System.Drawing.SystemColors.Control
- Me.LblTelefono.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblTelefono.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblTelefono.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblTelefono.Location = New System.Drawing.Point(8, 200)
- Me.LblTelefono.Name = "LblTelefono"
- Me.LblTelefono.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblTelefono.Size = New System.Drawing.Size(105, 17)
- Me.LblTelefono.TabIndex = 41
- Me.LblTelefono.Text = "Telefono"
- '
- 'LblFax
- '
- Me.LblFax.BackColor = System.Drawing.SystemColors.Control
- Me.LblFax.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblFax.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblFax.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblFax.Location = New System.Drawing.Point(8, 224)
- Me.LblFax.Name = "LblFax"
- Me.LblFax.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblFax.Size = New System.Drawing.Size(105, 17)
- Me.LblFax.TabIndex = 42
- Me.LblFax.Text = "Fax"
- '
- 'LblCellulare
- '
- Me.LblCellulare.BackColor = System.Drawing.SystemColors.Control
- Me.LblCellulare.Cursor = System.Windows.Forms.Cursors.Default
- Me.LblCellulare.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.LblCellulare.ForeColor = System.Drawing.SystemColors.ControlText
- Me.LblCellulare.Location = New System.Drawing.Point(8, 248)
- Me.LblCellulare.Name = "LblCellulare"
- Me.LblCellulare.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.LblCellulare.Size = New System.Drawing.Size(105, 17)
- Me.LblCellulare.TabIndex = 43
- Me.LblCellulare.Text = "Cellulare"
- '
- 'ButtonNuovo
- '
- Me.ButtonNuovo.Location = New System.Drawing.Point(248, 8)
- Me.ButtonNuovo.Name = "ButtonNuovo"
- Me.ButtonNuovo.TabIndex = 44
- Me.ButtonNuovo.Text = "Nuovo"
- '
- 'ButtonSalva
- '
- Me.ButtonSalva.Location = New System.Drawing.Point(248, 40)
- Me.ButtonSalva.Name = "ButtonSalva"
- Me.ButtonSalva.TabIndex = 45
- Me.ButtonSalva.Text = "Salva"
- '
- 'ButtonCancella
- '
- Me.ButtonCancella.Location = New System.Drawing.Point(248, 72)
- Me.ButtonCancella.Name = "ButtonCancella"
- Me.ButtonCancella.TabIndex = 46
- Me.ButtonCancella.Text = "Cancella"
- '
- 'txtProvincia
- '
- Me.txtProvincia.AcceptsReturn = True
- Me.txtProvincia.AutoSize = False
- Me.txtProvincia.BackColor = System.Drawing.SystemColors.Window
- Me.txtProvincia.Cursor = System.Windows.Forms.Cursors.IBeam
- Me.txtProvincia.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.txtProvincia.ForeColor = System.Drawing.SystemColors.WindowText
- Me.txtProvincia.Location = New System.Drawing.Point(112, 272)
- Me.txtProvincia.MaxLength = 0
- Me.txtProvincia.Name = "txtProvincia"
- Me.txtProvincia.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.txtProvincia.Size = New System.Drawing.Size(121, 19)
- Me.txtProvincia.TabIndex = 47
- Me.txtProvincia.Text = ""
- '
- 'Label1
- '
- Me.Label1.BackColor = System.Drawing.SystemColors.Control
- Me.Label1.Cursor = System.Windows.Forms.Cursors.Default
- Me.Label1.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label1.ForeColor = System.Drawing.SystemColors.ControlText
- Me.Label1.Location = New System.Drawing.Point(8, 272)
- Me.Label1.Name = "Label1"
- Me.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No
- Me.Label1.Size = New System.Drawing.Size(105, 17)
- Me.Label1.TabIndex = 48
- Me.Label1.Text = "Provincia"
- '
- 'FormCliente
- '
- Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
- Me.ClientSize = New System.Drawing.Size(336, 302)
- Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.txtProvincia, Me.Label1, Me.ButtonCancella, Me.ButtonSalva, Me.ButtonNuovo, Me.TxtIdCliente, Me.TxtRagioneSociale, Me.TxtPIVACF, Me.TxtCitta, Me.TxtIndirizzo, Me.TxtCAP, Me.TxtCognome, Me.TxtNome, Me.TxtTelefono, Me.TxtFax, Me.TxtCellulare, Me.LblIdCliente, Me.LblRagioneSociale, Me.LblPIVACF, Me.LblCitta, Me.LblIndirizzo, Me.LblCAP, Me.LblCognome, Me.LblNome, Me.LblTelefono, Me.LblFax, Me.LblCellulare})
- Me.Name = "FormCliente"
- Me.Text = "FormCliente"
- Me.ResumeLayout(False)
-
- End Sub
-
- #End Region
- Dim BufCliente As Cliente
- Private Sub ValorizzaBuffer()
- With BufCliente
- On Error Resume Next
- .IdCliente = TxtIdCliente.Text
- .RagioneSociale = TxtRagioneSociale.Text
- .PIVACF = TxtPIVACF.Text
- .Citta = TxtCitta.Text
- .Indirizzo = TxtIndirizzo.Text
- .CAP = TxtCAP.Text
- .Cognome = TxtCognome.Text
- .Nome = TxtNome.Text
- .Telefono = TxtTelefono.Text
- .Fax = TxtFax.Text
- .Cellulare = TxtCellulare.Text
- .Provincia = txtProvincia.Text
- End With
- End Sub
- Private Sub InserisciCampi()
- With BufCliente
- TxtIdCliente.Text = .IdCliente
- TxtRagioneSociale.Text = .RagioneSociale
- TxtPIVACF.Text = .PIVACF
- TxtCitta.Text = .Citta
- TxtIndirizzo.Text = .Indirizzo
- TxtCAP.Text = .CAP
- TxtCognome.Text = .Cognome
- TxtNome.Text = .Nome
- TxtTelefono.Text = .Telefono
- TxtFax.Text = .Fax
- TxtCellulare.Text = .Cellulare
- txtProvincia.Text = .Provincia
- End With
- End Sub
- Private Sub SvuotaCampi()
- TxtIdCliente.Text = ""
- TxtRagioneSociale.Text = ""
- TxtPIVACF.Text = ""
- TxtCitta.Text = ""
- TxtIndirizzo.Text = ""
- TxtCAP.Text = ""
- TxtCognome.Text = ""
- TxtNome.Text = ""
- TxtTelefono.Text = ""
- TxtFax.Text = ""
- TxtCellulare.Text = ""
- txtProvincia.Text = ""
- End Sub
-
- Private Sub FormCliente_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
-
- End Sub
-
- Private Sub ButtonNuovo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonNuovo.Click
- BufCliente = New Cliente()
- SvuotaCampi()
- End Sub
-
- Private Sub ButtonSalva_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonSalva.Click
- If BufCliente Is Nothing Then
- MessageBox.Show("Premere prima il tasto nuovo")
- Exit Sub
- End If
- ValorizzaBuffer()
- BufCliente.Salva()
- InserisciCampi()
- End Sub
-
- Private Sub ButtonCancella_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonCancella.Click
- BufCliente.Cancella()
- BufCliente = Nothing
- SvuotaCampi()
- End Sub
-
-
- End Class
-