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
James Alcroft
NA
18
22.6k
Inherited forms
Aug 6 2008 6:46 PM
Hi. I have been developing for many years, in Delphi, and I am currently looking at changing to C#. I understand the concept on inherited forms, but I am struggling with it in C#.
I have created a DLL which contains a form. On this form is simply a BindingNavigator and a DataGridView. Everything works fine. When I add this form to another form in my project, all works. But why can't I add insert button onclick events without coding the assignment, ie :frm.navInsert.Click += NewContact and then have to create a method NewContact?
If I add the above line into the form.designer.cs, I then can't view the form in design mode. I'm not asking for much, it is really simple in Delphi, you click on the grid and you can change any property and create any event, but you can't click on the grid in C#, only the form.
Any help would be gratefully recieved.
Many thanks.
James
Reply
Answers (
2
)
Add shortcut key to user control
facing the problem in displaying the special characters in C#