473,381 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,381 software developers and data experts.

what's the code for changing Screen?

I want to move from one Screen to another screen. Can you tell me about it.
Sep 10 '09 #1
9 1769
markmcgookin
648 Expert 512MB
Probably...

(Hint: More information helps with responces)
Sep 10 '09 #2
Hey Mark,
Can you plz give me a big hint.
I m unable to understand your hint.

Thanxxxxx for replying me.
And Nice picture budy
Sep 10 '09 #3
markmcgookin
648 Expert 512MB
Kapil,

We don't know what you mean by "Move from one screen to another" is this on the PDA? How does a PDA have two screens? What OS are you using? What device is it? What language are you writing in?
Sep 10 '09 #4
I am writting in C#.
and my mean that I have two forms. How I hide form1 and how to display form2 while form2.show property is not working in Windows Mobile 6.
So now can you help me.
Sep 11 '09 #5
markmcgookin
648 Expert 512MB
First of all Form.Show(); is a method not a property, so make sure you are putting () after the .Show.

You need to create an instance of the form

Expand|Select|Wrap|Line Numbers
  1.  frmYourForm form = new frmYourForm(); 
then you need to call it's .show method

Expand|Select|Wrap|Line Numbers
  1.  form.show(); 
Is this what you have tried? Are there any SPECIFIC errors?
Sep 11 '09 #6
Thank You Dear, Thats it what I am Looking for.
Thank you very much for helping me in my other problems too.
Sep 11 '09 #7
markmcgookin
648 Expert 512MB
No problem, that's what we are here for :)
Sep 11 '09 #8
Hey Mark, Can you tell me that how can I take a value of one form to another.
my mean for this purpose there are a lots of technique in ASP.Net where from I. but ASP.Net is a Web development Area.

I had worked in VB6 too. I gives us the facility of Modules in which we can put global variables.

Whats in C# for. I have a variable and I need its value on the other form How can I do it?
Sep 11 '09 #9
markmcgookin
648 Expert 512MB
In the constructor for your 2nd form (the bit at the top that is the same as the file name

i.e.
Expand|Select|Wrap|Line Numbers
  1. public frmMyForm()
you need to allow it to accept an argument/variable.

so it would need changed to

Expand|Select|Wrap|Line Numbers
  1. public frmMyForm(string _yourVariable)
then when you create the form in your first form you should pass it in

Expand|Select|Wrap|Line Numbers
  1.  frmMyForm newForm = new frmMyForm(strVariable) 
then it will be passed into your new form
Sep 11 '09 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: John Hrusovszky | last post by:
I am brand new to VB and attempting to teach it to myself, and in playing around with an application I am writing, I am loading 1 screen, and then when the user hits "begin", change the...
3
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
1
by: Mad Scientist Jr | last post by:
I have a textbox control (for simplicity call it Text1) with autopostback turned on. It has a couple validators: RequiredFieldValidator_Text1 RegularExpressionValidator_Text1 The Text1...
6
by: Darian | last post by:
I am wondering how (if it is possible of course) I can change a users screen resolution to a certain size when running my application and then change it back when they exit my application. For...
12
by: DanG | last post by:
We're running Visual Studio 2003 version 1.1.4322 SP1 to build a web application. Something strange started happening this morning on one of my co- workers' Development Environments. The...
4
by: VK | last post by:
As per discussion in the thread http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/117e4f3a30f4d1c3 I'm proposing to add new FAQ entry: ...
0
by: A. User | last post by:
All, I created an Access 2000 MDE application in 1024x768. A user of mine, who is running Vista with Office 2007, can not see the entire application- the right most side is off the screen. No...
33
by: Adeel Hasan Akbari | last post by:
Hi! I'm new to this field. Actually i'm a new programmer. And i've never worked in C. It is my humble request to you to provide me with the source code for Spaceball (the game in which there's...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.