private void btnUpdate_Click(object sender, EventArgs e) { string buildingname = txtDromName.Text; buildingUpdateFrm2 update = new buildingUpdateFrm2(buildingname); update.Show(); }
private void btnUpdate_Click(object sender, EventArgs e) { buildingUpdateFrm2 update = new buildingUpdateFrm2(this.buildingname); //MessageBox.Show(this.buildingname); update.Show(); }