SlideShare a Scribd company logo
1 of 24
Download to read offline
GUI Applications Development Using .NET Framework
Rationale


                A user interface is the means by which a user interacts with
                an application.
                User interaction in a windows-based application is
                accomplished through Windows Forms and controls.
                The purpose of GUI Applications Development Using .NET
                Framework is to provide the student with a hands-on
                environment in which they will learn the core skills of
                Microsoft Windows Forms application development.




     Ver. 1.0                      Session 1                         Slide 1 of 24
GUI Applications Development Using .NET Framework
Objectives


                In this session, you will learn to:
                   Appreciate the graphical user interface
                   Identify the controls of graphical user interface
                   Identify the features of .NET Framework
                   Use Visual Studio .NET integrated development environment
                   to create and execute Windows projects




     Ver. 1.0                        Session 1                        Slide 2 of 24
GUI Applications Development Using .NET Framework
Introducing the GUI Environment


                   The two ways of interacting with an application are:
                         By using Character User Interface (CUI)
                         By using Graphical User Interface (GUI)
                • In GUI provides a picture-oriented or graphical
                  A CUI, the user interacts with a system by keying in
                commands.
                  way of interacting with the system.
                • The following figure shows the sample output of a
                                               a sample output of a GUI
                CUI    application.
                  application.
                Enter your name: John
                Enter a book name: Famous Five
                Sorry, The book is not available.
                Do you want to check for another book (y/n):




     Ver. 1.0                                       Session 1             Slide 3 of 24
GUI Applications Development Using .NET Framework
Introducing the GUI Environment (Contd.)


                Advantages of GUI applications are:
                   They are easy to learn and use.
                   Users need not remember the lines of syntax.
                   Most of the commands can be executed using the mouse.




     Ver. 1.0                      Session 1                         Slide 4 of 24
GUI Applications Development Using .NET Framework
Identifying Controls of GUI Interface


                 A typical application screen contains components such as
                 buttons and text boxes.
                 These components enable you to enter information and
                 customize other parameters. These components are called
                 controls.
                 The following figure shows a GUI application with various
                 controls such as label, button, textbox, and combo box.

            Label                                              TextBox
            Controls                                           Control
                                                               ComboBox
                                                               Control
            Button
            Control

     Ver. 1.0                       Session 1                       Slide 5 of 24
GUI Applications Development Using .NET Framework
Just a minute


                A ____________ is a control that consists of other controls.




                Answer:
                   Container


     Ver. 1.0                      Session 1                         Slide 6 of 24
GUI Applications Development Using .NET Framework
Identifying Controls of GUI Interface (Contd.)


                Windows provides the following types of dialog boxes:
                   Modal
                   System modal
                   Modeless




     Ver. 1.0                      Session 1                        Slide 7 of 24
GUI Applications Development Using .NET Framework
Just a minute


                Which dialog box allows users to switch to another area of
                the application?




                Answer:
                   Modeless Dialog Box


     Ver. 1.0                      Session 1                        Slide 8 of 24
GUI Applications Development Using .NET Framework
Just a minute


                A __________ acts as a container for a group of related
                controls.




                Answer:
                   Dialog box


     Ver. 1.0                      Session 1                        Slide 9 of 24
GUI Applications Development Using .NET Framework
Identifying the Features of the Windows Environment


                Two of the most important features of the Windows
                environment that enable applications to interact effectively
                with the user are:
                   Event-Driven Programming:
                     •   Based on user’s input, an event gets generated and the
                         corresponding code is executed.
                   Dynamic Linking:
                         Windows application is linked to the existing library functions at
                         run time.




     Ver. 1.0                           Session 1                                   Slide 10 of 24
GUI Applications Development Using .NET Framework
The .NET Framework


               The .NET offers a complete suite for developing and
               deploying applications.
               This suite consists of the:
               – .NET Products                Microsoft has introduced Visual
                                              Studio .NET, which is a tool for
               – .NET Services
                                              developing .NET applications by
               – .NET Framework               using programming languages
                                              such as Visual Basic, Visual C#,
                                              and Visual C++.
                                              These products aim at allowing
                                              developers to create numerous
                                              applications.




    Ver. 1.0                      Session 1                                      Slide 11 of 24
