Hello, i am making a vc# project...can you give some tips on my prob... i want to open a new form while closing my current form...

Is your "Current form" the main form of your application or is it another form? And do you want to dispose the form or hide it?

Hello, i am making a vc# project...can you give some tips on my prob... i want to open a new form while closing my current form...

Well you just write following code on close button click:

Form2 f2=new Form2();
f2.show();
this.close();

Mark this thread as solved if your problem will solved.....:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.