コード例 #1
0
		protected void AddChild(ThemeElementInfo element, Rect overwrite)
		{
			DrawingGroup.Children.Add(new ImageDrawing(new BitmapImage(new Uri(
				Path.Combine(ThemeDir, element.FileName), UriKind.Relative)), overwrite));
		}
コード例 #2
0
 protected void AddChild(ThemeElementInfo element, Rect overwrite)
 {
     DrawingGroup.Children.Add(new ImageDrawing(new BitmapImage(new Uri(
                                                                    Path.Combine(ThemeDir, element.FileName), UriKind.Relative)), overwrite));
 }