Sie sind auf Seite 1von 27

Imports SpeechLib

Imports system.data.oledb
Imports System.Text.RegularExpressions
Imports VB = Microsoft.VisualBasic

Public Class Form1


Dim cn As OleDbConnection
Dim adp, adpview As OleDbDataAdapter
Public Shared ds As DataSet ' whole data shared to access data
from diffrent table n in d
Public Shared dv As DataView ' abstract data
Dim cm As CurrencyManager ' for scrolling
Dim choice As String

Private Sub Form1_Load(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the
'Telephonedir1DataSet.PhoneBook' table. You can move, or
remove it, as needed.

Me.PhoneBookTableAdapter.Fill(Me.Telephonedir1DataSet.Phon
eBook)

cn = New
OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;data
source=d:\PhoneBook\telephonedir1.mdb")
adp = New OleDbDataAdapter("select * from PhoneBook",
cn)

filldatasetanddataview()
bindingfields()
showpos()
Button13_Click(Me, e)
Beep()

End Sub
Private Sub filldatasetanddataview()
ds = New DataSet()
adp.Fill(ds, "PhoneBook")
dv = New DataView(ds.Tables("PhoneBook"))
cm = CType(Me.BindingContext(dv), CurrencyManager)
DataGridView1.DataSource = dv
DataGridView1.Refresh()
End Sub
Private Sub showpos()

End Sub
Private Sub bindingfields()
TextBox1.DataBindings.Clear()
TextBox2.DataBindings.Clear()
TextBox3.DataBindings.Clear()
TextBox4.DataBindings.Clear()
TextBox5.DataBindings.Clear()
TextBox6.DataBindings.Clear()
TextBox7.DataBindings.Clear()
TextBox8.DataBindings.Clear()
TextBox9.DataBindings.Clear()
TextBox10.DataBindings.Clear()
TextBox11.DataBindings.Clear()
TextBox12.DataBindings.Clear()
TextBox13.DataBindings.Clear()
TextBox14.DataBindings.Clear()
TextBox15.DataBindings.Clear()
TextBox16.DataBindings.Clear()
TextBox19.DataBindings.Clear()
PictureBox1.DataBindings.Clear()
TextBox1.DataBindings.Add("text", dv, "DOB")
TextBox2.DataBindings.Add("text", dv, "Designation")
TextBox3.DataBindings.Add("text", dv, "Address")
TextBox4.DataBindings.Add("text", dv, "City")
TextBox5.DataBindings.Add("text", dv, "Country")
TextBox6.DataBindings.Add("text", dv, "Pin_Code")
TextBox7.DataBindings.Add("text", dv, "Tel_office")
TextBox8.DataBindings.Add("text", dv, "Tel_Residence")
TextBox9.DataBindings.Add("text", dv, "Mobile1")
TextBox10.DataBindings.Add("text", dv, "Mobile2")
TextBox11.DataBindings.Add("text", dv, "E_mail")
TextBox12.DataBindings.Add("text", dv, "BloodGroup")
TextBox13.DataBindings.Add("text", dv, "State")
TextBox14.DataBindings.Add("text", dv, "Name")
TextBox15.DataBindings.Add("text", dv, "MName")
TextBox16.DataBindings.Add("text", dv, "LName")
TextBox19.DataBindings.Add("text", dv, "Photograph")
PictureBox1.DataBindings.Add("ImageLocation", dv,
"Photograph")

End Sub

Private Sub Button7_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button7.Click
cm.Position = 0
End Sub

Private Sub Button9_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button9.Click
cm.Position -= 1
End Sub

Private Sub Button8_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button8.Click
cm.Position += 1
End Sub

Private Sub Button10_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button10.Click
cm.Position = cm.Count - 1
End Sub

Private Sub Button1_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button1.Click
'INSERTION
Dim ip As Integer
Dim cmd As OleDbCommand = New OleDbCommand()
ip = cm.position
cmd.Connection = cn 'oledbconnctn obj
cmd.CommandText = "insert into PhoneBook " & "
(Name,MName,LName,DOB,Designation,Address,City,State,Cou
ntry,Pin_Code,Tel_office,Tel_Residence,Mobile1,Mobile2,E_mail,
BloodGroup,Photograph)" & " values
(@Name,@MName,@LName,@DOB,@Designation,@Address,@Cit
y,@State,@Country,@Pin_Code,@Tel_office,@Tel_Residence,@Mob
ile1,@Mobile2,@E_mail,@BloodGroup,@Photograph);"
cmd.Parameters.AddWithValue("@Name", TextBox14.Text)
cmd.Parameters.AddWithValue("@MName", TextBox15.Text)
cmd.Parameters.AddWithValue("@LName", TextBox16.Text)
cmd.Parameters.AddWithValue("@DOB", TextBox1.Text)
cmd.Parameters.AddWithValue("@Designation",
TextBox2.Text)
cmd.Parameters.AddWithValue("@Address", TextBox3.Text)
cmd.Parameters.AddWithValue("@City", TextBox4.Text)
cmd.Parameters.AddWithValue("@State", TextBox13.Text)
cmd.Parameters.AddWithValue("@Country", TextBox5.Text)
cmd.Parameters.AddWithValue("@Pin_Code",
TextBox6.Text)
cmd.Parameters.AddWithValue("@Tel_office",
TextBox7.Text)
cmd.Parameters.AddWithValue("@Tel_Residence",
TextBox8.Text)
cmd.Parameters.AddWithValue("@Mobile1", TextBox9.Text)
cmd.Parameters.AddWithValue("@Mobile2", TextBox10.Text)
cmd.Parameters.AddWithValue("@E_mail", TextBox11.Text)
cmd.Parameters.AddWithValue("@BloodGroup",
TextBox12.Text)
cmd.Parameters.AddWithValue("@Photograph",
TextBox19.Text)
cn.Open()
cmd.ExecuteNonQuery()
cn.Close()
filldatasetanddataview()
bindingfields()
cm.Position = ip 'update current position of cursor

End Sub
Private Sub Button3_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button3.Click
'DELETION
Dim i As Integer
Dim cmd1 As OleDbCommand = New
OleDbCommand("delete from PhoneBook where Name=@Name1
and MName = @MName1 and LName=@LName1", cn)
i = cm.Position - 1
If (i < 0) Then
i=0
End If
cmd1.Parameters.AddWithValue("@Name1",
BindingContext(dv).Current("Name"))
cmd1.Parameters.AddWithValue("@MName1",
BindingContext(dv).Current("MName"))
cmd1.Parameters.AddWithValue("@LName1",
BindingContext(dv).Current("LName"))
cn.Open()
cmd1.ExecuteNonQuery()
cn.Close()
filldatasetanddataview()
bindingfields()
cm.Position = i
MessageBox.Show("Record Deleted from Phonebook")

End Sub

Private Sub Button11_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button11.Click
'NEW
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
TextBox9.Text = ""
TextBox10.Text = ""
TextBox11.Text = ""
TextBox12.Text = ""
TextBox13.Text = ""
TextBox14.Text = ""
TextBox15.Text = ""
TextBox16.Text = ""
TextBox19.Text = ""
PictureBox1.ImageLocation = ""
End Sub

Private Sub Button2_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button2.Click
'UPDATE.
Dim i As Integer
Dim cmd As OleDbCommand = New
OleDbCommand("Update PhoneBook set Name =
@Name,MName=@MName,LName=@LName,DOB=@DOB,Desig
nation=@Designation,Address=@Address,City=@City,State=@State
,Country=@Country,Pin_Code=@Pin_Code,Tel_office=@Tel_office,
Tel_Residence=@Tel_Residence,Mobile1=@Mobile1,Mobile2=@Mo
bile2,E_mail=@E_mail1,BloodGroup=@BloodGroup,Photograph=
@Photograph where E_mail = @E_mail2", cn)
i = cm.Position
cmd.Parameters.AddWithValue("@Name", TextBox14.Text)
cmd.Parameters.AddWithValue("@MName", TextBox15.Text)
cmd.Parameters.AddWithValue("@LName", TextBox16.Text)
cmd.Parameters.AddWithValue("@DOB", TextBox1.Text)
cmd.Parameters.AddWithValue("@Designation",
TextBox2.Text)
cmd.Parameters.AddWithValue("@Address", TextBox3.Text)
cmd.Parameters.AddWithValue("@City", TextBox4.Text)
cmd.Parameters.AddWithValue("@State", TextBox13.Text)
cmd.Parameters.AddWithValue("@Country", TextBox5.Text)
cmd.Parameters.AddWithValue("@Pin_Code",
TextBox6.Text)
cmd.Parameters.AddWithValue("@Tel_office",
TextBox7.Text)
cmd.Parameters.AddWithValue("@Tel_Residence",
TextBox8.Text)
cmd.Parameters.AddWithValue("@Mobile1", TextBox9.Text)
cmd.Parameters.AddWithValue("@Mobile2", TextBox10.Text)
cmd.Parameters.AddWithValue("@E_mail1", TextBox11.Text)
cmd.Parameters.AddWithValue("@BloodGroup",
TextBox12.Text)
cmd.Parameters.AddWithValue("@Photograph",
TextBox19.Text)
cmd.Parameters.AddWithValue("@E_mail2",
BindingContext(dv).Current("E_mail"))
cn.Open()
cmd.ExecuteNonQuery()
cn.Close()
filldatasetanddataview()
bindingfields()
cm.Position = i
MessageBox.Show("Record Updated to Phonebook")
End Sub

Private Sub Button4_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button4.Click
'SEARCHING.
Dim intpos As Integer
Select Case choice
Case "NAME"
dv.Sort = "Name"
intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
MessageBox.Show("Record Not Found")

Else
cm.Position = intpos

End If
Case "TELEPHONE"
dv.Sort = "Tel_office"
intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
dv.Sort = "Tel_Residence"
intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
MessageBox.Show("Record not found")
End If
Else
cm.Position = intpos
End If
Case "CITY"
dv.Sort = "City"
intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
MessageBox.Show("Record Not Found")

Else
cm.Position = intpos
End If
Case "DOB"
dv.Sort = "DOB"
intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
MessageBox.Show("Record Not Found")

Else
cm.Position = intpos
End If
Case "MOBILE"
dv.Sort = "Mobile1"
intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
dv.Sort = "Mobile2"
intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
MessageBox.Show("Record not found")
End If
Else
cm.Position = intpos
End If
Case "BLOOD GROUP"
dv.Sort = "BloodGroup"

intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
MessageBox.Show("Record Not Found")

Else
cm.Position = intpos
End If
Case "DESIGNATION"
dv.Sort = "Designation"

intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
MessageBox.Show("Record Not Found")

Else
cm.Position = intpos
End If
Case "E-MAIL"
dv.Sort = "E_mail"

intpos = dv.Find(Trim(TextBox17.Text))
If intpos = -1 Then
MessageBox.Show("Record Not Found")

Else
cm.Position = intpos
End If

DataGridView1.Refresh()

End Select

End Sub

Private Sub RadioButton1_CheckedChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RadioButton1.CheckedChanged
choice = "NAME"
End Sub

Private Sub RadioButton4_CheckedChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RadioButton4.CheckedChanged
choice = "TELEPHONE"
End Sub

Private Sub RadioButton2_CheckedChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RadioButton2.CheckedChanged
choice = "DOB"
End Sub

Private Sub RadioButton5_CheckedChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RadioButton5.CheckedChanged
choice = "MOBILE"
End Sub

Private Sub RadioButton3_CheckedChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RadioButton3.CheckedChanged
choice = "DESIGNATION"
End Sub

Private Sub RadioButton6_CheckedChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RadioButton6.CheckedChanged
choice = "E-MAIL"
End Sub

Private Sub RadioButton7_CheckedChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RadioButton7.CheckedChanged
choice = "BLOOD GROUP"
End Sub

Private Sub RadioButton8_CheckedChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RadioButton8.CheckedChanged
choice = "CITY"
End Sub

Private Sub Button5_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button5.Click
Form2.Show()
End Sub

Private Sub Button6_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button6.Click
Dim x As String
x = Trim(TextBox18.Text)
dv.RowFilter = "Name like '" & x & "%'"

End Sub

Private Sub Button12_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button12.Click
dv.RowFilter = Nothing
End Sub

Private Sub DateTimePicker1_Validating(ByVal sender As


Object, ByVal e As System.ComponentModel.CancelEventArgs)
Handles DateTimePicker1.Validating
'validation
Dim exp As String
exp = DateTimePicker1.Value
If exp > Now Then
ErrorProvider2.SetError(DateTimePicker1, "Invalid Date")
e.Cancel = True
Else
ErrorProvider2.SetError(DateTimePicker1, "")
End If

End Sub

Private Sub DateTimePicker1_ValueChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
DateTimePicker1.ValueChanged
TextBox1.Text = DateTimePicker1.Value.ToShortDateString
End Sub
Private Sub TextBox1_Validating(ByVal sender As Object,
ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox1.Validating
'date validation

If TextBox1.Text = "" Then


ErrorProvider1.SetError(TextBox1, "Enter the Date")
e.Cancel = True
Else
ErrorProvider1.SetError(TextBox1, "")
End If
End Sub

Private Sub TextBox11_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox11.Validating
'E-mail validation
Dim exp As New
System.Text.RegularExpressions.Regex("\w+@\w+\.\w+")
If TextBox11.Text = "" Then
ErrorProvider3.SetError(TextBox11, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider3.SetError(TextBox11, "")
End If

If exp.IsMatch(CType(sender, TextBox).Text) Then


ErrorProvider4.SetError(TextBox11, "")
Else
ErrorProvider4.SetError(TextBox11, "Incorrect Data")
e.Cancel = True
End If
End Sub

Private Sub TextBox7_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox7.Validating
'validating tel_office
Dim exp As New
System.Text.RegularExpressions.Regex("\d{7}")

If exp.IsMatch(CType(sender, TextBox).Text) Then


ErrorProvider6.SetError(TextBox7, "")
Else
ErrorProvider6.SetError(TextBox7, "Enter only digits")
e.Cancel = True
End If
If Len(TextBox7.Text) <> 7 Then
ErrorProvider5.SetError(TextBox7, "Enter only 7 digits")
e.Cancel = True
Else
ErrorProvider5.SetError(TextBox7, "")
End If

End Sub
Private Sub TextBox8_Validating(ByVal sender As Object,
ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox8.Validating
'validating tel_residence
Dim exp As New
System.Text.RegularExpressions.Regex("\d{7}")

If exp.IsMatch(CType(sender, TextBox).Text) Then


ErrorProvider7.SetError(TextBox8, "")
Else
ErrorProvider7.SetError(TextBox8, "Enter only digits")
e.Cancel = True
End If
If Len(TextBox8.Text) <> 7 Then
ErrorProvider8.SetError(TextBox8, "Enter only 7 digits")
e.Cancel = True
Else
ErrorProvider8.SetError(TextBox8, "")
End If
End Sub

Private Sub TextBox9_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox9.Validating
'validating mobile1
Dim exp As New
System.Text.RegularExpressions.Regex("\d{10}")

If exp.IsMatch(CType(sender, TextBox).Text) Then


ErrorProvider9.SetError(TextBox9, "")
Else
ErrorProvider9.SetError(TextBox9, "Enter only digits")
e.Cancel = True
End If
If Len(TextBox9.Text) <> 10 Then
ErrorProvider10.SetError(TextBox9, "Enter only 10 digits")
e.Cancel = True
Else
ErrorProvider10.SetError(TextBox9, "")
End If
End Sub

Private Sub TextBox10_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox10.Validating
'validating mobile2
Dim exp As New
System.Text.RegularExpressions.Regex("\d{10}")

If exp.IsMatch(CType(sender, TextBox).Text) Then


ErrorProvider11.SetError(TextBox10, "")
Else
ErrorProvider11.SetError(TextBox10, "Enter only digits")
e.Cancel = True
End If
If Len(TextBox10.Text) <> 10 Then
ErrorProvider12.SetError(TextBox10, "Enter only 10
digits")
e.Cancel = True
Else
ErrorProvider12.SetError(TextBox10, "")
End If
End Sub
Private Sub TextBox6_Validating(ByVal sender As Object,
ByVal e As System.ComponentModel.CancelEventArgs)
'validating pin code
Dim exp As New
System.Text.RegularExpressions.Regex("\d{6}")

If exp.IsMatch(CType(sender, TextBox).Text) Then


ErrorProvider13.SetError(TextBox6, "")
Else
ErrorProvider13.SetError(TextBox6, "Enter only digits")
e.Cancel = True
End If
If Len(TextBox6.Text) <> 6 Then
ErrorProvider14.SetError(TextBox6, "Enter only 6 digits")
e.Cancel = True
Else
ErrorProvider14.SetError(TextBox6, "")
End If
End Sub

Private Sub TextBox14_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox14.Validating
'validating name
If TextBox14.Text = "" Then
ErrorProvider15.SetError(TextBox14, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider15.SetError(TextBox14, "")
End If

End Sub

Private Sub TextBox15_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox15.Validating
'validating mname
If TextBox15.Text = "" Then
ErrorProvider16.SetError(TextBox15, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider16.SetError(TextBox15, "")
End If
End Sub

Private Sub TextBox16_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox16.Validating
'validating lname
If TextBox16.Text = "" Then
ErrorProvider17.SetError(TextBox16, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider17.SetError(TextBox16, "")
End If
End Sub

Private Sub TextBox4_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox4.Validating
'validating city
If TextBox4.Text = "" Then
ErrorProvider18.SetError(TextBox4, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider18.SetError(TextBox4, "")
End If
End Sub

Private Sub TextBox5_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox5.Validating
'validating country
If TextBox5.Text = "" Then
ErrorProvider19.SetError(TextBox5, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider19.SetError(TextBox5, "")
End If
End Sub

Private Sub TextBox13_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox13.Validating
'validating state
If TextBox13.Text = "" Then
ErrorProvider20.SetError(TextBox13, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider20.SetError(TextBox13, "")
End If
End Sub

Private Sub TextBox12_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox12.Validating
'validating bloodgroup
If TextBox12.Text = "" Then
ErrorProvider21.SetError(TextBox12, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider21.SetError(TextBox12, "")
End If
End Sub

Private Sub TextBox2_Validating(ByVal sender As Object,


ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox2.Validating
'validating designation
If TextBox2.Text = "" Then
ErrorProvider22.SetError(TextBox2, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider22.SetError(TextBox2, "")
End If
End Sub
Private Sub TextBox3_Validating(ByVal sender As Object,
ByVal e As System.ComponentModel.CancelEventArgs) Handles
TextBox3.Validating
'validating address
If TextBox3.Text = "" Then
ErrorProvider23.SetError(TextBox3, "Pls. Enter Data")
e.Cancel = True
Else
ErrorProvider23.SetError(TextBox3, "")
End If
End Sub

Private Sub Button13_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button13.Click
'REMINDER FOR BIRTHDAYS.
Dim dy, mn As Integer
Dim str As String
dy = VB.Day(Today)
mn = Month(Today)
str = ""
Dim cmd As OleDbCommand
Dim dr As OleDbDataReader
cn.Open()
cmd = New OleDbCommand("select * from Phonebook ", cn)
dr = cmd.ExecuteReader
'Do
'While dr.Read()
'dy = CInt(VB.Day(dr(4)))
'mn = CInt(Month(dr(4)))
'MsgBox("day : " & dy & " Month : " & mn)
'End While
'Loop While dr.NextResult()
Do
While dr.Read()
If dy = CInt(VB.Day(dr(4))) And mn =
CInt(Month(dr(4))) Then
str = " Todays Birthdays : " & "Name : " & dr("Name")
& " ; Telephone : " & dr("Mobile1")
Else
str = "No Birthdays For Today!!!!!!!!!"
End If

End While

Loop While dr.NextResult()


MsgBox(str)

dr.Close()
cn.Close()

End Sub

Private Sub Button14_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button14.Click
PrintDialog1.ShowDialog()
End Sub

Private Sub GroupBox1_Enter(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles GroupBox1.Enter

End Sub

End Class

Das könnte Ihnen auch gefallen