public void Init(TabularModelHandler handler) { if (form != null && form.Visible) { form.Close(); } if (Handler != null) { Handler.ObjectDeleted -= Handler_ObjectDeleted; Handler.Tree.UpdateComplete -= Tree_UpdateComplete; } Handler = handler; Handler.ObjectDeleted += Handler_ObjectDeleted; Handler.Tree.UpdateComplete += Tree_UpdateComplete; model = Handler.Model; form = new VisualizeRelationshipsForm(); form.Model = model; }
public void Init(TabularModelHandler handler) { model = handler.Model; form = new VisualizeRelationshipsForm(); }