-
Recent Posts
-
Recent Comments
- RodStephens on Let the user select and deselect 3D objects using WPF and C#
- auntBrause on Let the user select and deselect 3D objects using WPF and C#
- RodStephens on Let the user select and deselect 3D objects using WPF and C#
- Fikret on Let the user select and deselect 3D objects using WPF and C#
- Simon on Convert RTF and TXT files into DOCX files in C#
Archives
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- February 2014
- January 2014
- December 2013
- October 2013
- August 2013
- June 2013
- December 2012
- September 2012
- July 2012
- June 2012
- November 2011
- May 2011
- April 2011
- February 2011
- December 2010
Categories
- .NET
- 3D
- 3D graphics
- ADO.NET
- algorithms
- animation
- API
- arrays
- attributes
- audio
- books
- C#
- C# programming
- calculations
- challenges
- classes
- clipboard
- coding
- combinatorics
- console
- controls
- cryptography
- curve fitting
- database
- debugging
- dialogs
- directories
- Drag and Drop
- drawing
- drawings
- enums
- Event
- events
- example program
- Excel
- extension methods
- extensions
- files
- finance
- fonts
- formatting
- forms
- fractals
- ftp
- games
- GDI+
- generic
- geometry
- globalization
- graphics
- html
- IDE
- image processing
- inheritance
- interfaces
- internationalization
- internet
- interoperability
- LINQ
- lists
- localization
- mathematics
- memory
- menus
- MessageBox
- methods
- miscellany
- multimedia
- network
- Office
- OOP
- operators
- parsing
- performance
- phone
- PowerPoint
- printers
- printing
- productivity
- programs
- puzzles
- recursion
- reflection
- registry
- regular expressions
- serialization
- settings
- SQL
- stories
- strings
- syntax
- system
- threading
- three-dimensional graphics
- tips
- tools
- transformations
- Uncategorized
- user interface
- variables
- VBA
- web
- Windows Forms programming
- WMI
- Word
- wpf
- XAML
- XML
Meta
Monthly Archives: May 2019
Book Review: Mission Python: Code a Space Adventure Game!
Mission Python: Code a Space Adventure Game! By Sean McManus 2018, No Starch Press, 280 pages, $20.36 This book explains how you can build a space-themed game in Python. The book’s description implies, but doesn’t actually come out and say, … Continue reading
Posted in books
Tagged book, books, C#, C# programming, example, example program, Python, Windows Forms programming
Leave a comment
New Book: Essential Algorithms, Second Edition: A Practical Approach to Computer Algorithms Using Python and C#
I’m happy to announce my latest book, Essential Algorithms, Second Edition: A Practical Approach to Computer Algorithms Using Python and C#. This is a greatly revised and expanded version of the popular first edition. Here are some links that you … Continue reading
Posted in algorithms, books
Tagged algorithms, book, books, C#, C# programming, Essential Algorithms, example, example program, Windows Forms programming
3 Comments
Make an intuitive extension method to draw an elliptical arc in WPF and C#
In my previous post Draw an elliptical arc in WPF and XAML, I explained how WPF makes you define an elliptical arc. Their method almost makes sense if you want draw an arc as part of a path. however, if … Continue reading
Posted in drawing, geometry, graphics, mathematics, wpf, XAML
Tagged arc, C#, C# programming, drawing, elliptical arc, example, example program, geometry, graphics, mathematics, Windows Forms programming, WPF, XAML
2 Comments
Draw an elliptical arc in WPF and XAML
This example shows how to use XAML code to draw an elliptical arc in a WPF. The following sections explain how to specify an elliptical arc and how to draw one in XAML. Specifying an Elliptical Arc WPF provides several … Continue reading
Posted in drawing, geometry, graphics, mathematics, wpf, XAML
Tagged arc, C#, C# programming, drawing, elliptical arc, example, example program, geometry, graphics, mathematics, Windows Forms programming, WPF, XAML
Leave a comment
Make drawing extension methods in WPF and C#
This example shows how to make a few handy extension methods for drawing in WPF. Drawing in WPF is at best awkward and at worst downright painful. For example, the following XAML code draws a rectangle. <Grid> <Canvas Name=”canDrawing”> <Rectangle … Continue reading
Posted in drawing, extension methods, graphics, wpf, XAML
Tagged C#, C# programming, drawing, example, example program, extension methods, graphics, Windows Forms programming, WPF, XAML
2 Comments
Make an image containing shadowed text in WPF and C#
Recently I wanted an image containing shadowed text similar to the following to put on my new Favorite Books page. It’s fairly easy to make this kind of text in Microsoft Word and then save an image of it in … Continue reading
“WPF 3d” is now available for Kindle
My book WPF 3d: Three-Dimensional Graphics with WPF and C# is now available in the Kindle Store. I’m not completely thrilled with the way it was converted for Kindle (there are some formatting errors), but it should be usable. Here … Continue reading
Posted in 3D, 3D graphics, books, drawing, graphics, three-dimensional graphics
Tagged 3D, 3D graphics, books, C#, C# programming, drawing, example, example program, graphics, three-dimensional graphics, Windows Forms programming
4 Comments
New page: Favorite Books
I’ve started a favorite books page. Go there if you are curious to see the kinds of books I like to read for fun. This is only a small sample of my favorites, but it should give you some suggestions. … Continue reading
Use transparency when drawing with anti-aliasing in C#
Anti-aliasing makes drawn lines look smoother on a raster image such as a bitmap or on the screen. Transparency allows you to place an image on top of another image so parts of the underlying image show through. Unfortunately, when … Continue reading
Posted in drawing, graphics, image processing
Tagged anti aliasing, C#, C# programming, drawing, example, example program, graphics, image processing, Windows Forms programming
1 Comment
Graph equations while preserving aspect ratio in WPF and C#
The previous example, Graph equations entered by the user in WPF and C# shows how to graph an equation entered by the user. The user must also enter the coordinate bounds that the program should use. For example, in the … Continue reading
Posted in algorithms, drawing, graphics, mathematics, reflection, wpf
Tagged algorithms, aspect ratio, C#, C# programming, drawing, example, example program, graph, graph equation, graph function, graphics, mathematics, reflection, Windows Forms programming, WPF
2 Comments