SlideShare a Scribd company logo
Let’s StartIntro To Windows Apps UsingC#Develop Simple Calculator
Out LinesPurpose of this sessionDos vs WindowsWindows applications conceptsExample (make calculator using win forms app)
PurposeWhat’s this session for ?For making a calculator using C#FalseFalse !!, for What ?!!I will tell youThis session for begin using C# to develop our first windows applicationPurposeNot to make a calculator	 	(Simply it’s nothing)To learn how to make windows  apps 		(I got it)
Dos vs WinDosVery poor operating systemEvery thing is textBased on commandsWindowsThe most popular operating systemMore friendly to userBased on graphical user interfaces (GUIs)Absolutely there is other differences but this what we need right now
Windows ApplicationsWindows appsIt’s applications used for windows OSGraphical user interface appsAllows a user to interact visually Buttons , text-boxes , labels , …Windows formsUsed to create the GUIs
FormsGraphical element that appears on your computer's desktopasDialogsSDI  Window		(single document interface)MDI Window 	(multiple document interface)The place where we can but GUI controls
ControlsWindows app as said before consist of Buttons , labels , text-boxes , … etc.These is called GUI controlsGUI controls are objects that can Display information on the screenEnable users to interact with an app via mouse, keyboardSome other form of input as voice commands
Common ControlsEach control has its own Properties & EventsProperty as: Background color	Event as: Click
EventsEvent is “Something occur”When we click the mouse this is an eventWhen we type on the keyboard this is an eventGUIs are event driven which meanEach event, must have its own handlerHandlerMethod perform a task in response to events
Let’s StartWe will develop a calculator
What For ? What type of calculators user need? for what ?Simple, 		Basic calculationsAdvanced, 	Complex calculationsCustom, 	Custom type of calculationsMix		All of themSimply if you made one you can make allBecause its only “idea”
Let’s ProgramWe will make the simple oneSimply because there isn’t remaining timeIt’s the root of all othersWe will use Visual Studio As IDESimply because it’s the bestWe will use C# as PLSimply because it’s the StrongestNow Let’s ProgramOkay let’s do it
Let’s Think & ImagineNeed to get input from the userCan use some buttons to read numbers & operationsCan use text-box to show operands, resultsConvert the input in text box to numbersCan use parse( ) methodStore this input in variables for making calculationsdouble fNum , sNum ; Make operations on the values stored in variablesdouble   result  = fNum ( Operation [+,-,*,/] ) sNum ;Show the final result to userShow it in the text-box
Let’s CodeWe should now start to codeAt  this stage we will convert our thinking & imagination into real world applicationThis could be done by writing some steps based on our thinking & imagination
SummaryDos Vs WinWindows ApplicationsForms (Windows Forms)GUI ControlsEventsExample on Simple Calculator
Questions ?

More Related Content

DOCX
Notepad tutorial
PPTX
Notepad
 
PPTX
Full Presentation on Notepad
PPT
Notepad
PPS
Notepad Presentation Mca
PDF
Windows 7 Unit A PPT
PPTX
Power Point Introduction To Programming 1
PPTX
UNIT I.pptx
Notepad tutorial
Notepad
 
Full Presentation on Notepad
Notepad
Notepad Presentation Mca
Windows 7 Unit A PPT
Power Point Introduction To Programming 1
UNIT I.pptx

Similar to Intro to windows app (20)

PPTX
Presentation on visual basic 6 (vb6)
PPTX
IT sill module 1 presentation for Diploma students
PDF
Introducing Small Basic.pdf
PPTX
Event driven theory
PDF
Moreno Xec
PDF
Introducing small basic
PPTX
Python Lesson for the beginners to understand the basic concept of python.pptx
PPT
Slide 01
PDF
Introducing small basic
PPTX
01 Programming Fundamentals.pptx
PDF
An introduction to programming
PPTX
Vb.net and .Net Framework
PPTX
Discrete Event Simulation, CASE tool built using C#
PPTX
Data Scenarios 2020: 6 Amazing Transformations
PPTX
Chapter one power point presentation1234567890
PDF
Cucumber meets iPhone
PPT
Visual basic 6.0
PPTX
1_2 Module 2 The Programming Process.pptx
PPT
Chapter 01
PPTX
Application development with Python - Desktop application
Presentation on visual basic 6 (vb6)
IT sill module 1 presentation for Diploma students
Introducing Small Basic.pdf
Event driven theory
Moreno Xec
Introducing small basic
Python Lesson for the beginners to understand the basic concept of python.pptx
Slide 01
Introducing small basic
01 Programming Fundamentals.pptx
An introduction to programming
Vb.net and .Net Framework
Discrete Event Simulation, CASE tool built using C#
Data Scenarios 2020: 6 Amazing Transformations
Chapter one power point presentation1234567890
Cucumber meets iPhone
Visual basic 6.0
1_2 Module 2 The Programming Process.pptx
Chapter 01
Application development with Python - Desktop application
Ad

