Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a compile error said that GraphicDevice.present(IntPtr)doesn't has one parameter Please can help me I want to draw an animation in a panel in form
and I don't know how to use GraphicDevice.present(Nullable<regtangle>,Nullable<regtangle>,IntPtr)
thank you very much
Posted
Comments
Sergey Alexandrovich Kryukov 25-Dec-11 13:35pm    
Not a question. Nothing to talk about. You would need to explain what you want to achieve, what did you try, what the problem, etc.
--SA

1 solution

You complain is that there is no GraphicDevice.Present(IntPtr). There is no such method as GraphicDevice.Present(Nullable,Nullable,IntPtr). Your question shows, the problem is not that you don't know how to use one or another method. Your problems is that you don't understand language which could possibly explain to you how to do things. You failed to interpret and even remotely understand what the MSDN help page tells you: http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.graphicsdevice.present.aspx[^].

In this situation, further help would look, well… pretty helpless. What, shall we teach you the language, basic ideas of CLR or something like that? This would go far beyond normal help via Quick Questions & Answers.

You first need to get some understanding of C#, basics of CLR, etc. Even that looks a bit questionable. Anyway, it's too early for you to get to UI. You need to learn some elementary notions and techniques, including OOP and generics, perhaps on simple console-application examples. You would need to grab some manual and read it with understanding.

When you feel comfortable, come back; we will gladly help you.

—SA
 
Share this answer
 

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