![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 4
Rep Power: 0
![]() |
hi all..
C# is new to me so I'll be grateful if somebody can give me a hand on this I'm workng on a C# application that works with a database.. I originally started it as a 'window form' (so normally it is displayed as an icon of a grey window in the treeview solution explorer), but somehow it 'converted' itself into another type of form, displaying itself as an icon that could be for a 'Component class' or 'window service' etc.. so here's my problem: I created a new window form (lets call it Form2), and added a button in Form1 so the user can navigate themselves to Form2 via a button click from the Form1... however because the two forms seem to be of different 'type' now I can't seem to make a link between them for the users to be able to navigate from one form to another. Here's what I tried: Form f = new Form2; f.show(); etc etc.. ..which i know works if i had two simpe window forms to work with rather than the two forms that are apparently of different types i've got at the moment: the trouble is, I have no idea why Form1 had turned into another (unknown) type (I know because the icon is no longer the normal grey window), unfortunately i think this could be the reason why i can't open Form2 from Form1... I hope this is clear enough.. I really dont know how else to explain it.. Any help is appreciated! thanks in advance :p |
|
|
|
|
|
#2 |
|
Expert Programmer
|
I don't think anyone understands the problem, can you post some code which demonstrates what you are trying to explain maybe?
__________________
Clifford Matthew Roche <geek@cliffordroche.com> Web Hosting: http://www.crd-hosting.com Consulting: http://www.crdev-consulting.com |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jun 2005
Posts: 4
Rep Power: 0
![]() |
got the problem sorted..turns out i've overlooked the fact that they were in different namespaces! lol... thanks anyway !
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|