GUI Applications Development Using .NET Framework
The .NET Framework (Contd.)


                The .NET offers a complete suite for developing and
                deploying applications.
                This suite consists of the:
                – .NET Products
                – .NET Services           – Microsoft has come up with its own
                – .NET Framework            set of Web services, known as My
                                            Services. These services are
                                            based on the Microsoft Passport
                                            Authentication service, which is
                                            used in Web applications such
                                            as Hotmail.
                                          – This service allows users to access
                                            data by linking calendars,
                                          phonebooks, address books, and
                                            personal references to the passport
                                            authentication service.



     Ver. 1.0                      Session 1                                Slide 12 of 24
GUI Applications Development Using .NET Framework
The .NET Framework (Contd.)


                The .NET offers a complete suite for developing and
                deploying applications.
                This suite consists of the:
                – .NET Products
                – .NET Services
                – .NET Framework        – It is the foundation on which you
                                          design, develop, and deploy
                                          applications.
                                        – It is a consistent and simplified
                                          programming model that helps you
                                          to easily build robust applications.




     Ver. 1.0                      Session 1                                 Slide 13 of 24
GUI Applications Development Using .NET Framework
Components of the .NET Framework


               The following figure shows the different components of
               the .NET Framework.

                                                              CLR is the
                                                              At the presentation
                                                          environment where all
                                                              The .NET
                                                             layer, .NET
                                                          programs using
                                                          Framework
                                                          provides three typesare
                                                          .NET technologies
                                                          classuser interfaces.
                                                          executed. works
                                                             of library
                                                          with anyare.NET
                                                             TheyCLR allows the
                                                              The
                                                          language,Forms,
                                                          Windows such code  as
                                                             execution of
                                                          VB.NET, VC++
                                                          Web Forms, and
                                                             across different
                                                          .NET, andApplications.
                                                          Console by    VC#.
                                                          platforms
                                                              The .NET
                                                          translating code into
                                                          Framework class
                                                             Intermediate
                                                          library comprises
                                                          Language (IL).
                                                          namespaces, which
                                                              IL is a low-level
                                                              are contained within
                                                          language that the
                                                              assemblies.
                                                          CLR understands.

    Ver. 1.0                      Session 1                          Slide 14 of 24
GUI Applications Development Using .NET Framework
Components of the .NET Framework (Contd.)


                Some of the advantages offered by the .NET Framework
                are:
                   Consistent programming model
                   Multi-platform applications
                   Multi-language integration
                   Automatic resource management
                   Ease of deployment




     Ver. 1.0                     Session 1                     Slide 15 of 24
GUI Applications Development Using .NET Framework
Using Visual Studio .NET IDE


                The Visual Studio .NET IDE provides you with a common
                interface for developing various kinds of applications.
                The IDE also provides you with a centralized location for
                designing the user interface for an application, writing code,
                and compiling and debugging the application.
                Let us see the various components of .NET IDE.




     Ver. 1.0                       Session 1                         Slide 16 of 24
GUI Applications Development Using .NET Framework
Just a minute


                Which template creates a .NET Compact Framework 2.0
                forms application for Pocket PC 2003 and later?
                1.   Windows Control Library
                2.   Class Library
                3.   Device Application
                4.   Web Control Library




                Answer:
                3. Device Application


     Ver. 1.0                        Session 1                 Slide 17 of 24
GUI Applications Development Using .NET Framework
Just a minute


                Which window displays messages for the status of various
                features provided in the Visual Studio .NET IDE?




                Answer:
                   The Output Window


     Ver. 1.0                     Session 1                       Slide 18 of 24
GUI Applications Development Using .NET Framework
Just a minute


                Which window allows to view the resources of the servers,
                such as services, processes, and the event log.




                Answer:
                   The Server Explorer window


     Ver. 1.0                      Session 1                       Slide 19 of 24
GUI Applications Development Using .NET Framework
Navigational Features in Visual Studio .Net IDE


                In addition to various windows, the Visual Studio .NET IDE
                also provides three navigational features.
                These are:
                   Docking
                   Tabbed Navigation
                   Auto Hide
                Let us see these navigational features in the Visual
                Studio .NET IDE.




     Ver. 1.0                       Session 1                          Slide 20 of 24
GUI Applications Development Using .NET Framework
Creating Projects and Solutions


                In Visual Studio .NET, an application can be made up of
                several files and folders.
                To organize these files and folders efficiently, Visual
                Studio .NET has provided two types of containers:
                   Projects
                   Solutions
                Let’s see how to create projects and solutions.




     Ver. 1.0                      Session 1                       Slide 21 of 24
