|
-
Jul 29th, 2005, 11:56 AM
#1
Thread Starter
PowerPoster
cant access form?[RESOLVED]
I cannot seem to create an instance and access another class or form in C#. however in Windows Development in C# I am able to create an instance of another form
is there a way to create and initialise another form in C# mobile development?
usually its:
private frmSomeform = new frmSomeform();
etc....
but i cannot get the name of the form to show in mobile development.
Last edited by Techno; Jul 31st, 2005 at 06:04 AM.
-
Jul 30th, 2005, 06:56 AM
#2
Fanatic Member
Re: cant access form?
private frmSomeform = new frmSomeform();
frmSomeform.Show() or .ShowDialog
will display the form, is that what you are looking for
or are you looking the the .name method?
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Jul 30th, 2005, 08:00 AM
#3
Thread Starter
PowerPoster
Re: cant access form?
I cant get the name of the form at all
if i do frm and look at the list of method/objects - it only shows the current form (Form1)...
-
Jul 31st, 2005, 06:04 AM
#4
Thread Starter
PowerPoster
Re: cant access form?
namespaces was the problem....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|