In a windows application, you can create a new form and you can call that form by instantiating it inside the current form.
in windows phone app using XNA how can I do this? I want to create a menu page. then when a button from the menu page is clicked . it goes to another form .
I would recommend you that you should use an SLXNA project for your game and then you can handle the navigation between pages easily and you can use SL components and controls too.
SLXNA sample and tutorial
If you are looking to solve this only by XNA then i suggest you to look at the MSDN samples. They have MenuScreen integration and i think you are looking for this.
MSDN Code Samples and Tutorials
Catapult Wars Tutorial Game
Related
I am working on android application using xamarin forms. We have a list that is displaying items. Client want to delete the item on swipe, "left to right" vice versa . I have a link that is working for xamarin android that i am share with you Click here . I need same thing for Xamarin form. If anybody have any idea please share with me. Thank you.
Currently the Xamarin Forms support only a specific set of gestures.
Those are Pan, Tap and Pich. It does not support Swipe.
You can go and create these events in your native projects and expose via a Renderer.
Or you can use the MR.Gestures which has all the events you need.
The XLabs project has gestures, which you can use. More discussion about it can be found in this forum thread.
This a good tutorial - Gesture Recognizers with Xamarin.Forms you can look into if you are trying to build your own gesture recognizes.
There is 2 good solutions provided to this SO Question - Xamarin Forms Swipe Left/Swipe Right Gestures.
I'm new to XNA, however I managed to develop a pac man game. Now I'm trying to add some forms to the game to be used as a log in screen,but due to being an XNA project I can't add pictures to the form, any help pls?
Thx for your time
XNA doesn't work like WinForms, it isn't a GUI editor. Like you said, you can't add windows controls to a XNA application (unless you use a workaround, but that's not necessary for a login screen)
You'll need to use Game States to determine what to draw/update based on which menu you're currently in. The APP Hub has an example for that.
I am new to .NET so I have a basic question to ask, is there a way to add Windows Forms application to my web page, as creating forms was easy and I created my app in the form format now I want to add them to asp.net page.
It's a different thing, but you might want to look into the silverlight out-of-browser technology.
http://www.silverlight.net/learn/overview/out-of-browser-applications/out-of-browser-applications-(silverlight-quickstart)
Spend good time on w3schools.com learning about <form> tags..
then gradually move on towards processing data at backend using C#
a good starting point can be http://www.deitel.com/articles/csharp_tutorials/20060128/index.html
Long way to go..first get your basics right!!
If you have basic knowledge of html, then you can learn the basics of asp.net too. Then you can easily create a web form which exactly matches your windows forms. But always keep it in mind, webforms are not as flexible as windows forms.
well... there are something you can do that is similar.
You can add your windows-form to an BHO and install it in you webBrowser as an ActiveX object (for a IE) or extension (in other browsers), and then share it to everyone you want. Then your win-form application can start and interact with your web-page.
You can start looking here: http://msdn.microsoft.com/en-us/library/bb250436(v=vs.85).aspx
hope it help.
Windows form cannot be added in a web form. They altogether are a different technology. You can add link in your web app for downloading Windows app.
I have a simple wp7 app with 3 pages. I've made page transition to work (with built-in transitions from TransitionService (slide, rotate roll...) as shown in this simple tutorial. On one of my phone page, I bind few different ViewModels (only one is visible). Also, there I have a button which change DataContex (visible ViewModel). All of that work perfectly. What I want to do is to input somekind of transition on DataContex change (as I have on phone page navigation), so it would appear that the user is navigating on other page.
I appreciate any advice.
Christian Schormann demos creating page transitions in his Mix talk CL02. Download the video in high res format and play it locally will make it easy to follow.
Alternatively, you could make use of the Transition control packaged with the November Windows Phone Toolkit to do this work for you. Discussed in more detail here.
Transitions for Windows Phone 7 - Will's Blog
Depending on what you want to animate you could look at using a StoryBoard.
I am searching for an Asp.net control like this one ,that can animate and make dynamically a slideshow with photos from database and music and then show in my asp.net page
Link here:
http://doctorbilic.com/cartea/
The above is coded in PHP
If you want to use Silverlight, then here is what you need:
These links are to source code to make a slideshow
http://www.codeplex.com/SlideShow
http://www.codeplex.com/SlideShow2
This link is to a blog entry on how to add sound to your Silverlight application
http://blogs.silverlight.net/blogs/msnow/archive/2008/07/25/tip-of-the-day-22-how-to-add-sound-effects-music-and-video-to-your-silverlight-app.aspx
Using those together will get you what you want.
Also look at this page. They have a product that will do it for you (also in silverlight) for about $50
This was done in Flash, actually. But you can try using jQuery with all its effects to achieve something close to that.