示例#1
0
        /// <summary>
        /// Create a TouchDeviceDiagram and add it to the diagrams Dictionary and the DiagramContainerGrid.
        /// </summary>
        /// <param name="touchDevice">the touch device to diagram</param>
        private void AddDiagram(TouchDevice touchDevice)
        {
            TouchDeviceDiagram diagram = new TouchDeviceDiagram();

            diagrams.Add(touchDevice, diagram);
            DiagramContainerGrid.Children.Add(diagram);
        }
 /// <summary>
 /// Create a TouchDeviceDiagram and add it to the diagrams Dictionary and the DiagramContainerGrid.
 /// </summary>
 /// <param name="touchDevice">the touch device to diagram</param>
 private void AddDiagram(TouchDevice touchDevice)
 {
     TouchDeviceDiagram diagram = new TouchDeviceDiagram();
     diagrams.Add(touchDevice, diagram);
     DiagramContainerGrid.Children.Add(diagram);
 }