GUI Applications Development Using .NET Framework
Compiling and Executing a Project


                To compile and execute the application, you need to
                perform the following steps:
                1. Select BuildBuild Solution or press F6 to compile the
                   application.
                – Select DebugStart Debugging or press F5 to execute the
                   application.




     Ver. 1.0                      Session 1                          Slide 22 of 24
GUI Applications Development Using .NET Framework
Summary


               In this session, you learned that:
                  Windows provides a GUI, which enables a user to interact with
                  the application by using graphical components.
                  Windows provides three types of dialog boxes:
                    •   Modal Dialog Box
                    •   System Modal Dialog Box
                    •   Modeless Dialog Box
                  The .NET Framework consists of three main components:
                        Common Language Runtime (CLR)
                        The .NET Framework Class Library
                        User and Program Interfaces




    Ver. 1.0                         Session 1                         Slide 23 of 24
GUI Applications Development Using .NET Framework
Summary (Contd.)


               The Visual Studio .NET IDE provides you with a common
               interface for developing various kinds of projects for the .NET
               Framework.
               In Visual Studio .NET, an application can be made up of one or
               more items, such as files and folders.
               To organize these items efficiently, Visual Studio .NET has
               provided two types of containers, projects and solutions.
               In addition to various windows, the Visual Studio .NET IDE
               also provides three navigational features. These are:
                   Docking
                   Tabbed Navigation
                   Auto Hide




    Ver. 1.0                    Session 1                            Slide 24 of 24

More Related Content

What's hot

05 iec t1_s1_oo_ps_session_07
05 iec t1_s1_oo_ps_session_0705 iec t1_s1_oo_ps_session_07
05 iec t1_s1_oo_ps_session_07Niit Care
 
09 iec t1_s1_oo_ps_session_13
09 iec t1_s1_oo_ps_session_1309 iec t1_s1_oo_ps_session_13
09 iec t1_s1_oo_ps_session_13Niit Care
 
13 iec t1_s1_oo_ps_session_19
13 iec t1_s1_oo_ps_session_1913 iec t1_s1_oo_ps_session_19
13 iec t1_s1_oo_ps_session_19Niit Care
 
Java session01
Java session01Java session01
Java session01Niit Care
 
Java session02
Java session02Java session02
Java session02Niit Care
 
02 iec t1_s1_plt_session_02
02 iec t1_s1_plt_session_0202 iec t1_s1_plt_session_02
02 iec t1_s1_plt_session_02Niit Care
 
01 introduction to_module
01 introduction to_module01 introduction to_module
01 introduction to_moduleAPU
 
8. design patterns
8. design patterns8. design patterns
8. design patternsAPU
 
Undergrad Interfaces Lecture 2008
Undergrad Interfaces Lecture 2008Undergrad Interfaces Lecture 2008
Undergrad Interfaces Lecture 2008Stacy Branham
 
Win32/Flamer: Reverse Engineering and Framework Reconstruction
Win32/Flamer: Reverse Engineering and Framework ReconstructionWin32/Flamer: Reverse Engineering and Framework Reconstruction
Win32/Flamer: Reverse Engineering and Framework ReconstructionAlex Matrosov
 
03 iec t1_s1_plt_session_03
03 iec t1_s1_plt_session_0303 iec t1_s1_plt_session_03
03 iec t1_s1_plt_session_03Niit Care
 
01 iec t1_s1_plt_session_01
01 iec t1_s1_plt_session_0101 iec t1_s1_plt_session_01
01 iec t1_s1_plt_session_01Niit Care
 
Basis for comparison programming languages
Basis for comparison programming languagesBasis for comparison programming languages
Basis for comparison programming languagesAbdo ELhais
 

What's hot (20)

05 iec t1_s1_oo_ps_session_07
05 iec t1_s1_oo_ps_session_0705 iec t1_s1_oo_ps_session_07
05 iec t1_s1_oo_ps_session_07
 
09 iec t1_s1_oo_ps_session_13
09 iec t1_s1_oo_ps_session_1309 iec t1_s1_oo_ps_session_13
09 iec t1_s1_oo_ps_session_13
 
13 iec t1_s1_oo_ps_session_19
13 iec t1_s1_oo_ps_session_1913 iec t1_s1_oo_ps_session_19
13 iec t1_s1_oo_ps_session_19
 
