473,396 Members | 1,724 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,396 software developers and data experts.

Form Activation?

Hi,

I have a pocket pc project and am developing it with C#.
I want to activate a form which has already created in pocket pc.

I have looked that there is no activeform property for mobile forms. So i
cannot activate existing form, i cannot make its visible property true. In
brief, the solution is possibly creating a new instance of this form. But
this is not efficient for navigation. Any suggestion for better navigation?

How can i activate existing form in mobile application?

Thanks...
Nov 15 '05 #1
3 5085
Use the Show method. Declare an instance of the form as a static property
or at the module level if you know that it's only going to be called from
one form. Then just use Show. You are right, on the PPC, instantiating a
new instance of a form each time you want to show it can have ghastly
performance side-effects. You can use Visible for instance, coupled with
Maximize/Minimize events and do what you need.
"Adam Right" <ad**@adam.com> wrote in message
news:uk*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a pocket pc project and am developing it with C#.
I want to activate a form which has already created in pocket pc.

I have looked that there is no activeform property for mobile forms. So i
cannot activate existing form, i cannot make its visible property true. In
brief, the solution is possibly creating a new instance of this form. But
this is not efficient for navigation. Any suggestion for better navigation?
How can i activate existing form in mobile application?

Thanks...

Nov 15 '05 #2
Hi William,

Can you describe it with a simple example?

"William Ryan" <do********@comcast.nospam.net> wrote in message
news:Or*************@tk2msftngp13.phx.gbl...
Use the Show method. Declare an instance of the form as a static property
or at the module level if you know that it's only going to be called from
one form. Then just use Show. You are right, on the PPC, instantiating a
new instance of a form each time you want to show it can have ghastly
performance side-effects. You can use Visible for instance, coupled with
Maximize/Minimize events and do what you need.
"Adam Right" <ad**@adam.com> wrote in message
news:uk*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a pocket pc project and am developing it with C#.
I want to activate a form which has already created in pocket pc.

I have looked that there is no activeform property for mobile forms. So i cannot activate existing form, i cannot make its visible property true. In brief, the solution is possibly creating a new instance of this form. But this is not efficient for navigation. Any suggestion for better

navigation?

How can i activate existing form in mobile application?

Thanks...


Nov 15 '05 #3
ProjectName.CurrentFormName newForm = new CurrentFormName();
newForm.Show();

"Adam Right" <ad**@adam.com> wrote in message
news:uk*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a pocket pc project and am developing it with C#.
I want to activate a form which has already created in pocket pc.

I have looked that there is no activeform property for mobile forms. So i
cannot activate existing form, i cannot make its visible property true. In
brief, the solution is possibly creating a new instance of this form. But
this is not efficient for navigation. Any suggestion for better navigation?
How can i activate existing form in mobile application?

Thanks...

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: R. Rajesh Jeba Anbiah | last post by:
I'm supposed to do the account activation via email. I mean *not* sending the activation link like http://foo.com/foo.php?actcode=foo. But, I would like it to be like...
29
by: Mic | last post by:
Goal: delay execution of form submit Code (Javascript + JScript ASP): <% Response.Write("<OBJECT ID='IntraLaunch' STYLE='display : none' WIDTH=0 HEIGHT=0...
4
by: Stuart Perryman | last post by:
Hi, I have the following code which works just fine in IE6 but not in Firefox. It is an extract of several table rows each with an individual form. It is generated by php. <form...
30
by: (Pete Cresswell) | last post by:
Just fired it up to see what it looked like. They wanted me to "Activate" the product before the 50th use. Geeze, I paid my money....now they want me to jump through their hoops? Brings back...
11
by: Paul Aspinall | last post by:
Hi Can anyone offer any hints / tips for creating registration keys / application activation, as software copy protection measures for a Winform app developed in C#? Thanks
1
by: DomGo | last post by:
Hi, I try to open a form, that automatically loses focus to the window, that had the focus immediatly before the new form has been opened. The new form is topmost and displays a message only for...
0
by: Wayne Smith | last post by:
I've taken the following code from a developers web site which should allow a user to register and receive an email message with a link to activate their account, but when I click the link on my...
2
by: Ralph | last post by:
Hi I don't understand why it's not working: function schedule(imTop){ this.tdImagesTop = imTop; } schedule.prototype.selectEl = function() { alert(this.tdImagesTop);
11
by: davidiwharper | last post by:
Hi everyone, I'm writing a web form and a backend Perl script to send a query to the administrator. V1 of the script is working well, it's basically just a simple get-data-send-email script....
5
by: Andrus | last post by:
Steps to reproduce issue: 1. Run code. 2. Enter some data to grid 3. Click other form caption 4. Click original form caption 5. Enter some characters Observed: entered characters are ignored
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.