|
-
January 4th, 2010, 03:31 PM
#15
Re: [RESOLVED] Need Help on this Bank Program!
 Originally Posted by rocky_upadhaya
What I want to do is open that new form on top of existing form.
I think this should be enough:
Code:
frm2.StartPosition = FormStartPosition.CenterParent; // here you can choose the start position
frm2.ShowDialog(this); // shows the form as a modal window, this means you cannot switch to the main form until you close it
Last edited by memeloo; January 4th, 2010 at 03:33 PM.
win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming
remeber to give feedback  you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation
private lessons are not an option so please don't ask for help in private, I won't replay
if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know
Tags for this Thread
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
|