Java session01
Java session01Java session01
Java session01
 
Java session02
Java session02Java session02
Java session02
 
02 iec t1_s1_plt_session_02
02 iec t1_s1_plt_session_0202 iec t1_s1_plt_session_02
02 iec t1_s1_plt_session_02
 
Csharp
CsharpCsharp
Csharp
 
01 introduction to_module
01 introduction to_module01 introduction to_module
01 introduction to_module
 
8. design patterns
8. design patterns8. design patterns
8. design patterns
 
Tutorial c#
Tutorial c#Tutorial c#
Tutorial c#
 
12slide
12slide12slide
12slide
 
JavaYDL12
JavaYDL12JavaYDL12
JavaYDL12
 
Undergrad Interfaces Lecture 2008
Undergrad Interfaces Lecture 2008Undergrad Interfaces Lecture 2008
Undergrad Interfaces Lecture 2008
 
Win32/Flamer: Reverse Engineering and Framework Reconstruction
Win32/Flamer: Reverse Engineering and Framework ReconstructionWin32/Flamer: Reverse Engineering and Framework Reconstruction
Win32/Flamer: Reverse Engineering and Framework Reconstruction
 
03 iec t1_s1_plt_session_03
03 iec t1_s1_plt_session_0303 iec t1_s1_plt_session_03
03 iec t1_s1_plt_session_03
 
A Multi-level Methodology for Developing UML Sequence Diagrams
A Multi-level Methodology for Developing UML Sequence DiagramsA Multi-level Methodology for Developing UML Sequence Diagrams
A Multi-level Methodology for Developing UML Sequence Diagrams
 
01 iec t1_s1_plt_session_01
01 iec t1_s1_plt_session_0101 iec t1_s1_plt_session_01
01 iec t1_s1_plt_session_01
 
Basis for comparison programming languages
Basis for comparison programming languagesBasis for comparison programming languages
Basis for comparison programming languages
 
Acceleo Code Generation
Acceleo Code GenerationAcceleo Code Generation
Acceleo Code Generation
 
Mini Project- Internet Security Mechanisms
Mini Project- Internet Security MechanismsMini Project- Internet Security Mechanisms
Mini Project- Internet Security Mechanisms
 

Viewers also liked

Gui Development with qooxdoo
Gui Development with qooxdooGui Development with qooxdoo
Gui Development with qooxdooSebastian Werner
 
Rails GUI Development with Ext JS
Rails GUI Development with Ext JSRails GUI Development with Ext JS
Rails GUI Development with Ext JSMartin Rehfeld
 
Gui application development guidelines
Gui application development guidelinesGui application development guidelines
Gui application development guidelinesLOUIS WAYNE
 
Graphical User Interface
Graphical User Interface Graphical User Interface
Graphical User Interface Bivek Pakuwal
 
Graphical User Interface (Gui)
Graphical User Interface (Gui)Graphical User Interface (Gui)
Graphical User Interface (Gui)Bilal Amjad
 

Viewers also liked (7)

Gui Development with qooxdoo
Gui Development with qooxdooGui Development with qooxdoo
Gui Development with qooxdoo
 
Rails GUI Development with Ext JS
Rails GUI Development with Ext JSRails GUI Development with Ext JS
Rails GUI Development with Ext JS
 
02 gui 02
02 gui 0202 gui 02
02 gui 02
 
Gui application development guidelines
Gui application development guidelinesGui application development guidelines
Gui application development guidelines
 
Graphical User Interface
Graphical User Interface Graphical User Interface
Graphical User Interface
 
Graphical User Interface (Gui)
Graphical User Interface (Gui)Graphical User Interface (Gui)
Graphical User Interface (Gui)
 
Macintosh vs. windows
Macintosh vs. windowsMacintosh vs. windows
Macintosh vs. windows
 

Similar to 01 gui 01

introduction to visual basic PPT.pptx
introduction to visual basic PPT.pptxintroduction to visual basic PPT.pptx
introduction to visual basic PPT.pptxclassall
 
Overview of .Net Framework
Overview of .Net FrameworkOverview of .Net Framework
Overview of .Net FrameworkNeha Singh
 
Vb net xp_01
Vb net xp_01Vb net xp_01
Vb net xp_01Niit Care
 
