Need some help to understand two sentences

T

Tony Johansson

Hello!

I'm taking a course at a university and I have a task here that I hope that
somebody might understand more then I do about this exercise.
I will quite easy do the task as soon as I understand it.
I have worked with user control many times so I understand how they works.

Here is the text from the specification document.
"Build a user control which works as a login control using Windows Class
Library and user Control Template.The user control returns the user name the
password and the login time. It means that the control has three ReadOnly
properties. Create a Windows application to test your control as in the
picture"
The user control GUI looks like this in design mode:
-------------------!
UserName: Nisse !
Password: ***** !
!
timer control here !
-------------------!

When you run a test application it looks like this.
-------------------
UserName: Nisse
Password: ***** Login

You have login 14:10:52

My question
I mean that when you run the application you enter the username and password
and click the Login button and as a result a text is written like in the
example above You have login: 14:10:52

I must say that the specification is very badly written.
There are two sentences that bother me here.
First the sentence "The user control returns the user name the password and
the login time"
what does this mean ?

Second what is this sentence trying to say It means that the control has
three ReadOnly properties ?

//Tony
 
J

Jeff Gaines

First the sentence "The user control returns the user name the password
and the login time"
what does this mean ?

Second what is this sentence trying to say It means that the control has
three ReadOnly properties ?

It's a long time since I was at school but I think they probably mean that
"the control SHOULD HAVE three Read Only properties" - i.e. you need to
provide those properties.
 
A

Arne Vajhøj

I'm taking a course at a university and I have a task here that I hope that
somebody might understand more then I do about this exercise.
I will quite easy do the task as soon as I understand it.
I have worked with user control many times so I understand how they works.

Here is the text from the specification document.
"Build a user control which works as a login control using Windows Class
Library and user Control Template.The user control returns the user name the
password and the login time. It means that the control has three ReadOnly
properties. Create a Windows application to test your control as in the
picture"
The user control GUI looks like this in design mode:
-------------------!
UserName: Nisse !
Password: ***** !
!
timer control here !
-------------------!

When you run a test application it looks like this.
-------------------
UserName: Nisse
Password: ***** Login

You have login 14:10:52

My question
I mean that when you run the application you enter the username and password
and click the Login button and as a result a text is written like in the
example above You have login: 14:10:52

I must say that the specification is very badly written.
There are two sentences that bother me here.
First the sentence "The user control returns the user name the password and
the login time"
what does this mean ?

Second what is this sentence trying to say It means that the control has
three ReadOnly properties ?

I guess that it means that the class need to have 3 properties
(username, password and login time) with only getters.

Arne
 
T

Tony Johansson

Arne Vajhøj said:
I guess that it means that the class need to have 3 properties
(username, password and login time) with only getters.

Arne

I know that but I mean when I enter the userName and password these values
is stored in the user control and these value is shown in the two textBoxes
in the user control because I have just entered these values.
I mean I can get the username and password to the test application from the
user control but what I'm I supposed to do with them ? I can't see any point
to get the Username and Password and doing nothing with them.

//Tony
 
A

Arne Vajhøj

I know that but I mean when I enter the userName and password these values
is stored in the user control and these value is shown in the two textBoxes
in the user control because I have just entered these values.
I mean I can get the username and password to the test application from the
user control but what I'm I supposed to do with them ? I can't see any point
to get the Username and Password and doing nothing with them.

I can see the point in getting the username again, but not the
password.

Anyway - the text says what it says - maybe the problem is not very
well defined.

Arne
 
J

Jeff Gaines

I mean I can get the username and password to the test application from
the user control but what I'm I supposed to do with them ? I can't see any
point to get the Username and Password and doing nothing with them.

Perhaps that will be the next exercise :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top