Esempio n. 1
0
 private void parkSpaceToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.Hide();
     ParkSpaceInfo newForm = new ParkSpaceInfo();
     newForm.ShowDialog();
     this.Show();
 }
Esempio n. 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);
 }