Microsoft.net architecturte
Microsoft.net architecturteMicrosoft.net architecturte
Microsoft.net architecturteIblesoft
 
Metro Style Apps - Whats there for Developers
Metro Style Apps - Whats there for DevelopersMetro Style Apps - Whats there for Developers
Metro Style Apps - Whats there for DevelopersJitendra Soni
 
Chapter 01: Intro to VB2010 Programming
Chapter 01: Intro to VB2010 ProgrammingChapter 01: Intro to VB2010 Programming
Chapter 01: Intro to VB2010 Programmingpatf719
 
Building Windows8 Metro Applications
Building Windows8 Metro ApplicationsBuilding Windows8 Metro Applications
Building Windows8 Metro ApplicationsAbhishek Sur
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0DivyaR219113
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.netJaya Kumari
 
IRJET - A Literature Review on Android -A Mobile Operating System
IRJET -  	  A Literature Review on Android -A Mobile Operating SystemIRJET -  	  A Literature Review on Android -A Mobile Operating System
IRJET - A Literature Review on Android -A Mobile Operating SystemIRJET Journal
 
Top 25+ .Net development tools for intelligent business solutions - AppsDevPro
Top 25+ .Net development tools for intelligent business solutions - AppsDevProTop 25+ .Net development tools for intelligent business solutions - AppsDevPro
Top 25+ .Net development tools for intelligent business solutions - AppsDevProSofiaCarter4
 

Similar to 01 gui 01 (20)

08 gui 11
08 gui 1108 gui 11
08 gui 11
 
10 gui 14
10 gui 1410 gui 14
10 gui 14
 
VB.Net GUI Unit_01
VB.Net GUI Unit_01VB.Net GUI Unit_01
VB.Net GUI Unit_01
 
06 gui 08
06 gui 0806 gui 08
06 gui 08
 
07 gui 10
07 gui 1007 gui 10
07 gui 10
 
introduction to visual basic PPT.pptx
introduction to visual basic PPT.pptxintroduction to visual basic PPT.pptx
introduction to visual basic PPT.pptx
 
Overview of .Net Framework
Overview of .Net FrameworkOverview of .Net Framework
Overview of .Net Framework
 
Vb net xp_01
Vb net xp_01Vb net xp_01
Vb net xp_01
 
09 gui 13
09 gui 1309 gui 13
09 gui 13
 
Microsoft.net architecturte
Microsoft.net architecturteMicrosoft.net architecturte
Microsoft.net architecturte
 
Vb.net class notes
Vb.net class notesVb.net class notes
Vb.net class notes
 
Metro Style Apps - Whats there for Developers
Metro Style Apps - Whats there for DevelopersMetro Style Apps - Whats there for Developers
Metro Style Apps - Whats there for Developers
 
Chapter 01: Intro to VB2010 Programming
Chapter 01: Intro to VB2010 ProgrammingChapter 01: Intro to VB2010 Programming
Chapter 01: Intro to VB2010 Programming
 
Mca 504 dotnet_unit1
Mca 504 dotnet_unit1Mca 504 dotnet_unit1
Mca 504 dotnet_unit1
 
Building Windows8 Metro Applications
Building Windows8 Metro ApplicationsBuilding Windows8 Metro Applications
Building Windows8 Metro Applications
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
IRJET - A Literature Review on Android -A Mobile Operating System
IRJET -  	  A Literature Review on Android -A Mobile Operating SystemIRJET -  	  A Literature Review on Android -A Mobile Operating System
IRJET - A Literature Review on Android -A Mobile Operating System
 
Windows 8
Windows 8Windows 8
Windows 8
 
Top 25+ .Net development tools for intelligent business solutions - AppsDevPro
Top 25+ .Net development tools for intelligent business solutions - AppsDevProTop 25+ .Net development tools for intelligent business solutions - AppsDevPro
Top 25+ .Net development tools for intelligent business solutions - AppsDevPro
 

More from Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 

Recently uploaded

React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024BookNet Canada
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentMahmoud Rabie
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfHCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfROWELL MARQUINA
 
Dynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationDynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationBuild Intuit
 
Software Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerSoftware Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerAnchore
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfwill854175
 
Introduction-to-Wazuh-and-its-integration.pptx
Introduction-to-Wazuh-and-its-integration.pptxIntroduction-to-Wazuh-and-its-integration.pptx
Introduction-to-Wazuh-and-its-integration.pptxmprakaash5
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 

