private void btnSave_Click(object sender, EventArgs e) { BlockStudioProjectService.BlockStudioProject.Connection = BlockStudioProjectService.BlockStudioProject.Connection; BlockStudioProjectService.BlockStudioProject.SaveToDisk(); this.Close(); }