The DataGridView control does not implement any method for doing Drag&Drop of items or rows out of it, but it can easily be done with some custom code. This first example will hande dragging of entire rows out of the DataGridView:private void dataGridView1_MouseMove(object sender, MouseEventArgs e){ if (e.Button == MouseButtons.Left) { // If the datagrid has any selected row, and...
XNA Collision Detection (Part III). Content Processing (code fixed)
[Please NOTE: This article is OBSOLETE. It has been re-written and completed in this newer posts: part 1 and part 2] Put in the Mesh class all the info wee need Very much like we did in the Custom Content Processing post, we are going to use the “Tag” property of a mesh to store what we want, which in this case is something like this: public class MeshData { ...
XNA Collision Detection (Part II)
[Please NOTE: This article is OBSOLETE. It has been re-written and completed in this newer posts: part 1 and part 2] Accurate collision detection ( I assume here that you´ve read my post about Custom Content Processing: http://graphicdna.blogspot.com/2007/02/xna-customizing-content-processing.html ) A more accurate collision model is sometimes needed. The best is to develop a library...
XNA Collision Detection (Part I)
[Please NOTE: This article is OBSOLETE. It has been re-written and completed in this newer posts: part 1 and part 2] Preface: If you want to see an introductory post to Collision Detection, check out this one: http://graphicdna.blogspot.com/2007/02/3d-intersection-concepts-and.html XNA collision detection In D3D there´s a method called Mesh.Intersect that performs a Mesh-Ray...
Ford

I wanted to dedicate a post to introduce "ford", my dog.He is extremely friendly and gives us some very good momen...
The Simax Project. New video
Yesterday, a new video of the simulator engine was released.It shows some of the newest environments available in the simulator. The link:http://www.youtube.com/watch?v=XTq2MyWLjiU#GU5U2spHI_4Hope you like it...
Suscribirse a:
Entradas (Atom)