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

I need help with C# and Visual Studio C#!

Ajm113
161 100+
1.What is the comand to hid a window then starting a new one? Like Onload or something, but I can't find any examples how to use it!

2.For some reason in Visual Studio C# I can't change the mouse cursor from WaitCursor to Defualt. It keeps changing back to the Wait! Any sujestions?
Jun 26 '07 #1
4 1229
Silent1Mezzo
208 100+
1.What is the comand to hid a window then starting a new one? Like Onload or something, but I can't find any examples how to use it!

2.For some reason in Visual Studio C# I can't change the mouse cursor from WaitCursor to Defualt. It keeps changing back to the Wait! Any sujestions?
First this should be in the .NET forums
Now to your questions:
1. form.hide(); will hide the window
2. I don't know this one :P Sorry
Jun 26 '07 #2
Ajm113
161 100+
I get a error saying that it does not know the hide command...
Jun 26 '07 #3
weaknessforcats
9,208 Expert Mod 8TB
I am moving this to the .NET forum.
Jun 26 '07 #4
1.What is the comand to hid a window then starting a new one? Like Onload or something, but I can't find any examples how to use it!

2.For some reason in Visual Studio C# I can't change the mouse cursor from WaitCursor to Defualt. It keeps changing back to the Wait! Any sujestions?
Hi Ajm113

i hope that i well understood your question and here is my answer, if you are using window forms in asp.net 2-0

1. Try this code on Load function
{
Form1 obj = new Form1();
MessageBox.Show("Would You like to dispose Form1?", "Conformation", MessageBoxButtons.OK, MessageBoxIcon.Question);
Form1.ActiveForm.Visible = false;
obj.Dispose();
obj.DestroyHandle();


Form2 obj1 = new Form2();
obj1.Visible = true;
obj1.UseWaitCursor = false;
obj1.Show();
}

2. and to hide the waitCursor

obj1.UseWaitCursor = false; // this code is also used in the first one after //Form2 obj1 = new Form2();
//obj1.Visible = true; code

I hope your problem might be solved
Jun 27 '07 #5

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

Similar topics

0
by: TDM | last post by:
Hello all, I suspect I created my own problem as I had a need to install an older version of MSDN Library so now my .NET Documentation is broken. When I run : Start/All Programs/Microsoft...
3
by: fastwings | last post by:
mm the code //////makemenu.h//// class menu { public: int op; pmenu(int op,int sub = 0) { switch op {
3
by: Andrej Hristoliubov | last post by:
I am the best c++ programmer in the whole wide world. Trust ME! My reference is Victor Bazarov,Valentin Samko,Alf P.Steinbach( Me and Alf actually intern together at Microsoft), and Bjarne...
2
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project...
3
by: Shapper | last post by:
Hello, Until now I have been using Dreamweaver to create ASP.Net/VB web sites. I gave up of using it. Too many limitations. What is the best software to create ASP.NET/VB web sites? Maybe...
1
by: ligong.yang | last post by:
Hi all, I got tortured by a very weird problem when I was using k. wilder's random generator class in my program. PS: wilder's generator class can be found at...
1
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up...
1
by: JavaNme | last post by:
I need someone to debug the following errors for me, so that i can run the program. 1>------ Build started: Project: TheBankProject, Configuration: Debug Win32 ------ 1>Compiling... 1>BANK.cpp...
2
by: BruceWho | last post by:
I downloaded boost1.35.0 and built it with following command: bjam --toolset=msvc-7.1 --variant=release --threading=multi -- link=shared --with-system stage and it failed to compile, error...
2
by: Cramer | last post by:
So, what is the relationship between Visual Studio and Visual Web Developer. I find a lot of documentation on MSDN that presents Visual Web Developer as it's own stand-alone product (which I'd...
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:
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.