Basic Programming Overview
Session 4
Objective
• NameSpace
• Several Tools.
• Solution Explorer, Property Window & Toolbox
• Windows Form
Namespace
• A Namespace in Microsoft .NET is like
containers of objects.
• Main goal of using namespace in .NET is for
cre...
Namespace(Example)
// Namespace Declaration
using System;
// User created Namespace
namespace hello
{
// Program start cla...
Other Tools
There are numerous tools available in Visual
studio IDE. We will use the following..
• Properties Editor
• Sol...
Properties Editor
• The Properties Editor tool is used to edit
properties in a GUI pane inside Visual Studio.
• It lists a...
Solution Explorer
• In Visual Studio , a solution is a set of code
files and other resources that are used to build
an app...
Toolbox
• Visual Studio provides a Toolbox which can
be used to add numerous controls to a
Windows Form or a Web Form.
• O...
Creating a Windows Form Application
• To create a Windows Form Application we
have to click on File-New-Project or simply
...
• A new design window will open. It will be
look like this…
• On the design window we can add any
Controls from the toolbox.
• Here I have taken the Button and the TextBox
Control.
• After that we have to write code for the
Windows Form application.
Debugging the Windows Form
Application
Summery
• Several Tools.
• Namespace.
• Hands on knowledge on Visual Studio IDE.
• Creating Windows Form Application.
ASP.NET Session 4
ASP.NET Session 4
ASP.NET Session 4
ASP.NET Session 4
ASP.NET Session 4
ASP.NET Session 4
ASP.NET Session 4
Upcoming SlideShare
Loading in...5
×

ASP.NET Session 4

171
-1

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
171
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ASP.NET Session 4

  1. 1. Basic Programming Overview Session 4
  2. 2. Objective • NameSpace • Several Tools. • Solution Explorer, Property Window & Toolbox • Windows Form
  3. 3. Namespace • A Namespace in Microsoft .NET is like containers of objects. • Main goal of using namespace in .NET is for creating a hierarchical organization of program. • In this case a developer does not need to worry about the naming conflicts of classes, functions, variables etc., inside a project. • The advantage is that every namespace can contain any number of classes, functions, variables and also namespaces etc., whose names are unique only inside the namespace.
  4. 4. Namespace(Example) // Namespace Declaration using System; // User created Namespace namespace hello { // Program start class class space { // Main begins program execution. public static void Main() { // Write to console Console.WriteLine("This is the example of creating own Namespace."); } } }
  5. 5. Other Tools There are numerous tools available in Visual studio IDE. We will use the following.. • Properties Editor • Solution Explorer • Toolbox
  6. 6. Properties Editor • The Properties Editor tool is used to edit properties in a GUI pane inside Visual Studio. • It lists all available properties (both read-only and those which can be set) for all objects including forms, web pages and other items.
  7. 7. Solution Explorer • In Visual Studio , a solution is a set of code files and other resources that are used to build an application. The files in a solution are arranged hierarchically, which might or might not reflect the organization in the file system. • The Solution Explorer is used to manage and browse the files in a solution.
  8. 8. Toolbox • Visual Studio provides a Toolbox which can be used to add numerous controls to a Windows Form or a Web Form. • On the Design pane we can add those controls by selecting and dragging the desired control.
  9. 9. Creating a Windows Form Application • To create a Windows Form Application we have to click on File-New-Project or simply Ctrl+Shift+N from the keyboard. • The ‘New Project’ window will appear. • On the ‘New Project’ window we have to select the ‘Windows Form Application’ and click ‘Ok’.
  10. 10. • A new design window will open. It will be look like this…
  11. 11. • On the design window we can add any Controls from the toolbox. • Here I have taken the Button and the TextBox Control.
  12. 12. • After that we have to write code for the Windows Form application.
  13. 13. Debugging the Windows Form Application
  14. 14. Summery • Several Tools. • Namespace. • Hands on knowledge on Visual Studio IDE. • Creating Windows Form Application.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×