Пример #1
0
 //grabs the info from the database and stores it in local variables
 private void getInfo()
 {
     weight    = TTStruct.getWeight(this.id);
     mile      = TTStruct.getMileage(this.id);
     driveTime = TTStruct.GetTime(this.id);
     date      = TTStruct.getDate(this.id);
     time      = TTStruct.GetTimeSecs(this.id);
 }
Пример #2
0
 //display current weight
 private void displayCur()
 {
     label3.Text = "Total Weight: " + TTStruct.getWeight(id) + " lbs";
 }