B.V Patel Institute of Business Management, Computer...
Transcript of B.V Patel Institute of Business Management, Computer...
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 1
BCA (Semester 4th)
030010401: GUI Programming
Teaching Schedule
Objective: To provide fundamentals of .NET framework, C# language and to introduce development of rich Windows form applications with event driven programming model. Course Outcomes: Upon completion of the course, students shall be able to
CO1: Comprehend key features of .NET framework and its class library. CO2: Illustrate basic constructs of C# language. CO3: Apply the concept of Exception handling in program. CO4: Apply the object oriented concept in program. C05: Design, implement and test the program using concept of inheritance and polymorphism. CO6: Create windows form, react to its events and manipulate its content in code. CO7: Design rich integrated and GUI windows applications. CO8: Demonstrate data access, data manipulation and data binding techniques using ADO.NET
and XML.
Uni
t Sub
Uni
t
No. of
Lecture
(s)
Topics Reference
Chapter/
Additiona
l Reading
Teaching
Methodolog
y to be used
Evaluation
Parameters
Unit 1 : Introduction to .NET Framework and C# Fundamentals
1.1 1 .NET framework &
architecture of .NET
framework: Evolution and
Benefits
KW #1 –
Page no. 3
KL #1-
Page no. 1-
5
Power Point
Presentation
Open Book Test, Unit Test-1,
Practical Unit Test-1
1.2 1 Common Language Runtime:
CLR functions, managed
code, unmanaged code,
memory management
KW #1 –
Page no. 5-
6
HS #1-
Page no. 9-
10
Power Point
Presentation
1.3 1 .NET Framework Class
Library & Common Language
Specification
KL #1 –
Page no. 3
KL #1-
Page no. 8-
Power Point
Presentation
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 2
17
1.4 1 Metadata and Assemblies:
Assembly Contents,
Assembly Manifest, GAC,
Private and Shared
Assemblies, Single-File and
Multi-File Assemblies
KW #1 –
Page no. 5
KL #1-
Page no. 6-
8
Power Point
Presentation,
Comprehensive
Reading
1.5 2 Introduction to Visual Studio
& Creating Console and
Windowsapplications
KW #1 –
Page no. 6-
8
KL #1-
Page no.
45-59
Demonstration
1.6 1 Introduction to C#, creating
applications in C#,
similarities &
difference with Java
KW #2 –
Page no.
14-24
Demonstration
& Chalk and
Talk
Unit 2 : C# Language Basics
2.1 1 Variables, Data types,
Operators (Arithmetic,
Relational, Bitwise) and its
precedence, boxing and un-
boxing
KW #3 –
Page no.
29-45
KL #2-
Page no.
85-97
Demonstration
& Chalk and
Talk
Open Book Test,
Unit Test-1, Quiz, Practical
Unit Test-1 2.2 1 Flow control: Selection
statement, Iteration
statement, Jump statement
KW #4 –
Page no.
58-75
KL #3-
Page no.
120-126
Demonstration
& Chalk and
Talk
2.3 1 Procedures: Subroutines and
Functions, Argument passing
mechanism, Returning value,
Built in functions,
Overloading functions
KW #6 –
Page no.
108-128
Demonstration
& Chalk and
Talk
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 3
2.4 1 Array: Declaring, Initializing,
Multi-dimensionaland
Dynamic
KW #5 –
Page no.
92-98
Demonstration
& Chalk and
Talk
2.5 1 Exception handling:
Structured and Unstructured
error handling
KW #7 –
Page no.
147-153
KL #3-
Page no.
126-128
Demonstration
& Chalk and
Talk
Unit 3 : OOP in C#
3.1 1 Concept of Class, Object,
Encapsulation, Inheritance,
Polymorphism in C#
KW #8 –
Page no.
163,167-
169
Demonstration
& Chalk and
Talk
Unit Test-1, Quiz, Practical
Unit Test-1
3.2 1 Creating Class and Objects
Methods with “ref” and “out”
parameters
KW #9 –
Page no.
177-180
KL #4-
Page no.
152-159
Demonstration
& Chalk and
Talk
3.3 1 Static and Non-Static
Members
KW #8 –
Page no.
162-163
Demonstration
& Chalk and
Talk
3.4 1 Constructors, Destructor KW #9 –
Page no.
184-188
Demonstration
& Chalk and
Talk
3.5 2 Inheritance, Interface and
Polymorphism: deriving
classes, calling base class
constructor, overriding
Methods, non-inheritable
classes, abstract class,
interface inheritance
KW #8 –
Page no.
165-167
KW #9 –
Page no.
180-184
KL #3-
Page no.
195-204
Demonstration
& Chalk and
Talk,
Comprehensive
Reading and
Solving exercise
problem by the
students
3.6 1 Generic and Collection KW #12 – Demonstration
& Chalk and
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 4
classes Page no.
280-281
Talk
Unit 4 : GUI Design and Event Driven Programming
4.1 3 Basic windows controls KW #15 –
Page no.
408
Demonstration
& Chalk and
Talk
Unit Test-2, Practical Unit
Test-2, Self
Creation
Parameter
4.2 3 Concept of adding various
Windows Controls: Button,
Label, TextBox, RadioButton,
CheckBox, ComboBox,
ListBox,PictureBox,
ScrollBar, ToolStrip, Timer,
Panel and GroupBox
KW #15 –
Page no.
402-413,
418
Demonstration
& Chalk and
Talk
4.3 3 Windows form: appearance
of form-properties of form,
placing controls on forms,
setting tab order, anchoring
and docking, splitting forms
into multiple forms, MDI
(Multiple Document
Interface)
HS #25 –
Page no.
849-861
Demonstration
& Chalk and
Talk
4.4 3 Working with the Events:
handling Form events,
Mouse events, Keyboard
events
KW #15 –
Page no.
388-392
Demonstration
& Chalk and
Talk
Unit 5 : Advanced GUI controls
5.1 2 RichTextBox: text
manipulation and formatting
KL #9-
Page no.
343-344
Demonstration
& Chalk and
Talk
Unit Test-2, Practical Unit
Test-2, Self
Creation
Parameter
5.2 2 Dialog Boxes (ColorDialog,
FontDialog, SaveFileDialog
andOpenFileDialog)
KL #8-
Page no.
316-317
Demonstration
& Chalk and
Talk
5.3 2 TreeView control: adding
nodes at design time and
runtime, scanning tree view
control, Menu, (MenuStrip,
ContextMenuStrip)
KL #9-
Page no.
367-371
Demonstration
& Chalk and
Talk
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 5
5.4 2 ListView control: the column
collection, ListView Items
and subitems, Items
collection, Subitems
collection, sorting in
ListView, processing selected
Items.
KL #9-
Page no.
367
Demonstration
& Chalk and
Talk
Unit 6 : Managing data with ADO.NET and XML
6.1
1
Introduction to ADO .NET RM #1-
Page no. 5-
8
Demonstration
& Chalk and
Talk
Self-Creation Parameter
6.2 Concept of Connected and
Disconnected Architecture
KL #19-
Page no.
893-899
Demonstration
& Chalk and
Talk
6.3 1 Data Providers in ADO.NET
and connection Object
RM #2-
Page no.
18-36
Demonstration
& Chalk and
Talk
6.4 2 Working with the DataSet:
creating, filling and
modifying DataSet, DataGrid
control and Data Binding
RM #1-
Page no.
14-17
Demonstration
& Chalk and
Talk
6.5 2 Accessing data: Executing
query using Command
object, Reading data
RM #3-
Page no.
37-60
Demonstration
& Chalk and
Talk
6.6 2 Working with XML file :
creating, retrieving, updating
and searching data
KW #22 –
Page no.
639-660
Demonstration
& Chalk and
Talk
6.6 2 Reports: RDLC (Report
Definition Language Client-
side)
http://ww
w.aspsnip
pets.com/
Articles/R
DLC-
Report-in-
Windows-
Forms-
WinForms
-
Applicatio
n-using-C-
Demonstration
& Chalk and
Talk
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 6
and-
VBNet.asp
x
References :
1. Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner - “Beginning Visual C# 2010” – Wrox Publication. [KW] 2. Rebecca M. Riordan - Microsoft Press “Microsoft ADO. Net” – PHI. [RM] 3. Herbert Schildt, “The Complete Reference C#”- TATA McGRAW HILL. [HS] 4. Kogent Learning Solutions Inc, “C# 2012 Programming”. [KL]
Note: # denotes chapter number.
Course objectives and Course outcomes mapping:
Fundamentals of .NET framework: CO1, CO2. Fundamentals of C# language: CO2, CO3, CO4, CO5. Development of rich windows form applications with event driven programming model:
C03, C04, C05, CO6, CO7, CO8.
Course units and Course outcome mapping:
Unit No.
Unit
Course Outcome CO1 CO2 CO3 CO4 CO5 CO6 CO7 CO8
1 Introduction to .NET Framework and C# Fundamentals
2 C# Language Basics
3 OOP in C#
4 GUI Design and Event Driven Programming
5 Advanced GUI controls
6 Managing data with ADO.NET and XML
Course outcome and Programme Outcome mapping:
Course
Outcomes
Program Outcomes
PO1 PO2 PO3 PO4 PO5 PO6
CO1
CO2
CO3
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 7
CO4
CO5
CO6
CO7
CO8
Computing Environment:
A student must have the following computing environment available in laboratory as well as in his/her personal laptop.
Visual Studio 2010 or above
Modes of Transaction (Delivery):
Various methods of teaching should be employed depending on the objectives of the content taught.
Lecture method along with various appropriate audio-visual aids and hands on practices and demo to exercise uncovered feature of .NET.
Apart of lecture method implementation Demonstration of topic covered in each unit shall be given and Hands on training shall be given of topic covered in each unit.
Activities/Practicum:
The following activity shall be carried out by the students. Student shall have to prepare assignment on list of control, which are commonly used in
various applications. Student demonstrates application and discusses arrangement of controls.
The following activity shall be carried out by the teacher. Accessing data using LINQ.
Number of Practical Problems in Journal: 21
Total sets to be developed for each division: 2
Unit Number Number of
Questions
Time required
to implement
and debug the
question (in
hours)
Minimum required
of Journal
Certification
2 3 6Hrs. 3
3 4 8Hrs. 4
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 8
4 4 12Hrs. 4
5 5 12Hrs. 5
6 4 12Hrs. 4
TOTAL 20 50 20
Concept map:
Course: GUI Programing
GUI Programming
.NET Framework and C# fundamental
C# Language Basics
OOP in C#
GUI Design and Event Driven Programming
ADO.NET
Advanced GUI Controls
includes
includes
includes
includes
includes
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 9
Unit-1: Introduction to .NET Framework and C# Fundamentals
Introduction to .NET Framework and C#
fundamental
.NET Framework
Architecture
Evolution & Benefits
Common Language Runtime
CLR functions
Managed code
UnManaged code
Memory Management
Metadata and Assemblies
Assembly Manifest
Private and Shared
Single-File and Multiple-File
Assembly Content
GAC
Class Library & CLS
Create console and window application
discusses
discusses
discusses
includes
includes
includes
includesincludes
includes
includes
includesincludes
includes
discusses
discusses
Unit-2: C# Language Basics
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 10
C# Language Basics
Variables
Datatypes
Operators
Boxing and Un-boxing
Procedure
Flow ControlArithmetic
Relational
Bitwise
Selection statement
Iteration statement
Jump statement
Array
Declaring
Multi-dimensional
Dynamic
Exception Handling
discusses
discusses
discusses
discusses
discusses
discusses
discusses
includes
includes
includes
includes includes
includes
includesincludes
includes
discusses
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 11
Unit-3: OOP in C#
OOP in C#
Class and Object
Static and Non-static Member
Constructor and Destructor
Inheritance, Interface and Polymorphism
Collection Class
Generic Class
ref Parameter
out Parameter
deriving classes
Calling base class constructor
Overriding Method
Non-inheritable classes
Abstract class
Interface inheritance
discusses
discusses
discusses
discusses
discusses
discusses
includes
includes
includes
includes
includes
includes
includes
Unit-4: GUI Design and Event Driven Programming
GUI Design and Event Driven Programming
Windows Controls
Events
Windows Form
Panel
GroupBox
Timer
ToolStrip
Button
Label
TextBox
RadioButton
CheckBox ScrollBar
PictureBoxComboBox
ListBox
Form Properties
Placing control on form
Setting tab order
Setting tab order
Anchoring and docking
MDI
Form Event
Mouse Event
Keyboard Event
discusses
discusses
discusses
includes
includes
includes
includes
includes
includesincludes
includes
includesincludes
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 12
Unit-5: Advanced GUI controls
Advanced GUI controls
RichTextBox
Dialog Boxes
Menu
ListView control
TreeView control
Text manipulation
formatting
OpenFileDialog
SaveFileDialog
FontDialog
ColorDialog
MenuStrip
ContextMenuStrip
discusses
discusses
discusses
discusses
discusses
includes
includes
includes
includes
includes
includes
includesincludes
B.V Patel Institute of Business Management, Computer & Information Technology
2016
Ms. Jaishree Patil, Ms. Rutu Patel Page 13
Unit-6: Managing data with ADO.NET and XML
Managing Data with ADO.NET and XML
Architecture
Data Providers
RDLC Report
Accessing Data using ADO.NET
Connected
Disconnected
Dataset
Creating Dataset
Filling Dataset
Modifying Dataset
DataGrid Control
Data Binding
Execute QueryReading Data
discusses
discusses
discusses
discusses
discusses
includes
includes
includes
includes
includes
includesincludes
includes
discusses
ADO.NETXML
includes includes
Access Data