Recently uploaded (20)

React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career Development
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfHCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
 
Dynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationDynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientation
 
Software Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerSoftware Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey Hightower
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdf
 
Introduction-to-Wazuh-and-its-integration.pptx
Introduction-to-Wazuh-and-its-integration.pptxIntroduction-to-Wazuh-and-its-integration.pptx
Introduction-to-Wazuh-and-its-integration.pptx
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 

01 gui 01

  • 1. GUI Applications Development Using .NET Framework Rationale A user interface is the means by which a user interacts with an application. User interaction in a windows-based application is accomplished through Windows Forms and controls. The purpose of GUI Applications Development Using .NET Framework is to provide the student with a hands-on environment in which they will learn the core skills of Microsoft Windows Forms application development. Ver. 1.0 Session 1 Slide 1 of 24
  • 2. GUI Applications Development Using .NET Framework Objectives In this session, you will learn to: Appreciate the graphical user interface Identify the controls of graphical user interface Identify the features of .NET Framework Use Visual Studio .NET integrated development environment to create and execute Windows projects Ver. 1.0 Session 1 Slide 2 of 24
  • 3. GUI Applications Development Using .NET Framework Introducing the GUI Environment The two ways of interacting with an application are: By using Character User Interface (CUI) By using Graphical User Interface (GUI) • In GUI provides a picture-oriented or graphical A CUI, the user interacts with a system by keying in commands. way of interacting with the system. • The following figure shows the sample output of a a sample output of a GUI CUI application. application. Enter your name: John Enter a book name: Famous Five Sorry, The book is not available. Do you want to check for another book (y/n): Ver. 1.0 Session 1 Slide 3 of 24
  • 4. GUI Applications Development Using .NET Framework Introducing the GUI Environment (Contd.) Advantages of GUI applications are: They are easy to learn and use. Users need not remember the lines of syntax. Most of the commands can be executed using the mouse. Ver. 1.0 Session 1 Slide 4 of 24
  • 5. GUI Applications Development Using .NET Framework Identifying Controls of GUI Interface A typical application screen contains components such as buttons and text boxes. These components enable you to enter information and customize other parameters. These components are called controls. The following figure shows a GUI application with various controls such as label, button, textbox, and combo box. Label TextBox Controls Control ComboBox Control Button Control Ver. 1.0 Session 1 Slide 5 of 24
  • 6. GUI Applications Development Using .NET Framework Just a minute A ____________ is a control that consists of other controls. Answer: Container Ver. 1.0 Session 1 Slide 6 of 24
  • 7. GUI Applications Development Using .NET Framework Identifying Controls of GUI Interface (Contd.) Windows provides the following types of dialog boxes: Modal System modal Modeless Ver. 1.0 Session 1 Slide 7 of 24
  • 8. GUI Applications Development Using .NET Framework Just a minute Which dialog box allows users to switch to another area of the application? Answer: Modeless Dialog Box Ver. 1.0 Session 1 Slide 8 of 24
  • 9. GUI Applications Development Using .NET Framework Just a minute A __________ acts as a container for a group of related controls. Answer: Dialog box Ver. 1.0 Session 1 Slide 9 of 24
  • 10. GUI Applications Development Using .NET Framework Identifying the Features of the Windows Environment Two of the most important features of the Windows environment that enable applications to interact effectively with the user are: Event-Driven Programming: • Based on user’s input, an event gets generated and the corresponding code is executed. Dynamic Linking: Windows application is linked to the existing library functions at run time. Ver. 1.0 Session 1 Slide 10 of 24
  • 11. GUI Applications Development Using .NET Framework The .NET Framework The .NET offers a complete suite for developing and deploying applications. This suite consists of the: – .NET Products Microsoft has introduced Visual Studio .NET, which is a tool for – .NET Services developing .NET applications by – .NET Framework using programming languages such as Visual Basic, Visual C#, and Visual C++. These products aim at allowing developers to create numerous applications. Ver. 1.0 Session 1 Slide 11 of 24
  • 12. GUI Applications Development Using .NET Framework The .NET Framework (Contd.) The .NET offers a complete suite for developing and deploying applications. This suite consists of the: – .NET Products – .NET Services – Microsoft has come up with its own – .NET Framework set of Web services, known as My Services. These services are based on the Microsoft Passport Authentication service, which is used in Web applications such as Hotmail. – This service allows users to access data by linking calendars, phonebooks, address books, and personal references to the passport authentication service. Ver. 1.0 Session 1 Slide 12 of 24
  • 13. GUI Applications Development Using .NET Framework The .NET Framework (Contd.) The .NET offers a complete suite for developing and deploying applications. This suite consists of the: – .NET Products – .NET Services – .NET Framework – It is the foundation on which you design, develop, and deploy applications. – It is a consistent and simplified programming model that helps you to easily build robust applications. Ver. 1.0 Session 1 Slide 13 of 24
  • 14. GUI Applications Development Using .NET Framework Components of the .NET Framework The following figure shows the different components of the .NET Framework. CLR is the At the presentation environment where all The .NET layer, .NET programs using Framework provides three typesare .NET technologies classuser interfaces. executed. works of library with anyare.NET TheyCLR allows the The language,Forms, Windows such code as execution of VB.NET, VC++ Web Forms, and across different .NET, andApplications. Console by VC#. platforms The .NET translating code into Framework class Intermediate library comprises Language (IL). namespaces, which IL is a low-level are contained within language that the assemblies. CLR understands. Ver. 1.0 Session 1 Slide 14 of 24
  • 15. GUI Applications Development Using .NET Framework Components of the .NET Framework (Contd.) Some of the advantages offered by the .NET Framework are: Consistent programming model Multi-platform applications Multi-language integration Automatic resource management Ease of deployment Ver. 1.0 Session 1 Slide 15 of 24
  • 16. GUI Applications Development Using .NET Framework Using Visual Studio .NET IDE The Visual Studio .NET IDE provides you with a common interface for developing various kinds of applications. The IDE also provides you with a centralized location for designing the user interface for an application, writing code, and compiling and debugging the application. Let us see the various components of .NET IDE. Ver. 1.0 Session 1 Slide 16 of 24
  • 17. GUI Applications Development Using .NET Framework Just a minute Which template creates a .NET Compact Framework 2.0 forms application for Pocket PC 2003 and later? 1. Windows Control Library 2. Class Library 3. Device Application 4. Web Control Library Answer: 3. Device Application Ver. 1.0 Session 1 Slide 17 of 24
  • 18. GUI Applications Development Using .NET Framework Just a minute Which window displays messages for the status of various features provided in the Visual Studio .NET IDE? Answer: The Output Window Ver. 1.0 Session 1 Slide 18 of 24
  • 19. GUI Applications Development Using .NET Framework Just a minute Which window allows to view the resources of the servers, such as services, processes, and the event log. Answer: The Server Explorer window Ver. 1.0 Session 1 Slide 19 of 24
  • 20. GUI Applications Development Using .NET Framework Navigational Features in Visual Studio .Net IDE In addition to various windows, the Visual Studio .NET IDE also provides three navigational features. These are: Docking Tabbed Navigation Auto Hide Let us see these navigational features in the Visual Studio .NET IDE. Ver. 1.0 Session 1 Slide 20 of 24
  • 21. GUI Applications Development Using .NET Framework Creating Projects and Solutions In Visual Studio .NET, an application can be made up of several files and folders. To organize these files and folders efficiently, Visual Studio .NET has provided two types of containers: Projects Solutions Let’s see how to create projects and solutions. Ver. 1.0 Session 1 Slide 21 of 24
  • 22. GUI Applications Development Using .NET Framework Compiling and Executing a Project To compile and execute the application, you need to perform the following steps: 1. Select BuildBuild Solution or press F6 to compile the application. – Select DebugStart Debugging or press F5 to execute the application. Ver. 1.0 Session 1 Slide 22 of 24
  • 23. GUI Applications Development Using .NET Framework Summary In this session, you learned that: Windows provides a GUI, which enables a user to interact with the application by using graphical components. Windows provides three types of dialog boxes: • Modal Dialog Box • System Modal Dialog Box • Modeless Dialog Box The .NET Framework consists of three main components: Common Language Runtime (CLR) The .NET Framework Class Library User and Program Interfaces Ver. 1.0 Session 1 Slide 23 of 24
  • 24. GUI Applications Development Using .NET Framework Summary (Contd.) The Visual Studio .NET IDE provides you with a common interface for developing various kinds of projects for the .NET Framework. In Visual Studio .NET, an application can be made up of one or more items, such as files and folders. To organize these items efficiently, Visual Studio .NET has provided two types of containers, projects and solutions. In addition to various windows, the Visual Studio .NET IDE also provides three navigational features. These are: Docking Tabbed Navigation Auto Hide Ver. 1.0 Session 1 Slide 24 of 24

