Exemplo n.º 1
0
        private void btnAddBuilding_Click(object sender, EventArgs e)
        {
            frmBuildingDetails fmBuildingDetails = new frmBuildingDetails();

            fmBuildingDetails.Op = "new";
            fmBuildingDetails.Show(this);
        }
Exemplo n.º 2
0
 private void btnEditBuilding_Click(object sender, EventArgs e)
 {
     if (gvBuilding.CurrentRow.Index >= 0)
     {
         frmBuildingDetails fmBuildingDetails = new frmBuildingDetails();
         fmBuildingDetails.Op = "edit";
         fmBuildingDetails.SelectedBuilding = buildingSelected;
         fmBuildingDetails.Show();
     }
 }
Exemplo n.º 3
0
 private void btnEditBuilding_Click(object sender, EventArgs e)
 {
     if (gvBuilding.CurrentRow.Index >= 0)
     {
         frmBuildingDetails fmBuildingDetails = new frmBuildingDetails();
         fmBuildingDetails.Op = "edit";
         fmBuildingDetails.SelectedBuilding = buildingSelected;
         fmBuildingDetails.Show();
     }
 }
Exemplo n.º 4
0
 private void btnAddBuilding_Click(object sender, EventArgs e)
 {
     frmBuildingDetails fmBuildingDetails = new frmBuildingDetails();
     fmBuildingDetails.Op = "new";
     fmBuildingDetails.Show(this);
 }