Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Distributed Information Systems Lecture 7 - Practical Lecture3 Building an Admin GUI, Lecture notes of Database Management Systems (DBMS)

Description about Building an Admin GUI, Developing a Java client, Create a graphical user interface, Make use of an existing business,Creating the Project, Applications.

Typology: Lecture notes

2010/2011

Uploaded on 09/09/2011

rossi46
rossi46 🇬🇧

4.5

(10)

313 documents

1 / 49

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Distributed Information
Distributed Information
Systems
Systems
Markus A. Wolf & Elena I. Teodorescu
Markus A. Wolf & Elena I. Teodorescu
Practical Lecture 3
Building an Admin GUI
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31

Partial preview of the text

Download Distributed Information Systems Lecture 7 - Practical Lecture3 Building an Admin GUI and more Lecture notes Database Management Systems (DBMS) in PDF only on Docsity!

Distributed InformationDistributed Information

Systems Systems

Markus A. Wolf & Elena I. Teodorescu^ Markus A. Wolf & Elena I. Teodorescu

Practical Lecture 3

Building an Admin GUI

Practical Session Structure^ Practical Session Structure

Introduction

Building a business component

Building an admin GUI

Introducing .NET remoting

Creating a web service and clientwebsite

Developing a Java client

Learning Objectives^ Learning Objectives

  • Create a graphical user interface• Make use of an existing business

component deployed as a DLL

Introduction^ Introduction

  • In this practical session we will:
    • Implement a GUI application to test the

business component developed in theprevious practical lecture

  • Make use of a number of GUI controls

(widgets) to build the application

  • Use the façade class for the Admin role in

order to extract/insert data into the database

  • Creating the Project /

Administrator Role^ Administrator Role

  • We need to build a user interface to

support the administrator’s functionality:^ – setting up the project– dividing the project into tasks– assign tasks to teams– create new teams if necessary– update any changes to the project– track overall project progress

What are we building?What are we building?

What are we building?

What are we building?

frmAdmin

•^

By creating awindows application,Visual Studio willautomatically create awindows form

-^

Right-click andrename it tofrmAdmin.cs

Form Properties

•^

In the properties of theform:^ – Change “Text” to

Administrator Tool

  • Resize the form to 730 by

530

Controls for Login

•^

Add 2 textboxes and change the Properties(from the Toolbox pane):^ – Name: txtUsername, txtPassword

-^

Add associated labels to each textbox with thetext set to Username and Password.

-^

Add a button named btnLogin and Text set toLogin

Adding a Reference

•^

On the Add Reference dialog select the

Browse

tab and browse to the PTSLibrary project(subfolder PTSLibrary > bin > Debug) and addthe PTSLibrary.dll as a reference

Adding a Reference /

•^

By adding a reference to the PTSLibrary, weprovide our project with visibility of our component^ – But in order to make calls on the PTSAdminFacade

from the code in our frmAdmin form, we still need toadd a using directive