More from DevMix (15)

PPTX
Framework prototype
PPTX
Framework prototype
PPTX
Devmix algorithm
PPTX
Select your career
PPTX
Devmix algorithm
PPTX
Framework prototype
PPT
New in html5
PPTX
Algorithms
PPTX
Intro To DataBase
PPTX
OOP in C#
PPTX
Logos samples
PPTX
C sharp fundamentals Part I
PPT
Python
PPTX
Making a presentation
PPTX
Cloud Computing
Framework prototype
Framework prototype
Devmix algorithm
Select your career
Devmix algorithm
Framework prototype
New in html5
Algorithms
Intro To DataBase
OOP in C#
Logos samples
C sharp fundamentals Part I
Python
Making a presentation
Cloud Computing
Ad

Recently uploaded (20)

PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
RMMM.pdf make it easy to upload and study
Pharma ospi slides which help in ospi learning
Pharmacology of Heart Failure /Pharmacotherapy of CHF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Module 4: Burden of Disease Tutorial Slides S2 2025
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Supply Chain Operations Speaking Notes -ICLT Program
202450812 BayCHI UCSC-SV 20250812 v17.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
human mycosis Human fungal infections are called human mycosis..pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Computing-Curriculum for Schools in Ghana
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
102 student loan defaulters named and shamed – Is someone you know on the list?
Final Presentation General Medicine 03-08-2024.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf

Intro to windows app

  • 1. Let’s StartIntro To Windows Apps UsingC#Develop Simple Calculator
  • 2. Out LinesPurpose of this sessionDos vs WindowsWindows applications conceptsExample (make calculator using win forms app)
  • 3. PurposeWhat’s this session for ?For making a calculator using C#FalseFalse !!, for What ?!!I will tell youThis session for begin using C# to develop our first windows applicationPurposeNot to make a calculator (Simply it’s nothing)To learn how to make windows apps (I got it)
  • 4. Dos vs WinDosVery poor operating systemEvery thing is textBased on commandsWindowsThe most popular operating systemMore friendly to userBased on graphical user interfaces (GUIs)Absolutely there is other differences but this what we need right now
  • 5. Windows ApplicationsWindows appsIt’s applications used for windows OSGraphical user interface appsAllows a user to interact visually Buttons , text-boxes , labels , …Windows formsUsed to create the GUIs
  • 6. FormsGraphical element that appears on your computer's desktopasDialogsSDI Window (single document interface)MDI Window (multiple document interface)The place where we can but GUI controls
  • 7. ControlsWindows app as said before consist of Buttons , labels , text-boxes , … etc.These is called GUI controlsGUI controls are objects that can Display information on the screenEnable users to interact with an app via mouse, keyboardSome other form of input as voice commands
  • 8. Common ControlsEach control has its own Properties & EventsProperty as: Background color Event as: Click
  • 9. EventsEvent is “Something occur”When we click the mouse this is an eventWhen we type on the keyboard this is an eventGUIs are event driven which meanEach event, must have its own handlerHandlerMethod perform a task in response to events
  • 10. Let’s StartWe will develop a calculator
  • 11. What For ? What type of calculators user need? for what ?Simple, Basic calculationsAdvanced, Complex calculationsCustom, Custom type of calculationsMix All of themSimply if you made one you can make allBecause its only “idea”
  • 12. Let’s ProgramWe will make the simple oneSimply because there isn’t remaining timeIt’s the root of all othersWe will use Visual Studio As IDESimply because it’s the bestWe will use C# as PLSimply because it’s the StrongestNow Let’s ProgramOkay let’s do it
  • 13. Let’s Think & ImagineNeed to get input from the userCan use some buttons to read numbers & operationsCan use text-box to show operands, resultsConvert the input in text box to numbersCan use parse( ) methodStore this input in variables for making calculationsdouble fNum , sNum ; Make operations on the values stored in variablesdouble result = fNum ( Operation [+,-,*,/] ) sNum ;Show the final result to userShow it in the text-box
  • 14. Let’s CodeWe should now start to codeAt this stage we will convert our thinking & imagination into real world applicationThis could be done by writing some steps based on our thinking & imagination
  • 15. SummaryDos Vs WinWindows ApplicationsForms (Windows Forms)GUI ControlsEventsExample on Simple Calculator