_________________________________________________________
Start 9.30 a.m.
_________________________________________________________
Today carrying on with C# stuff. Have project meeting at 2.00 p.m.
************************************************************************
Break 12.00 p.m. - 3p.m. Go into town & meeting
************************************************************************
Had good meeting, just talked about where ive gotten up to and what i want to achieve in the next week. Other than that break i have just been implementing a small application in C# just to get used to the syntax differences, also using properties to access fields, so thats all new. Picking it up pretty fast though, hopefully i will only need tonight to do basic revision/research i was supposed to have done during the design stage.
************************************************************************
Break 4.00 p.m. - 5p.m. walk
************************************************************************
Well heres a sample of the clsUser class.
namespace tracking
{
public class clsUser
{
//Fields
protected int staffID;
protected string firstName;
protected string lastName;
protected string jobDescription;
public int PropertyStaffID
{
get { return staffID; }
set { staffID = value; }
}
public string propertyFirstName
{
get { return firstName; }
set { firstName = value; }
}
public string propertyLastName
{
get { return lastName; }
set { lastName = value; }
}
public string propertyJobDescription
{
get { return jobDescription; }
set { jobDescription = value; }
}
public clsUser()
{
staffID = 0;
firstName = "DEFAULT";
lastName = "DEFAULT";
jobDescription = "DEFAULT";
//System.Windows.Forms.MessageBox.Show("Called Constructor");
}
public clsUser(int prStaffID, string prFirstName, string prLastName, string prJobDescription)
{
staffID = prStaffID;
firstName = prFirstName;
lastName = prLastName;
jobDescription = prJobDescription;
}
}
}
Will make the basic classes for the other entitys seeing as i seem to have figured out those basics... i hope haha.
_________________________________________________________
Finsh 11.00 p.m. 8 hours
_________________________________________________________
Welcome
I'm a student and this blogg has been created to keep information on a daily to weekly basis about my project that i am doing to get my Bachelor of Information Technology. This is based on my progress, and a place to put all of my information, not entirely a proper blogg. Though sometimes i feel like i'll be talking to myself... Any ways, enjoy and feel free to comment. If your wondering what this project is and dont want to read every single post, just go to the Proposal link, or any of the "posts worth looking at" below.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment