private void MainForm_Load(object sender, EventArgs e) { _AddComponentsImages(); _ConfigureMainDrawingArea(); arrowDrawingPen.EndCap = LineCap.ArrowAnchor; arrowDrawingPen.CustomEndCap = new AdjustableArrowCap(5, 7); BSManager.RegisterRunFinishedDelegate(new RunFinishedDelegate(SimulationFinished)); BSManager.RegisterRunAbortedDelegate(new RunAbortedDelegate(SimulationAborted)); }