Course code InfT2033

Credit points 3

Windows Programming

Total Hours in Course81

Number of hours for lectures16

Number of hours for laboratory classes16

Independent study hours49

Date of course confirmation18.10.2022

Responsible UnitInstitute of Computer Systems and Data Science

Course developers

author lect.

Jekaterina Smirnova

Mg. sc. ing.

author lect.

Ingus Šmits

Mg. sc. ing.

Prior knowledge

DatZ1009, Introduction to Programming I

DatZ1010, Introduction to Programming II

Course abstract

The aim of the study course is to introduce students to the principles of building Windows applications using the programming language C# and the integrated development environment Visual Studio .Net. Students gain practical skills in using text input, list processing, data validation, menu creation, image display, and graphics creation components.

Learning outcomes and their assessment

As a result of the study course students:
• know about development Windows applications using the C# programming language (laboratory works, independent work);
• know how to code and debug programs, use good programming style, implement user interfaces (laboratory works, independent work);
• are able to independently code and debug programs for performing simple calculations and data processing tasks, implement user interfaces without using database management systems (independent work).

Course Content(Calendar)

1. Basic principles of Windows application development - 2 hours
2. WPF project structure, program code commenting, project files, project construction and launch - 2 hours
3. WPF *.xaml file structure and use of tags - 2 hours
4. Designing a grid (Grid) in a *.xaml file - 2 hours.
5. Component properties and events. Programming of simple events - 2 hours
6. Window component. Using window attributes in program code - 2 hours
7. Button component. Defining the location of the button and spaces in the program code - 2 hours
8. Label, TextBlock and TextBox components - 2 hours
9. Using tags Grid, DockPanel, StackPanel for placing and aligning different types of components - 2 hours
10. RichTextBox component - 2 hours
11. Menu development using Menu and MenuItem components - 2 hours
12. DispatcherTimer component - 2 hours
13. Regular expression syntax and use for solving various tasks - 2 hours
14. RadioButton and CheckBox components - 2 hours
15. Data collection - 4 hours

Requirements for awarding credit points

Completed laboratory works and independently developed application.

Description of the organization and tasks of students’ independent work

During the semester, the student must complete the laboratory works using the assignment descriptions using consultation with the head of the laboratory work and the lecturer.
The student must independently develop an application on the chosen topic, study literature and Internet resources.

Criteria for Evaluating Learning Outcomes

The exam grade is formed as an accumulative assessment from two parts - assessment of laboratory work (40%), assessment of independently developed application (60%).

Compulsory reading

1. Lee G. Modern Programming: Object Oriented Programming and Best Practices: Deconstruct Object-oriented Programming and Use It with Other Programming Paradigms to Build Applications. Packt Publishing, 2019 – 249 pp. Pieejams: EBSCO e-book academic collection datubāzē https://search-ebscohost-com.ezproxy.llu.lv/login.aspx?direct=true&db=e000xww&AN=2181411&site=ehost-live&scope=site
2. C# Tutorial [tiešsasite]. Pieejams: https://www.w3schools.com/cs/index.php
3. M. Posadas M. Mastering C# and .NET Framework. Birmingham: Packt Publishing, 2016. Pieejams: EBSCO e-book academic collection datubāzē https://search-ebscohost-com.ezproxy.llu.lv/login.aspx?direct=true&db=e000xww&AN=1440572&site=ehost-live&scope=site

Further reading

1. Mehboob O., Khan A., Callaway J., Hunt C., Stephens R. Improving Your C# Skills: Solve Modern Challenges with Functional Programming and Test-driven Techniques of C#. Birmingham: Packt Publishing, 2019. 589 p.
2. W.Angorro. Functional C#. Birmingham, UK : Packt Publishing. 2017 – 365 pp. EBSCO e-book academic collection datubāzē https://search-ebscohost-com.ezproxy.llu.lv/login.aspx?direct=true&db=e000xww&AN=2036186&site=ehost-live&scope=site
3. .NET Documentation [tiešsaiste]. Pieejams: https://learn.microsoft.com/en-us/dotnet/

Periodicals and other sources

• EBSCO e-book academic collection. Pieejams: https://web-p-ebscohost-com.ezproxy.llu.lv/ehost/search/selectdb?vid=0&sid=8715372b-5e1d-4646-9ecc-530bf329861f%40redis
• Visual Studio .Net. [tiešsaiste]. Pieejams: https://visualstudio.microsoft.com/vs/features/net-development/

Notes

Compulsory course in Computer Science and Computer Science and Information Technology for Sustainable Development.