private void importFromClipboardToolStripMenuItem_Click(object sender, EventArgs e) { workflowitems = new VROWorkFlow(); ReInit(); if (workflowitems.ParseWorkFlow(Clipboard.GetText())) { DisplayWorkFlowItems(); rootToolStripMenuItem.Enabled = true; buttonROOT.Enabled = true; } else { MessageBox.Show("Error : " + workflowitems.errorMessage, "VRO Workflow Viewer"); rootToolStripMenuItem.Enabled = false; buttonROOT.Enabled = false; } }