62,067
社区成员
发帖
与我相关
我的任务
分享
WriteableBitmap wBitmap = new WriteableBitmap(this.media, null);
Image img = new Image();
img.Width = 140;
img.Height = 140;
img.Margin = new Thickness(5);
img.Source = wBitmap;
ListBoxItem item = new ListBoxItem();
item.Content = img;
listBox1.Items.Add(item);
this.textBlock1.Text = DateTime.Now.ToString();