TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
satheesh babu
NA
128
312.6k
How to write an event in c#.net using vb code(windows application)
May 6 2009 4:52 AM
Hi all,
here i am giving vb code below.
Object = "{FE9DED34-E159-408E-8490-B720A5E632C7}#1.0#0"; "zkemkeeper.dll"
Begin zkemkeeperCtl.CZKEM CZKEM1
Height = 615
Left = 0
OleObjectBlob = "FormMain.frx":0096
TabIndex = 12
Top = 0
Visible = 0 'False
Width = 615
End
Begin VB.CommandButton cmdRestartDevice
Caption = "RestartDevice"
Height = 375
Left = 4080
TabIndex = 21
Top = 5040
Width = 1575
End
Private Sub cmdRestartDevice_Click()
frm2.CZKEM1.RestartDevice CInt(frm2.txtMachNum.Text)
End Sub
Private Sub CZKEM1_OnHIDNum(ByVal CardNumber As Long)
MsgBox CStr(CardNumber)
End Sub
In the above code i am getting success fully the cmdRestartDevice_Click() event.
But i am not getting CZKEM1_OnHIDNum(ByVal CardNumber As Long) this event.
Means i think(custom control) this CZKEM1 is created in the above code with begin and end.
How can we create that custom control in
c#.net
for windows application.
Please help me out...
thank you....
Reply
Answers (
0
)
How to listen tcp/ip port value in my windows application form
Add Buttons dynamically in the datagridview windows forms