¡@

Home 

c# Programming Glossary: rectangles

C#: TreeView owner drawing with ownerdrawtext and the weird black highlighting when clicking on a node

http://stackoverflow.com/questions/1003459/c-treeview-owner-drawing-with-ownerdrawtext-and-the-weird-black-highlighting-w

It is a bit of a pain because you have to handle focus rectangles selection highlights and drawing all the glyphs yourself. On..

Deactivate FocusVisualStyle globally

http://stackoverflow.com/questions/1055670/deactivate-focusvisualstyle-globally

globally I want to globally deactivate the focus rectangles in my WPF application. For single controls that can be done..

Finding the overlapping area of two rectangles (in C#)

http://stackoverflow.com/questions/1551243/finding-the-overlapping-area-of-two-rectangles-in-c

the overlapping area of two rectangles in C# Edit Simple code I used to solve the problem in case.. I'd like to know a quick and dirty way to check if two rectangles overlap and if they do calculate the area of the overlap. For.. I'm interested in the case where 1 all the lines in both rectangles are either vertical or horizontal or 2 the general case for..

Resizing window causes black strips

http://stackoverflow.com/questions/2613439/resizing-window-causes-black-strips

ControlStyles.OptimizedDoubleBuffer true And I draw some rectangles in Paint event. There are no controls on the form. Hovewer when..

Collision detection 2D between rectangles

http://stackoverflow.com/questions/3079168/collision-detection-2d-between-rectangles

detection 2D between rectangles I am writting a collision detection engine for my game and.. You'll compare the Y and X components of the bounding rectangles to eachother to check for a collision. If the top Y of the player..

C# Form with custom border and rounded edges

http://stackoverflow.com/questions/5092216/c-sharp-form-with-custom-border-and-rounded-edges

a true rounded corner you will have to draw the rounded rectangles. Drawing rounded rectangles It might be easier to draw an image.. will have to draw the rounded rectangles. Drawing rounded rectangles It might be easier to draw an image of the shape you want and..

How to find the actual printable area? (PrintDocument)

http://stackoverflow.com/questions/8761633/how-to-find-the-actual-printable-area-printdocument

the correct width height from either the soft hard margin rectangles. The hard margins are usually a little wider than the soft margins...