Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

C# Visual Card Designer Application with File Serialziation and Text, Shape, Image Manipulations and GDI+

0.00/5 (No votes)
24 Aug 2008 1  
C# Visual Card Designer Application with File Serialziation and Text, Shape, Image Manipulations and GDI+

Introduction

This article demonstrates how to create a Full Winform Application in C# for Visually Designing Cards using Images, Text, Lines and Shapes. Please note that this is not an example to show GDI+ capabilities, I am writing another sample for a full GDI+ based Vector Graphic Designing Winform Application with the same Idea.

What this example is about?

  • It contains features required in a commercial application like, File Saving (Serialization) and Retrieving
  • Associating file extension with your application so that user can dblclick .kds file and it will launch the card designer and open the selected file
  • User can drag .kds file on KCards.Exe (application) Icon on desktop and it will open up the file like Word and other apps do
  • Property Pages and Color Palettes
  • Editing Features like Bring to Front, Send to Back and Duplicate, Resizing, Moving
  • Some features like copy/paste/print, etc. are not working, I left them for you to write.

Click to enlarge image

Click to enlarge image

Background

This sample demonstrates the idea of features involved in creating a visual designer application in C# Winforms from scratch.

It begins with creating classes for your drawing shapes, UserCanvas, Multiple Canvas Windows management and ends up with serialization into files.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here