Beispiel #1
0
 private void moveoutBtn_Click(object sender, EventArgs e) {
     MoveOut move = new MoveOut(parkId);
     move.ShowDialog();
     if (move.newTenant) {
         fillParkSpaceInfo(parkId, move.orderId, move.spaceId);
     } else {
         fillParkSpaceInfo(parkId);
     }
 }
Beispiel #2
0
 private void moveOut_Click(object sender, EventArgs e)
 {
     MoveOut move = new MoveOut(parkId, parkSpaceId);
     Object[] tempInfo = DatabaseControl.getSingleRecord(new String[] { "OrderID", "SpaceID" }, DatabaseControl.spaceTable, "ParkSpaceID=@value0",
         new Object[] { parkSpaceId });
     move.ShowDialog();
     if (move.newTenant) {
         ParkSpaceInfo newTenant = new ParkSpaceInfo();
         newTenant.fillParkSpaceInfo(parkId, (int)tempInfo[0], tempInfo[1].ToString());
         newTenant.ShowDialog();
     }
     tenantList_SelectedIndexChanged(sender, e);
 }