Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
XML
i have developed a windows form c# desktop applicaion,
ii want to see this in browser, thats why i  include it in wpf bowser app, using windows form host, now i can see it in browser,
then i showed that xbap in asp.net iframe.

iframe is  `<iframe name="I1" id="I1" runat =server   ></iframe>`
stack panel in wpf  `<StackPanel Height="201" HorizontalAlignment="Left"  Name="stackPanel1" VerticalAlignment="Top" Width="223" Background="#FFCECECE">`


setting windows form host is like...



    stackPanel1.Width = mfrm.Width;
                stackPanel1.Height = mfrm.Height;
                windowsformhost.Width = mfrm.Width;
                windowsformhost.Height = mfrm.Height;
                 mfrm.TopLevel = false;
                windowsformhost.Child = mfrm;

                stackPanel1.Children.Add(windowsformhost);

now there is a header coming having **forward** and **back** button, how to remove it![i want to hide the portion which is in red circle][1]


  [1]: http://i.stack.imgur.com/4oNxx.jpg
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900