Sunday, April 26, 2009

c# forms

Creating a new form in C# is fairly simple, thanks to the Form class. Windows Forms provide your project with components, such as dialog boxes, menus, buttons, and many other controls, that make up a standard Windows application user interface (UI). You can drag the controls onto your application's main form and adjust their size and position. The IDE automatically adds the source code to create an instance of the appropriate class and initialize it.

You can learn from msdn of Microsoft site by watching c# forms video:

• How to create a new Windows Forms application.
• How to switch between Code view and Design view.
• How to change the Windows Form's properties.
• How to add controls to the form.
• How to create event handlers for controls.

Click here to watch the video.

c# controls

General types of c# controls are:

User controls are the simplest type of control. They inherit from the System.Windows.Forms.UserControl class. Usually, user controls combine more than one control in a logical unit.

Inherited controls are generally more powerful and flexible. With an inherited control, you can derive a custom class that overrides or adds properties and methods.

Owner-drawn controls generally tend to inherit from a base class like System.Windows.Forms.Control. Owner-drawn controls require the most work and provide the most customizable user interface.

Click here to know more about c# controls.

c# control

Sunday, April 12, 2009

c# class example

class ClassName
{
Methods, properties, fields, events, delegates and nested classes will be write here.
}

c# class

Declaration of c# class:

[attributes] [modifiers] class identifier [:base-list] { class-body }[;]

here:

attributes (Optional): Additional declarative information.
modifiers (Optional): The allowed modifiers are new, abstract, sealed, and the four access modifiers.
identifier: The class name.
base-list (Optional): A list that contains the one base class and any implemented interfaces, all separated by commas.
class-body: Declarations of the class members.

Wednesday, April 08, 2009

c# (c sharp)


C# is an elegant, type-safe object-oriented language. Using c# developers can build a variety of secure and robust applications on the .NET Framework. C# create client applications, XML Web services, distributed components, client-server applications, database applications, and much.

C# syntax is simple and easy to learn. C# syntax simplifies many of the complexities of C++ and provides powerful features.. C# supports generic methods and types. As an object-oriented language, C# supports the concepts of encapsulation, inheritance, and polymorphism. C# support interfaces but does not support inheritance.

Click here to know more about C#.

Model-View-Controller (MVC)

Model-View-Controller is a development pattern. MVC is a software approach that separates application logic from presentation.

The Model represents your data structures. Typically your model classes will contain functions that help you retrieve, insert, and update information in your database.

The View is the information that is being presented to a user. A View will normally be a web page; a view can also be a page fragment like a header or footer. It can also be an RSS page, or any other type of "page".

The Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page.

Click here to know more about MVC.

asp net - MVC


asp net work on MVC framework. MVC means Model-View-Controller.

Click here to know more about MVC from its tutorial.

Thursday, April 02, 2009

aspx

NET pages, known officially as "web forms", are contained in files with an ".aspx" extension. Code-behind files typically have names like PageType.aspx.cs and PageType.aspx.vb based on the ASPX file working name.

Click here to know more about aspx.

Thursday, March 19, 2009

asp



ASP.NET is a free technology that allows anyone to create a modern, dynamic web site. Learn asp from official site. ASP.NET can be used to create anything from small, personal websites through to large, enterprise-class web applications. Get Started with ASP.NET.