Sheet2_Startup
(
object sender,
System.EventArgs e
)
{
// Create the object that does most of the work for this class.
m_oSheets1And2Helper = new Sheets1And2Helper(this, this.Vertices);
ThisWorkbook oThisWorkbook = Globals.ThisWorkbook;
oThisWorkbook.GraphLaidOut +=
new EventHandler<GraphLaidOutEventArgs>(
this.ThisWorkbook_GraphLaidOut);
oThisWorkbook.VerticesMoved +=
new EventHandler<VerticesMovedEventArgs2>(
this.ThisWorkbook_VerticesMoved);
oThisWorkbook.AttributesEditedInGraph +=
new EventHandler<AttributesEditedEventArgs>(
this.ThisWorkbook_AttributesEditedInGraph);
CommandDispatcher.CommandSent +=
new RunCommandEventHandler(this.CommandDispatcher_CommandSent);
AssertValid();
}