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.2k
How to write an event using c#.net in windows application
May 8 2009 7:18 AM
Hi all,
Here i have a SDK for my access card machine and i registered that dll and refering that dll in my solution. so now i can use menthods,properties,events from that sdk.
i got a demo application with that sdk but it is in Visual Basic only.
they are refering that dll like below
Object = "{FE9DED34-E159-408E-8490-B720A5E632C7}#1.0#0"; "zkemkeeper.dll"
and creating some thing(i don't know) by using below code
Begin zkemkeeperCtl.CZKEM CZKEM1
Height = 615
Left = 0
OleObjectBlob = "FormMain.frx":0096
TabIndex = 12
Top = 0
Visible = 0 'False
Width = 615
End
after this by using CZKEM1 they are writing some events like below.
Private Sub CZKEM1_OnFinger()
txtEvent.Text = "OnFinger" & Chr(13) & Chr(10) & txtEvent.Text
End Sub
Private Sub CZKEM1_OnFingerFeature(ByVal Score As Long)
txtEvent.Text = "OnFingerFeature(" & Score & ")" & Chr(13) & Chr(10) & txtEvent.Text
End Sub
Private Sub CZKEM1_OnHIDNum(ByVal CardNumber As Long)
MsgBox CStr(CardNumber)
End Sub
Private Sub CZKEM1_OnKeyPress(ByVal Key As Long)
txtEvent.Text = "OnKeyPress(" & Key & ")" & Chr(13) & Chr(10) & txtEvent.Text
End Sub
all the above code in Visual Basic only........
Now my query is i want all these events need to fire using c#.net in windows application..........
how can i do this?
thank you.......
Reply
Answers (
2
)
giving name to datagridview cells statically
listbox