public TabPageActionGroup(AB_Group group, MethodDiagramViewerActionGroup mview, Control frame) { _group = group; _view = mview; this.Text = group.Name; frame.Dock = DockStyle.Fill; mview.Dock = DockStyle.Fill; Controls.Add(frame); }
private void miEditActions_Click(object sender, EventArgs e) { MethodDiagramViewer mv = this.DiagramViewer; if (mv != null) { AB_Group group = this.ActionObject as AB_Group; MethodDesignerHolder holder = mv.DesignerHolder; holder.OpenActionGroup(group); } }
public void LoadActionGroup(AB_Group group) { bool b = this.DesignerHolder.DisableUndo; DesignerHolder.DisableUndo = true; DesignerHolder.SetLoading(true); _group = group; this.Name = VPLUtil.FormCodeNameFromname(_group.Name); this.Site.Name = Name; Description = _group.Description; // LoadActions(_group.ActionList); // RemoveDisconnectedPorts(); InitializeInputTypes(); // DesignerHolder.DisableUndo = b; DesignerHolder.SetLoading(false); }