Beruflich Dokumente
Kultur Dokumente
OOP Ms .NET
Visual Programming
Introduction to Visual C#
C# Fundamental
Marcel Bonar Kristanda
Vector image courtesy of freepik.com
The Instructor
Marcel Bonar Kristanda, S.Kom, M.Sc
E-mail : marcel.bonar@umn.ac.id
Office Phone : (021)5422-0808 Ext. 6021
Mobile Phone : 085770302782
LINE ID : bonar.umn
Facebook: Marcel Bonar Kristanda
Responsive Web
Push Technology
Mobile Technology
MBK
The References
Books
Title
Author
Year
Accelerated C# 2010
Trey Nash
2010
Adam Freeman
2010
Andrew Troelsen
2012
Allen Jones
Adam Freeman
2010
N. Hari Narayanan
Roland Hbscher
1998
MBK
The Points
Things to Note
MBK
The Outline
Introduction to C#
Preconcepts
Programming Language Paradigm
Multiple Paradigms
Concept
Visual Programming
.NET Framework
Visual Studio .NET
MBK
The Outline
Fundamental C#
Basic Understanding
Language Rule
Class Structure
Inheritance
Access Modifier
Technical Understanding
Simple C# Programs
Identifiers
Keywords
Windows Application Form
Visual Controls
Properties and Event
MBK
The Preconcepts
Programming Language Paradigm
MBK
Multiple Paradigms
C# Paradigms
Perspective
Procedural (C)
OOP (C#)
Fundamental
Unit
Function and
Variable
Code
Organization
List of Small
Procedures
Attributes and
Class Methods
Data
No Intrinsic
Relationship
Global/Local
Intrinsic
Relationship
Public / Protected
/Private
Reusability
Less
Very High
Abstraction
No
Yes
Inheritance
No
Yes
Encapsulation
No
Yes
Polymorphism
No
Yes
Cost (Relatively)
More
Less
MBK
The Concept
Definition of Visual Programming
MBK
The Framework
Microsoft .NET Framework
What is .NET?
Application development platform
from Microsoft that provides
services for building, deploying,
and running desktop, web, and
phone applications and web
services. Released in 2002
What is Framework?
Framework may include support
programs,
compilers,
code
libraries, tool sets, and application
programming interfaces (APIs)
that bring together all the different
components
to
enable
development of a project or
solution
MBK
10
The Framework
Relations between C# and .NET
MBK
11
MBK
Fundamental C#
12
Case Sensitive
Semicolon
Statement
MBK
13
Fields
Properties
Methods
MBK
14
MBK
15
The Inheritance
C# Inheritance
One of the big features of
object-oriented programming is
that one object can inherit
features from another.
You can write C# programs
without using the inheritance
features, but youll quickly find
thatyour code becomes hard to
maintain.
MBK
16
The Inheritance
Relations between Access Modifier and Inheritance
MBK
17
Technical Understanding
Simple C# Non-Visual Program Structure
MBK
18
The Identifiers
MBK
19
The Keywords
Punctuators
10 -> Literals
* -> Operators
MBK
20
Inside Toolbox
Main Workarea
Visual Controls
that you can drag
and drop it to the
Form
Form that
implicates
display of the
application
development
MBK
21
MBK
22
Visual Controls
Properties
Visual Control
Properties can be set
as initial state of how
the control looks like
or behave
IMPORTANT!!!
Text is not the same
as Name Properties.
It can be change
inside your code for
sure
MBK
23
Visual Controls
Event
MBK
24
Visual Controls
Adjusting Controls to Make It Neat
Split Containers
Divide the form or
other container into 2
panels
Important Property
Orientation :
Horizontal
Vertical
Can be combined with
Dock Property from
other visual control
MBK
25
Coding Techniques
Graphics: Lets Paint a Square and Ellipse
MBK
26
The Assignment
Individual
Make a Summary of what you learn in the 1st week with the rules:
1. Make it in Bahasa Indonesia
2. All the example must be different with this presentation
3. First paragraph is the title Bab 1 : Pengenalan dan Dasar Visual C#
4. Put some valid references for your summary at the end, use Harvard Style
5. A grader will be used to check the content, language style, and sentence
similarity. So, please make it on your own and you will get not only
points but more understanding in this course.
Technical Details
1. A4 Paper, Margin 3 cm
2. Min. 3 Pages Max. 8 Pages
3. Font : Times New Roman, 11pt, 1.5pt line spacing (also before-after
paragraph)
4. Save it as Ms. Word and Submit it to me as a PDF File
5. Name the Ms. Word File as Rangkuman Pemrograman Visual NIM Nama
Kelas.docx / .doc
6. Name the PDF as Summary_01_NIM_Name_Class(A/B/C/D/E/F/G).pdf
MBK
The Assignment
27
Group
Make a Group : 2 person 3 person.
Name your Group with an appropriate name (educational context)
Find a physical form with minimum 10 fields.
Each group has to bring an unique form, even with other classes
group.
5. Convert it to a Windows Form Application display.
6. Give the Solution Name as Group_Class(A/B/C/D/E/F/G)_GroupName
7. Project Name as Group_01_Class(A/B/C/D/E/F/G)_GroupName_Starter
8. Bring your own laptop with Visual Studio 2010 installed (Express Edition
will be okay) and prepare the Windows Form and show it next week!
9. Take a photo with clear shot of your form!
10. Take a screenshot of windows form application version!
11. Put it side by side with a graphic editor!
12. Submit it as Group_01_Class(A/B/C/D/E/F/G)_GroupName.jpg!
1.
2.
3.
4.
MBK
fin
MBK