Ejemplo n.º 1
0
        private void RemoveWidget(IComponent iWidget)
        {
            IDraw iDrawable = iWidget as IDraw;

            if (iDrawable != null)
            {
                serviceDocument.RemoveWidget(iWidget.Component as Widget);
                canvasDraw.Children.Remove(iDrawable as UIElement);
            }
        }