I am using the following code to show existing C# forms. It works for some and not for others Suggestions would be appreciated!
Form frmFDDsearch = new frmFDDsearch();
frmFDDsearch.Show();
history84084 0 Newbie Poster
Recommended Answers
Jump to PostI am using the following code to show existing C# forms. It works for some and not for others Suggestions would be appreciated!
Form frmFDDsearch = new frmFDDsearch();
frmFDDsearch.Show();you have to use not the generic Form class, you have to use your own form class which could be Form1, …
Jump to PostI assume frmFDDsearch is a class derived from the Form class.
Then do the following:
frmFDDsearch S= new frmFDDsearch();
S.Show();
Jump to Postso it will be like
frmFDDsearch frm = new frmFDDsearch(); frm.show();
All 11 Replies
serkan sendur 821 Postaholic Banned Featured Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
serkan sendur 821 Postaholic Banned Featured Poster
serkan sendur 821 Postaholic Banned Featured Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
serkan sendur 821 Postaholic Banned Featured Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
serkan sendur 821 Postaholic Banned Featured Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
serkan sendur 821 Postaholic Banned Featured Poster
kvprajapati 1,826 Posting Genius Team Colleague
serkan sendur commented: you take advantage of Daniweb's solved threads system -1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.