Beispiel #1
0
        private void btnAddBuilding_Click(object sender, EventArgs e)
        {
            frmBuildingDetails fmBuildingDetails = new frmBuildingDetails();

            fmBuildingDetails.Op = "new";
            fmBuildingDetails.Show(this);
        }
 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();
     }
 }
Beispiel #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();
     }
 }
 private void btnAddBuilding_Click(object sender, EventArgs e)
 {
     frmBuildingDetails fmBuildingDetails = new frmBuildingDetails();
     fmBuildingDetails.Op = "new";
     fmBuildingDetails.Show(this);
 }