public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 2000: { this.UserFlags = e.GetInt(undo); return; } case 0x7d1: { this.UserObject = e.GetValue(undo); return; } case 0x7d2: { this.ToolTipText = (string)e.GetValue(undo); return; } case 0x7d3: { this.PropertiesDelegatedToSelectionObject = (bool)e.GetValue(undo); return; } case 0x7d4: { this.PartID = e.GetInt(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 2430: { this.Name = (string)e.GetValue(undo); return; } case 0x97f: { this.Label = (GeneralNodePortLabelText)e.GetValue(undo); return; } case 0x980: { this.SideIndex = e.GetInt(undo); return; } case 0x981: { this.LeftSide = (bool)e.GetValue(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 2430: { this.Name = (string)e.GetValue(undo); return; } case 0x97f: { this.Label = (GeneralNodePortLabelText)e.GetValue(undo); return; } case 0x980: { this.SideIndex = e.GetInt(undo); return; } case 0x981: { this.LeftSide = (bool)e.GetValue(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x641: { this.Image = (System.Drawing.Image)e.GetValue(undo); return; } case 0x642: { this.ResourceManager = (System.Resources.ResourceManager)e.GetValue(undo); return; } case 0x643: { this.Name = (string)e.GetValue(undo); return; } case 0x644: { this.Alignment = e.GetInt(undo); return; } case 0x645: { this.AutoResizes = (bool)e.GetValue(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 2000: { this.UserFlags = e.GetInt(undo); return; } case 0x7d1: { this.UserObject = e.GetValue(undo); return; } case 0x7d2: { this.ToolTipText = (string)e.GetValue(undo); return; } case 0x7d3: { this.PropertiesDelegatedToSelectionObject = (bool)e.GetValue(undo); return; } case 0x7d4: { this.PartID = e.GetInt(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 0xa29: { this.Text = (string)e.GetValue(undo); return; } case 0xa2a: { this.Icon = (DiagramShape)e.GetValue(undo); return; } case 0xa2b: { this.Label = (DiagramText)e.GetValue(undo); return; } case 0xa2c: { this.InPort = (DiagramPort)e.GetValue(undo); return; } case 0xa2d: { this.OutPort = (DiagramPort)e.GetValue(undo); return; } case 0xa2e: { this.setOrientation((System.Windows.Forms.Orientation)e.GetInt(undo), true); return; } } 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 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 0xa29: { this.Text = (string)e.GetValue(undo); return; } case 0xa2a: { this.Icon = (DiagramShape)e.GetValue(undo); return; } case 0xa2b: { this.Label = (DiagramText)e.GetValue(undo); return; } case 0xa2c: { this.InPort = (DiagramPort)e.GetValue(undo); return; } case 0xa2d: { this.OutPort = (DiagramPort)e.GetValue(undo); return; } case 0xa2e: { this.setOrientation((System.Windows.Forms.Orientation)e.GetInt(undo), true); return; } } 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 0x641: { this.Image = (System.Drawing.Image)e.GetValue(undo); return; } case 0x642: { this.ResourceManager = (System.Resources.ResourceManager)e.GetValue(undo); return; } case 0x643: { this.Name = (string)e.GetValue(undo); return; } case 0x644: { this.Alignment = e.GetInt(undo); return; } case 0x645: { this.AutoResizes = (bool)e.GetValue(undo); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 1300: { this.UserFlags = e.GetInt(undo); return; } case 0x515: { this.UserObject = e.GetValue(undo); return; } case 0x516: { this.FromPort = (IDiagramPort)e.GetValue(undo); return; } case 0x517: { this.ToPort = (IDiagramPort)e.GetValue(undo); return; } case 0x518: { this.setOrthogonal((bool)e.GetValue(undo), true); return; } case 0x519: { this.Relinkable = (bool)e.GetValue(undo); return; } case 0x51a: { this.AbstractLink = (IDiagramLine)e.GetValue(undo); return; } case 0x51b: { this.setAvoidsNodes((bool)e.GetValue(undo), true); return; } case 0x51d: { this.PartID = e.GetInt(undo); return; } case 1310: { this.AdjustingStyle = (LineAdjustingStyle)e.GetInt(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); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x961: { int num1 = e.OldInt; if (num1 >= 0) { if (undo) { if (num1 < this.RightPortsCount) { this.myRightPorts.RemoveAt(num1); } return; } if (num1 < this.RightPortsCount) { this.myRightPorts.Insert(num1, e.OldValue); return; } this.myRightPorts.Add(e.OldValue); return; } num1 = -num1 - 1; if (!undo) { if (num1 < this.LeftPortsCount) { this.myLeftPorts.Insert(num1, e.OldValue); return; } this.myLeftPorts.Add(e.OldValue); return; } if (num1 < this.LeftPortsCount) { this.myLeftPorts.RemoveAt(num1); } return; } case 0x962: { int num2 = e.OldInt; if (num2 >= 0) { if (undo) { if (num2 < this.RightPortsCount) { this.myRightPorts.Insert(num2, e.OldValue); return; } this.myRightPorts.Add(e.OldValue); return; } if (num2 < this.RightPortsCount) { this.myRightPorts.RemoveAt(num2); } return; } num2 = -num2 - 1; if (!undo) { if (num2 < this.LeftPortsCount) { this.myLeftPorts.RemoveAt(num2); } return; } if (num2 >= this.LeftPortsCount) { this.myLeftPorts.Add(e.OldValue); return; } this.myLeftPorts.Insert(num2, e.OldValue); return; } case 0x963: { int num3 = e.OldInt; if (num3 >= 0) { if (num3 < this.RightPortsCount) { this.myRightPorts[num3] = e.GetValue(undo); } return; } num3 = -num3 - 1; if (num3 < this.LeftPortsCount) { this.myLeftPorts[num3] = e.GetValue(undo); } return; } case 0x964: { this.TopLabel = (DiagramText)e.GetValue(undo); return; } case 0x965: { this.BottomLabel = (DiagramText)e.GetValue(undo); return; } case 0x966: { this.Icon = (DiagramShape)e.GetValue(undo); return; } case 0x967: { this.setOrientation((System.Windows.Forms.Orientation)e.GetInt(undo), true); return; } } base.ChangeValue(e, undo); }
public override void ChangeValue(ChangedEventArgs e, bool undo) { switch (e.SubHint) { case 0x5dd: { this.Text = (string)e.GetValue(undo); return; } case 0x5de: { this.FamilyName = (string)e.GetValue(undo); return; } case 0x5df: { this.FontSize = e.GetFloat(undo); return; } case 0x5e0: { this.Alignment = e.GetInt(undo); return; } case 0x5e1: { this.TextColor = (Color)e.GetValue(undo); return; } case 0x5e2: { this.BackgroundColor = (Color)e.GetValue(undo); return; } case 0x5e3: { this.TransparentBackground = (bool)e.GetValue(undo); return; } case 0x5e4: { this.Bold = (bool)e.GetValue(undo); return; } case 0x5e5: { this.Italic = (bool)e.GetValue(undo); return; } case 1510: { this.Underline = (bool)e.GetValue(undo); return; } case 0x5e7: { this.StrikeThrough = (bool)e.GetValue(undo); return; } case 0x5e8: { this.Multiline = (bool)e.GetValue(undo); return; } case 0x5eb: { this.BackgroundOpaqueWhenSelected = (bool)e.GetValue(undo); return; } case 0x5ec: { this.Clipping = (bool)e.GetValue(undo); return; } case 0x5ee: { this.AutoResizes = (bool)e.GetValue(undo); return; } case 1520: { this.Wrapping = (bool)e.GetValue(undo); return; } case 0x5f1: { this.WrappingWidth = e.GetFloat(undo); return; } case 0x5f2: { this.GdiCharSet = e.GetInt(undo); return; } case 0x5f3: { this.EditorStyle = (TextEditorStyle)e.GetInt(undo); return; } case 0x5f4: { this.Minimum = e.GetInt(undo); return; } case 0x5f5: { this.Maximum = e.GetInt(undo); return; } case 0x5f6: { this.DropDownList = (bool)e.GetValue(undo); return; } case 0x5f7: { this.Choices = (ArrayList)e.GetValue(undo); return; } case 0x5f8: { this.RightToLeft = (bool)e.GetValue(undo); return; } case 1530: { this.Bordered = (bool)e.GetValue(undo); return; } case 0x5fb: { this.StringTrimming = (System.Drawing.StringTrimming)e.GetInt(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 0x961: { int num1 = e.OldInt; if (num1 >= 0) { if (undo) { if (num1 < this.RightPortsCount) { this.myRightPorts.RemoveAt(num1); } return; } if (num1 < this.RightPortsCount) { this.myRightPorts.Insert(num1, e.OldValue); return; } this.myRightPorts.Add(e.OldValue); return; } num1 = -num1 - 1; if (!undo) { if (num1 < this.LeftPortsCount) { this.myLeftPorts.Insert(num1, e.OldValue); return; } this.myLeftPorts.Add(e.OldValue); return; } if (num1 < this.LeftPortsCount) { this.myLeftPorts.RemoveAt(num1); } return; } case 0x962: { int num2 = e.OldInt; if (num2 >= 0) { if (undo) { if (num2 < this.RightPortsCount) { this.myRightPorts.Insert(num2, e.OldValue); return; } this.myRightPorts.Add(e.OldValue); return; } if (num2 < this.RightPortsCount) { this.myRightPorts.RemoveAt(num2); } return; } num2 = -num2 - 1; if (!undo) { if (num2 < this.LeftPortsCount) { this.myLeftPorts.RemoveAt(num2); } return; } if (num2 >= this.LeftPortsCount) { this.myLeftPorts.Add(e.OldValue); return; } this.myLeftPorts.Insert(num2, e.OldValue); return; } case 0x963: { int num3 = e.OldInt; if (num3 >= 0) { if (num3 < this.RightPortsCount) { this.myRightPorts[num3] = e.GetValue(undo); } return; } num3 = -num3 - 1; if (num3 < this.LeftPortsCount) { this.myLeftPorts[num3] = e.GetValue(undo); } return; } case 0x964: { this.TopLabel = (DiagramText)e.GetValue(undo); return; } case 0x965: { this.BottomLabel = (DiagramText)e.GetValue(undo); return; } case 0x966: { this.Icon = (DiagramShape)e.GetValue(undo); return; } case 0x967: { this.setOrientation((System.Windows.Forms.Orientation)e.GetInt(undo), true); return; } } base.ChangeValue(e, undo); }