Exemplo n.º 1
0
 private void btnBuildingArchive_Click(object sender, EventArgs e)
 {
     try
     {
         var frm = new frmShowBuildings(false, true);
         frm.ShowDialog(this);
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
     }
 }
Exemplo n.º 2
0
 private void btnBuildingSearch_Click(object sender, EventArgs e)
 {
     try
     {
         var frm = new frmShowBuildings(true, null, true, fSide?.Guid ?? Guid.Empty);
         if (frm.ShowDialog(this) != DialogResult.OK)
         {
             return;
         }
         building = BuildingBussines.Get(frm.SelectedGuid);
         LoadBuilding();
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
     }
 }