コード例 #1
0
ファイル: frmBuildingList.cs プロジェクト: RazenRyne/DCFIv4
        private void btnAddBuilding_Click(object sender, EventArgs e)
        {
            frmBuildingDetails fmBuildingDetails = new frmBuildingDetails();

            fmBuildingDetails.Op = "new";
            fmBuildingDetails.Show(this);
        }
コード例 #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();
     }
 }
コード例 #3
0
ファイル: frmBuildingList.cs プロジェクト: RazenRyne/DCFIv4
 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();
     }
 }
コード例 #4
0
 private void btnAddBuilding_Click(object sender, EventArgs e)
 {
     frmBuildingDetails fmBuildingDetails = new frmBuildingDetails();
     fmBuildingDetails.Op = "new";
     fmBuildingDetails.Show(this);
 }