Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

View other MDIForm

Hi Experts,
In my windows application.I am having a MDIForm,where there is a button called,'MULTISESSION' and other button 'SWITCH'
on the click of multisession,I create new instace of this MDIForm and call the show method.

Now what I want is,on the 'SWITCH' button,I want to alter these forms,the 'SWITCH' button will be present on both MDIforms(as they r same).

How can I do this?
0
Johny Bravo
Asked:
Johny Bravo
  • 5
  • 3
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
what do you want to alter?
0
 
Johny BravoAuthor Commented:
alter the view.I mean as we do with "Alt + tab".
Switching the view.
0
 
Éric MoreauSenior .Net ConsultantCommented:
isn't CTRL-TAB already working? also if you have a menu, one of them should be a MDIList so it will automatically display the list of child form.

that said, if you really want to have your own switch button, you will need to loop through the collection of children form and activate another one.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Johny BravoAuthor Commented:
hmm that's fine.But the forms are two different MDIForms.The other MDIForm is another instance of the same MDIForm.
0
 
Éric MoreauSenior .Net ConsultantCommented:
do you mean in another instance of your application? you have 2 running applications and you want to switch from one to the other?
0
 
Johny BravoAuthor Commented:
ya
0
 
Johny BravoAuthor Commented:
Hi emoreau,
I have solved this problem but I really appreciate your help.
0
 
Johny BravoAuthor Commented:
Thanks
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now