Editor's Notes

  1. Share the rationale of the module with the students.
  2. Start the session by sharing the session objectives with the students.
  3. Start the session by discussing the features of CUI based application. Ask the students to list down the possible disadvantages of CUI applications. Collate the answers given by the students and list down the following points: The user needs to enter the data. The user needs to remember the commands. Lengthy code has to be written for simple tasks. The display area is restricted to 25 rows and 80 columns. Now take the discussion towards the GUI . Discuss the advantages of GUI as being WYSIWYG (What you see is what you get). Discuss with the students that there are several controls available in GUI that can be used to take input from the user. This input can be validated easily.
  4. Discuss the advantages of GUI applications listed here.
  5. Some of controls that appear in the dialog box are explained in the following list. Label: Displays text that users cannot directly edit. TextBox: Accepts input from the user. Combo Box: Displays items in a drop-down list. It is a combination of a text box in which a user types something, and a drop-down list from which the user selects an item. Button: Provides options such as OK, Cancel etc. Discuss with the students that there are 2 types of components, visual and non-visual components. Visual components are the ones which the users can see. They are also called as controls.
  6. Reiterate the concepts taught earlier by asking the given question.
  7. Discuss all the three types of dialog boxes with the students with appropriate examples. Example of: Modal: Save As Dialog Box, that does not allow to move the control else where unless the user selects some option or closes the dialog box System Modal : Windows Log On Dialog Box, that takes control of the entire Windows Environment. Modeless: Find and Replace Dialog Box, that stays on screen and is available for use at any time.
  8. Reiterate the concepts taught earlier by asking the given question.
  9. Reiterate the concepts taught earlier by asking the given question.
  10. Using this slide, discuss with the students that all windows based applications accept the input and process the input on the basis of an event. Take a simple example of adding two numbers. For this application, the user enters two numbers in the text boxes. Only when he clicks on the button, will he be able to see the results of addition. Here, clicking of a button is an example of an event being generated. Now proceed the discussion towards another example of Student’s Data Entry form. After entering all the values in the required fields, the user needs to ensure the data is transferred into the database. The code to transfer the database will be written on the click event of the button. Therefore, after entering the data, the user needs to click on the button to transfer the data to the database. In addition, also discuss with the students that Windows Applications allow to link the application to the existing library function. For example, there is a library function to connect to the desired database where the user needs to just specify the name and location of database. Therefore, instead of writing the code again and again, the user can use the in-built function and connect to the database quickly.
  11. Discuss with the students that .NET is a product that developers can use to easily build, debug, and deploy powerful applications. Visual Studio .NET includes a range of new features and enhancements for every type of developer, and offers key improvements directed at mobile device developers and enterprise developers. The advantages of using Visual Studio .NET are: It helps create powerful applications quickly and effectively. Applications can span any platform or device.
  12. Using this slide, discuss with the students that .NET Framework consists of 3 different components. Discuss each of the components one by one. Try to give an example of the components.
  13. Using this slide discuss the advantages of .NET framework
  14. Using this slide discuss the .NET IDE with the students. An effective way of explaining the IDE to the students will be to open the .NET windows application project and discuss each of the components including: Windows Form Designer Code Window Toolbox Properties Window Solution Explorer Window Error-view Window Output Window And the menu and toolbars available within the IDE. The faculty should also discuss the following templates in .NET: Windows Application Class Library Windows Control Library Console Application Device Application Crystal Reports Application
  15. Reiterate the concepts taught earlier by asking the given question.
  16. Reiterate the concepts taught earlier by asking the given question.
  17. Reiterate the concepts taught earlier by asking the given question.
  18. While discussing the IDE, the faculty must also explain that .NET also provides three navigational features with almost all the windows. Demonstrate each of them for a better understanding of the features.
  19. The faculty must demonstrate the steps to create projects and solutions.
  20. While discussing the IDE, create a small form to demonstrate the IDE and at the same time build and execute the project so that the students are able to understand and remember the steps to do so.
  21. You can summarize the session by using the summary given in the slides. In addition, you can also ask students summarize what they have learnt in this session.