/// <summary> /// Prepare all data for the graphic path selection listbox /// </summary> void PrepSelectionList() { if (graphicVisual != null) { previewIcons = new List <PreviewShapeViewModel>(); int index = 0; PrepSelectionList(graphicVisual, previewIcons, ref index); PathSelectionBox.ItemsSource = previewIcons; if (previewIcons.Count > 0) { PathSelectionBox.ScrollIntoView(previewIcons[0]); StreamCode.ScrollToHome(); DrawingBrushCode.ScrollToHome(); GeometryCode.ScrollToHome(); } } else { PathSelectionBox.ItemsSource = null; SetColorWarning(""); } SelectAll(); }
public StreamClosePacket(int streamChannelId, StreamCode code) : base(streamChannelId) { this.Code = code; }