{\r
/* replace old graph with new and rerender */\r
Graph newGraph = new Graph(((PathWatcher)sender).Watched);\r
- if (newGraph != null)\r
- {\r
((IDisposable)_graph).Dispose();\r
_graph = newGraph;\r
_graph.Arguments["layout"] = "dot";\r
if (Changed != null)\r
Changed(this, EventArgs.Empty);\r
}\r
- }\r
catch (Win32Exception exception)\r
{\r
/* if another process is holding on to the graph, try opening again later */\r
+/* $Id$ $Revision$ */\r
+/* vim:set shiftwidth=4 ts=8: */\r
+\r
+/**********************************************************\r
+* This software is part of the graphviz package *\r
+* http://www.graphviz.org/ *\r
+* *\r
+* Copyright (c) 1994-2008 AT&T Corp. *\r
+* and is licensed under the *\r
+* Common Public License, Version 1.0 *\r
+* by AT&T Corp. *\r
+* *\r
+* Information and Software Systems Research *\r
+* AT&T Research, Florham Park NJ *\r
+**********************************************************/\r
+\r
using System;\r
using System.ComponentModel;\r
using System.IO;\r