SlideShare a Scribd company logo
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
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.
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.");
}
}
}
Other Tools
There are numerous tools available in Visual
studio IDE. We will use the following..
• Properties Editor
• Solution Explorer
• Toolbox
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.
ASP.NET Session 4
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.
ASP.NET Session 4
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.
ASP.NET Session 4
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’.
ASP.NET Session 4
• A new design window will open. It will be
look like this…
ASP.NET Session 4
• On the design window we can add any
Controls from the toolbox.
• Here I have taken the Button and the TextBox
Control.
ASP.NET Session 4
• After that we have to write code for the
Windows Form application.
ASP.NET Session 4
Debugging the Windows Form
Application
Summery
• Several Tools.
• Namespace.
• Hands on knowledge on Visual Studio IDE.
• Creating Windows Form Application.

More Related Content

PPT
ASP.NET Session 2
PPT
ASP.NET Session 3
PPTX
Csharp introduction
PPTX
Introduction to .NET Programming
PPT
PPTX
.NET and C# Introduction
PPT
ASP.NET Session 5
PPTX
Asp.net and .Net Framework ppt presentation
ASP.NET Session 2
ASP.NET Session 3
Csharp introduction
Introduction to .NET Programming
.NET and C# Introduction
ASP.NET Session 5
Asp.net and .Net Framework ppt presentation

What's hot (19)

PPT
c#.Net Windows application
PPTX
Introduction to .NET with C# @ university of wayamba
PPS
Microsoft (Silverlight)
PPT
Be project ppt asp.net
PPTX
ASP DOT NET
PPTX
Introduction to visual basic
PPT
Introduction to .Net
PPTX
.NET and C# introduction
PPT
Asp.net architecture
PPTX
Aspnet architecture
PPT
Introduction to .NET Framework
PPTX
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
PPTX
Namespaces in C#
PDF
DLL Injection
PPTX
Architecture in .net
PPT
Microsoft .NET Development Platform Internationalization
PPT
.Net Overview -- Training (Lesson 1)
PPTX
.Net framework architecture
DOCX
.Net framework components by naveen kumar veligeti
c#.Net Windows application
Introduction to .NET with C# @ university of wayamba
Microsoft (Silverlight)
Be project ppt asp.net
ASP DOT NET
Introduction to visual basic
Introduction to .Net
.NET and C# introduction
Asp.net architecture
Aspnet architecture
Introduction to .NET Framework
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
Namespaces in C#
DLL Injection
Architecture in .net
Microsoft .NET Development Platform Internationalization
.Net Overview -- Training (Lesson 1)
.Net framework architecture
.Net framework components by naveen kumar veligeti
Ad

Similar to ASP.NET Session 4 (20)

PPTX
PPTX
introduction to c #
PPTX
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
PDF
Membangun Desktop App
PPT
dreaweaveradobecsstutorialsandhtmllesson.ppt
PPTX
Visual BAsic Softwares intended for ICT students
PDF
Android dev tips
PPTX
Introduction to Visual Basic Programming
PPTX
UNIT - 1 VISUAL BASIC PRESENTATION FOR IT
PPTX
Vb.net ide
PPTX
Android Studio development model and.pptx
PPTX
Native script overview
PDF
Unit -II Introduction to visual programming.pdf
DOCX
Visual basic concepts
PPTX
LECTURE 12 WINDOWS FORMS PART 2.pptx
PDF
outgoing again
PPTX
Mobile Application Slide Chapter 2 - Make First App
PPTX
Rapid development of help files and user documentation in Dr.Explain 5
PPSX
Test Complete
PPTX
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
introduction to c #
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
Membangun Desktop App
dreaweaveradobecsstutorialsandhtmllesson.ppt
Visual BAsic Softwares intended for ICT students
Android dev tips
Introduction to Visual Basic Programming
UNIT - 1 VISUAL BASIC PRESENTATION FOR IT
Vb.net ide
Android Studio development model and.pptx
Native script overview
Unit -II Introduction to visual programming.pdf
Visual basic concepts
LECTURE 12 WINDOWS FORMS PART 2.pptx
outgoing again
Mobile Application Slide Chapter 2 - Make First App
Rapid development of help files and user documentation in Dr.Explain 5
Test Complete
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
Ad

More from Sisir Ghosh (17)

PPT
ASP.NET Session 6
PPT
ASP.NET Session 7
PPT
ASP.NET Session 8
PPT
ASP.NET Session 9
PPT
ASP.NET Session 10
PPT
ASP.NET Session 11 12
PPT
ASP.NET Session 13 14
PPT
ASP.NET Session 16
PPT
ASP.NET System design 2
PPT
ASP.NET Session 1
PDF
Transport layer
PDF
Routing
PDF
Network security
PDF
Module ii physical layer
PDF
Error detection and correction
PDF
Overview of data communication and networking
PDF
Application layer
ASP.NET Session 6
ASP.NET Session 7
ASP.NET Session 8
ASP.NET Session 9
ASP.NET Session 10
ASP.NET Session 11 12
ASP.NET Session 13 14
ASP.NET Session 16
ASP.NET System design 2
ASP.NET Session 1
Transport layer
Routing
Network security
Module ii physical layer
Error detection and correction
Overview of data communication and networking
Application layer

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
Teaching material agriculture food technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Building Integrated photovoltaic BIPV_UPV.pdf
Understanding_Digital_Forensics_Presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Spectroscopy.pptx food analysis technology
Programs and apps: productivity, graphics, security and other tools
Encapsulation_ Review paper, used for researhc scholars
Spectral efficient network and resource selection model in 5G networks
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Teaching material agriculture food technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx

ASP.NET Session 4

  • 2. Objective • NameSpace • Several Tools. • Solution Explorer, Property Window & Toolbox • Windows Form
  • 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. 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. Other Tools There are numerous tools available in Visual studio IDE. We will use the following.. • Properties Editor • Solution Explorer • Toolbox
  • 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.
  • 8. 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.
  • 10. 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.
  • 12. 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’.
  • 14. • A new design window will open. It will be look like this…
  • 16. • On the design window we can add any Controls from the toolbox. • Here I have taken the Button and the TextBox Control.
  • 18. • After that we have to write code for the Windows Form application.
  • 20. Debugging the Windows Form Application
  • 21. Summery • Several Tools. • Namespace. • Hands on knowledge on Visual Studio IDE. • Creating Windows Form Application.