lab practical works for lesson 02 - sabraz · lab practical works for lesson 02 mit 31043: visual...
TRANSCRIPT
![Page 1: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/1.jpg)
Lab Practical Works for Lesson 02
MIT 31043: Visual Programming
By: S. Sabraz NawazSenior Lecturer in MIT
Department of MITFaculty of Management and Commerce
South Eastern University of Sri Lanka
![Page 2: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/2.jpg)
Lesson 02Working with Data
TypesMIT 31043, Visual Programming
By: S. Sabraz NawazSenior Lecturer in MIT
![Page 3: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/3.jpg)
Practice 01Interface with Properties
Practice 02: By. SaNa 3
![Page 4: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/4.jpg)
Code
Practice 02: By. SaNa 4
![Page 5: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/5.jpg)
Practice 02
Practice 02: By. SaNa 5
![Page 6: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/6.jpg)
Properties Setting
Control Property Value
Form MaximizeBoxMinimizeBoxSizeText
FalseFalse265, 362Sales
Groupbox1
Groupbox2
BackColorTextBackColorText
ControlLight[empty]ControlLight[empty]
Label1
Label2Label3Label4Label5Label6
AutosizeBackColorFontColorFontSizeTextTextTextTextTextText
FalseBlackYellowCandra, 18pt, Bold232, 40Clothing SalesNumber of Items:Price:Extended Price:Discount (30%):Amount Due:
Practice 02: By. SaNa 6
![Page 7: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/7.jpg)
Properties Setting
Control Property Value
Textbox1Textbox2Textbox3Textbox4Textbox5
NameNameNameNameName
quantityTextboxpriceTextboxextendedPriceTextboxdiscountTextboxamountDueTextbox
Button1
Button2
Button3
NameText
NameText
NameText
calculateButton&Calculate
clearButtonC&lear
exitButtonE&xit
Practice 02: By. SaNa 7
![Page 8: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/8.jpg)
Coding
Practice 02: By. SaNa 8
![Page 9: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/9.jpg)
Coding
Practice 02: By. SaNa 9
![Page 10: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/10.jpg)
Practice 03
Practice 02: By. SaNa 10
![Page 11: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/11.jpg)
Properties SettingControl Property Value
Form MaximizeBoxMinimizeBoxSizeText
FalseFalse387, 434Sales
Groupbox1
Groupbox2
Groupbox3
TextSize
TextSize
TextSize
[empty]269, 100
[empty]269, 112
Summary269, 100
Label1 AutosizeBackColorFontColorFontSizeText
FalseBlackYellowCandra, 18pt, Bold350, 40Clothing Sales
Practice 02: By. SaNa 11
![Page 12: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/12.jpg)
Properties Setting
Control Property Value
Label1
Label2Label3Label4Label5Label6Label7Label8
AutosizeBackColorFontColorFontSizeText
TextTextTextTextTextTextText
FalseBlackYellowGeorgia, 18pt, Bold350, 40Clothing Sales
Number of Items:Price:Extended Price:Discount (30%):Amount Due:Total Amount:No. Of. Transactions:
Practice 02: By. SaNa 12
![Page 13: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/13.jpg)
Properties Setting
Control Property Value
Textbox1Textbox2Textbox3Textbox4Textbox5Textbox6Textbox7
NameNameNameNameNameNameName
quantityTextboxpriceTextboxextendedPriceTextboxdiscountTextboxamountDueTextboxtotalAmountTextboxnumberOfTransactionsTextbox
Button1
Button2
Button3
NameText
NameText
NameText
calculateButton&Calculate
clearAllButtonC&lear All
exitButtonE&xit
Practice 02: By. SaNa 13
![Page 14: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/14.jpg)
Coding
Practice 02: By. SaNa 14
![Page 15: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/15.jpg)
Coding
Practice 02: By. SaNa 15
![Page 16: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/16.jpg)
Coding
Practice 02: By. SaNa 16
![Page 17: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/17.jpg)
Practice 04
Practice 02: By. SaNa 17
![Page 18: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/18.jpg)
bonusTextbox allowanceTextbox netSalaryTextbox
basicSalaryTextbox
otRateTextbox
otHoursTextbox
loanTextbox
Interface Design
Practice 02: By. SaNa 18
![Page 19: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/19.jpg)
Practice 02: By. SaNa 19
Codes
![Page 20: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/20.jpg)
Codes (casting)
Practice 02: By. SaNa 20
![Page 21: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/21.jpg)
Practical 05• Write a Visual C# program that takes Amount as
input and displays the possible currency
denominations as output. Currency denominations
are 5000/=, 2000/=, 1000/=, 500/=, 100/=, 50/=, 20/=,
10/= and Coins.
Practice 02: By. SaNa 21
![Page 22: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/22.jpg)
Interface Design
Practice 02: By. SaNa 22
![Page 23: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/23.jpg)
Codes 1 of 3
Practice 02: By. SaNa 23
![Page 24: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/24.jpg)
Codes 2 of 3
Practice 02: By. SaNa 24
![Page 25: Lab Practical Works for Lesson 02 - sabraz · Lab Practical Works for Lesson 02 MIT 31043: Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty](https://reader034.vdocument.in/reader034/viewer/2022050717/5e144d4ac4de6f6c95400a91/html5/thumbnails/25.jpg)
Codes 3 of 3
Practice 02: By. SaNa 25