private void modelTreeController_TemplateUpdated(object sender, RepositoryTemplateEventArgs e) { treeView.SuspendLayout(); DeleteNodeImage(e.Template.Name); RedrawNodes(FindTreeNodes(treeView.Nodes, e.Template)); treeView.ResumeLayout(); }
private void Repository_TemplateDeleted(object sender, RepositoryTemplateEventArgs e) { Tool t = FindTool(e.Template); if (t != null) { DeleteTool(t); } }
private void repository_TemplateDeleted(object sender, RepositoryTemplateEventArgs e) { if (e.Template.Shape.ModelObject != null) { if (Changed != null) { Changed(this, EventArgs.Empty); } } }
private void Repository_TemplateDeleted(object sender, RepositoryTemplateEventArgs e) { Tool t = FindTool(e.Template); if (t != null) DeleteTool(t); }
private void Repository_TemplateUpdated(object sender, RepositoryTemplateEventArgs e) { RefreshTool(e.Template); }
private void Repository_TemplateInserted(object sender, RepositoryTemplateEventArgs e) { string categoryTitle = e.Template.Shape != null ? e.Template.Shape.Type.DefaultCategoryTitle : string.Empty; CreateTemplateTool(e.Template, categoryTitle); }
private void repository_TemplateUpdated(object sender, RepositoryTemplateEventArgs e) { if (e.Template.Shape.ModelObject != null) if (Changed != null) Changed(this, EventArgs.Empty); }
private void Repository_TemplateUpdated(object sender, RepositoryTemplateEventArgs e) { RefreshTool(e.Template); }
private void Repository_TemplateInserted(object sender, RepositoryTemplateEventArgs e) { string categoryTitle = e.Template.Shape != null ? e.Template.Shape.Type.DefaultCategoryTitle : string.Empty; CreateTemplateTool(e.Template, categoryTitle); }