private void btnGetWorksoaceInfo_Click(object sender, EventArgs e) { WorkspaceInfo workspace = new WorkspaceInfo(); lblResult.Text = (workspace.GetData(-1) as WorkspaceInfo).WorkspaceName; }