public void closeTab() { ProcessWatcher.getInstance().setNotes(procName, notesRichTextBox.Text); parentMW.removeProcessTab(this); }