CSharp.Net-Informations.com

  C# windows based application




   Categories

    HOME
    VB.NET
    CSHARP


   














C# windows based application

The following program is a sample Windows Based C# application. Create a new C# Windows Application project and copy and paste the following source code.


         C# Source Code Download           Print Source Code
         C# windows based application - Download
        
C# Tutorial

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1
{
	public partial class Form1 : Form
	{
		public Form1()
		{
			InitializeComponent();
		}

		private void button1_Click(object sender, EventArgs e)
		{
			MessageBox.Show("This is my first program");
		}
	}
}
		

When you execute this C# program you will get the message "This is my first program" in message box.

CSharp overview Related Contents
*     An overview of Microsoft .Net Framework
*     An introduction to C#
*     C# and VB.NET
*     C# and JAVA
*     C# sample programs
*     C# console based application
*     C# command line tools
*     C# command line arguments

CSharp Related Topics
*     An overview of Microsoft CSharp
*     C# Language Tutorial
*     C# Statements Tutorial
*     C# Collection Tutorial
*     C# String Tutorial
*     C# File Operations Tutorial
*     C# Excel Tutorial
*     C# Crystal Reports Tutorial
*     CSharp Communication Tutorial
*     C# Ado.Net Tutorial and Source Code
*     C# ADO.NET data Providers Tutorial
*     C# Dataset Tutorial
*     C# DataAdapater Tutorial
*     Csharp DataView Tutorial
*     Csharp Remoting Tutorial
*     C# XML Tutorial
Search here for more CSharp Source Code :

  |  Home   |  SiteMap   |  About   |
net-informations.com (C) 2010 All Rights Reserved