| Last Modified On : | October 3, 2008 5:28 PM PDT |
Rate |
|
Jim C. Huang
Sr. Technical Marketing Engineer, Software & Solutions Group
This code sample demonstrates how easy it is to create rapid prototypes with the jazzy user interface in C#. The code sample demonstrates the use of a PictureBox property to display an image, how to quickly create a bitmap button without writing a line of code, and how to manipulate the Form's property to create a simple Dialogbox.
Just when you thought the woods were clear and the language of choice was going to be C, C++, and Visual Basic, Microsoft* introduces a new language to make a developer's life easier: C#. This simple, modern, object oriented, and type-safe programming language derives from C and C++, but has the high productivity of Visual Basic.
Developers who have used Visual Studio 6.0 have determined that it was time- consuming, if not difficult, to create any visually appealing user interface prototype. Developing in C# using Visual Studio .Net removes many hurdles developers faced when trying to create a visually appealing interface.
The C# Image Viewer sample code was written with very little effort. C# includes a lot of built-in functionality, which makes it simple and easy to develop a simple image viewing utility.
Target Audience
Developers writing C# applications who need to reference sample code to understand how to manipulate the user interface properties.
Sample Category:
Full Project
Implementation Language:
C#
Target Hardware & Software Platforms
Hardware Systems:
Systems running Intel® Pentium® processors
Operating Systems:
Microsoft Windows* 98, Microsoft Windows* 2000, Microsoft Windows* XP with .NET Framework.
Compilers:
Visual Studio .Net
Sample Application
Given the right tool and functionality, any developer can create applications that are powerful and easy to use. This document does not describe the C# language or syntax, but mainly the properties that are used to create this application. To learn more about C# language specification, please visit http://msdn.microsoft.com* and search for C#.
The illustration shows the user interface of the Image Viewer. The following sections describe the components used to create this simple application.
The following subsections describe the properties that are used to create the custom look of the application.
For C and C++ programmers who do rapid prototyping, working in the C# environment can reduce the time and effort to create compelling prototypes.
| October 29, 2009 3:16 AM PDT
Ahmad Bahbouh | I need this example code |

Muhammad Shoaib