Re: Which do you prefer?
- From: "Master Programmer" <master_programmer@xxxxxxxxxx>
- Date: 4 Dec 2006 01:32:10 -0800
Harder to read
The Grand Master
"When you have climbed to the top of the mountain you can look down at
everyone."
Blake wrote:
On Dec 4, 1:24 pm, "Master Programmer" <master_program...@xxxxxxxxxx>
wrote:
Which do you prefer?
Classic VB example:
*************************
Private Sub Command1_Click()
MsgBox "Hello, World"
End Sub
A VB.NET example:
**************************
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
MessageBox.Show("Hello, World")
End Sub
What do you prefer?
Classic VB example:
*************************
Private Sub Command1_Click()
MsgBox "Hello, World"
End Sub
Private Sub Command2_Click()
MsgBox "Hello, World"
End Sub
Private Sub Command3_Click()
MsgBox "Hello, World"
End Sub
Private Sub Command4_Click()
MsgBox "Hello, World"
End Sub
Private Sub Command5_Click()
MsgBox "Hello, World"
End Sub
Private Sub Command6_Click()
MsgBox "Hello, World"
End Sub
Private Sub Command7_Click()
MsgBox "Hello, World"
End Sub
A VB.NET example:
**************************
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
Handles Button1.Click, Button2.Click, Button3.Click, Button4.Click,
Button5.Click, Button6.Click, Button7.Click,
MessageBox.Show("Hello, World")
End Sub
.
- Follow-Ups:
- Re: Which do you prefer?
- From: guy
- Re: Which do you prefer?
- From: RobinS
- Re: Which do you prefer?
- References:
- Which do you prefer?
- From: Master Programmer
- Re: Which do you prefer?
- From: Blake
- Which do you prefer?
- Prev by Date: Re: VS2005
- Next by Date: Re: CInt produce System.ArgumentException: "currency separator information is ambiguous for parsing"
- Previous by thread: Re: Which do you prefer?
- Next by thread: Re: Which do you prefer?
- Index(es):