public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0xaf1: { this.Label = (DiagramText)e.GetValue(undo); return; } case 0xaf2: { this.Background = (DiagramShape)e.GetValue(undo); return; } case 0xaf3: { this.TopPort = (DiagramPort)e.GetValue(undo); return; } case 0xaf4: { this.RightPort = (DiagramPort)e.GetValue(undo); return; } case 0xaf5: { this.BottomPort = (DiagramPort)e.GetValue(undo); return; } case 0xaf6: { this.LeftPort = (DiagramPort)e.GetValue(undo); return; } case 0xaf7: { base.Initializing = true; this.TopLeftMargin = e.GetSize(undo); base.Initializing = false; return; } case 0xaf8: { base.Initializing = true; this.BottomRightMargin = e.GetSize(undo); base.Initializing = false; return; } case 0xaf9: { this.setAutoResizes((bool)e.GetValue(undo), true); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0xaf1: this.Label = (DiagramText)e.GetValue(undo); return; case 0xaf2: this.Background = (DiagramShape)e.GetValue(undo); return; case 0xaf7: base.Initializing = true; this.TopLeftMargin = e.GetSize(undo); base.Initializing = false; return; case 0xaf8: base.Initializing = true; this.BottomRightMargin = e.GetSize(undo); base.Initializing = false; return; case 0xaf9: this.setAutoResizes((bool)e.GetValue(undo), true); return; case 0xafa: this.LeftPorts = (DiagramPort[])e.GetValue(undo); return; case 0xafb: this.RightPorts = (DiagramPort[])e.GetValue(undo); return; case 0xafc: this.TopPorts = (DiagramPort[])e.GetValue(undo); return; case 0xafd: this.BottomPorts = (DiagramPort[])e.GetValue(undo); return; default: base.ChangeValue(e, undo); return; } }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x5ba: { this.Skew = e.GetSize(undo); return; } case 0x5bb: { this.ReshapableSkew = (bool)e.GetValue(undo); return; } case 0x5bc: { this.Direction = (bool)e.GetValue(undo); return; } } base.ChangeValue(e, undo); base.ResetPath(); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 2310: { base.Initializing = true; this.Anchor = (DiagramShape)e.GetValue(undo); base.Initializing = false; return; } case 0x907: { base.Initializing = true; this.Corner = e.GetSize(undo); base.Initializing = false; return; } case 0x908: { base.Initializing = true; this.BaseWidth = e.GetFloat(undo); base.Initializing = false; return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0xa5b: { this.setDraggableLabel((bool)e.GetValue(undo), true); return; } case 0xa5c: { this.Icon = (DiagramShape)e.GetValue(undo); return; } case 0xa5d: { this.Label = (DiagramText)e.GetValue(undo); return; } case 0xa5e: { this.Port = (DiagramPort)e.GetValue(undo); return; } case 0xa5f: { this.setLabelOffset(e.GetSize(undo), true); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0xb55: { this.Background = (DiagramShape)e.GetValue(undo); return; } case 0xb56: { this.Icon = (DiagramShape)e.GetValue(undo); return; } case 0xb57: { this.Label = (DiagramText)e.GetValue(undo); return; } case 0xb58: { base.Initializing = true; this.TopLeftMargin = e.GetSize(undo); base.Initializing = false; return; } case 0xb59: { base.Initializing = true; this.BottomRightMargin = e.GetSize(undo); base.Initializing = false; return; } case 0xb5a: { this.ActionEnabled = (bool)e.GetValue(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 2050: { this.MinimumIconSize = e.GetSize(undo); return; } case 0x803: { this.MaximumIconSize = e.GetSize(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { if (e.SubHint == 0x58d) { this.Corner = e.GetSize(undo); } else { base.ChangeValue(e, undo); } }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x8fd: { base.Initializing = true; this.TopLeftMargin = e.GetSize(undo); base.Initializing = false; return; } case 0x8fe: { base.Initializing = true; this.BottomRightMargin = e.GetSize(undo); base.Initializing = false; return; } case 0x8ff: { this.PartID = e.GetInt(undo); return; } case 0x900: { this.Background = (DiagramShape)e.GetValue(undo); return; } case 0x901: { this.Label = (DiagramText)e.GetValue(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x5bd: { this.Corner = e.GetSize(undo); return; } case 1470: { this.ReshapableCorner = (bool)e.GetValue(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x835: { this.setLabelSpot(e.GetInt(undo), true); return; } case 0x836: { this.Shape = (DiagramGraph)e.GetValue(undo); return; } case 0x837: { this.Label = (DiagramText)e.GetValue(undo); return; } case 0x838: { this.Port = (DiagramPort)e.GetValue(undo); return; } case 0x839: { base.Initializing = true; this.MiddleLabelMargin = e.GetSize(undo); base.Initializing = false; return; } case 0x83a: { this.setAutoResizes((bool)e.GetValue(undo), true); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x899: { this.Body = (DiagramShape)e.GetValue(undo); return; } case 0x89a: { base.Initializing = true; this.PortBorderMargin = e.GetSize(undo); base.Initializing = false; return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x5d3: { this.Depth = e.GetSize(undo); return; } case 0x5d4: { this.Perspective = (Perspective)e.GetValue(undo); return; } case 0x5d5: { this.ReshapableDepth = (bool)e.GetValue(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { int num1 = e.SubHint; if (num1 != 0x3e9) { switch (num1) { case 0x9c5: { base.Initializing = true; this.Spacing = e.GetFloat(undo); base.Initializing = false; return; } case 0x9c6: { this.Alignment = e.GetInt(undo); return; } case 0x9c7: { base.Initializing = true; object obj1 = e.GetValue(undo); if (!(obj1 is Pen)) { if (obj1 is DiagramGraph.GoPenInfo) { this.LinePen = ((DiagramGraph.GoPenInfo)obj1).GetPen(); } goto Label_00BB; } this.LinePen = (Pen)obj1; goto Label_00BB; } case 0x9c8: { object obj2 = e.GetValue(undo); if (!(obj2 is Pen)) { if (obj2 is DiagramGraph.GoPenInfo) { this.BorderPen = ((DiagramGraph.GoPenInfo)obj2).GetPen(); } return; } this.BorderPen = (Pen)obj2; return; } case 0x9c9: { object obj3 = e.GetValue(undo); if (!(obj3 is System.Drawing.Brush)) { if (obj3 is DiagramGraph.GoBrushInfo) { this.Brush = ((DiagramGraph.GoBrushInfo)obj3).GetBrush(); } return; } this.Brush = (System.Drawing.Brush)obj3; return; } case 0x9ca: { this.Corner = e.GetSize(undo); return; } case 0x9cb: { base.Initializing = true; this.TopLeftMargin = e.GetSize(undo); base.Initializing = false; return; } case 0x9cc: { base.Initializing = true; this.BottomRightMargin = e.GetSize(undo); base.Initializing = false; return; } case 0x9cd: { base.Initializing = true; this.Orientation = (System.Windows.Forms.Orientation)e.GetInt(undo); base.Initializing = false; return; } } base.ChangeValue(e, undo); return; } base.ChangeValue(e, undo); this.ResetPath(); return; Label_00BB: base.Initializing = false; }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0xa8e: { this.Label = (DiagramText)e.GetValue(undo); return; } case 0xa8f: { this.Collapsible = (bool)e.GetValue(undo); return; } case 0xa90: { this.BackgroundColor = (Color)e.GetValue(undo); return; } case 0xa91: { this.Opacity = e.GetFloat(undo); return; } case 0xa92: { this.setLabelSpot(e.GetInt(undo), true); return; } case 0xa93: { this.setTopLeftMargin(e.GetSize(undo), true); return; } case 0xa94: { object obj1 = e.GetValue(undo); if (!(obj1 is Pen)) { if (obj1 is DiagramGraph.GoPenInfo) { this.BorderPen = ((DiagramGraph.GoPenInfo)obj1).GetPen(); } return; } this.BorderPen = (Pen)obj1; return; } case 0xa95: { this.PickableBackground = (bool)e.GetValue(undo); return; } case 2710: { this.Corner = e.GetSize(undo); return; } case 0xa97: { this.Port = (DiagramPort)e.GetValue(undo); return; } case 0xa98: { this.setBottomRightMargin(e.GetSize(undo), true); return; } case 0xa99: { this.setCollapsedTopLeftMargin(e.GetSize(undo), true); return; } case 0xa9a: { this.setCollapsedBottomRightMargin(e.GetSize(undo), true); return; } case 0xa9b: { this.CollapsedCorner = e.GetSize(undo); return; } case 0xa9c: { this.setCollapsedLabelSpot(e.GetInt(undo), true); return; } case 0xa9d: { this.CollapsedObject = (DiagramShape)e.GetValue(undo); return; } case 0xa9e: { SubGraphNodeState state1 = (SubGraphNodeState)e.GetInt(undo); this.State = state1; base.Initializing = (state1 == SubGraphNodeState.Collapsing) || (state1 == SubGraphNodeState.Expanding); if (base.Initializing) { ChangedEventArgs args1 = new ChangedEventArgs(e); args1.SubHint = 0x3e9; base.ChangeValue(args1, undo); } return; } } base.ChangeValue(e, undo); }