弹来弹去跑马灯!

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页
摘要: 这个方案不是太好,但是可以应付: 另外可以参考Microsoft.Xna.Framework.Audio 下的 SoundEffect ,SoundEffectInstance效果更好 using System; using System.Collections.Generic; using Sys 阅读全文
posted @ 2017-10-21 16:06 wgscd 阅读(623) 评论(0) 推荐(0)
摘要: <ListView Name="listView" ItemsSource="{Binding}" Background="WhiteSmoke"> <ListView.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock Text="{Bindi 阅读全文
posted @ 2017-10-20 18:03 wgscd 阅读(186) 评论(0) 推荐(0)
摘要: UWP中数据绑定模板选择 UWP中数据绑定模板选择 上文简单介绍了数据绑定。下面简单介绍一下数据模板选择。这是非常实用的,举个例子,我们做一个新闻app,来的数据源有的是纯文字(标题加文字内容),有的丰富一些(标题+文字内容+图片),还有的是(标题+文字内容+视频),那么如果用ListView这样的 阅读全文
posted @ 2017-10-20 17:29 wgscd 阅读(350) 评论(0) 推荐(0)
摘要: daily tip : <UserControl.Resources> <Storyboard x:Name="sb1" x:Key="sb1" > <DoubleAnimation From="0" To="1.0" Duration="0:0:0.4" Storyboard.TargetName 阅读全文
posted @ 2017-10-20 16:00 wgscd 阅读(194) 评论(0) 推荐(0)
摘要: //WriteableBitmap 转 颜色数组 public static Color[,] ArraytoBitmap(WriteableBitmap writeableBitmap) { //《图转化成流》 /////////////////////////////////////////// 阅读全文
posted @ 2017-10-19 17:17 wgscd 阅读(802) 评论(6) 推荐(0)
摘要: private async void Button2_Click(object sender, RoutedEventArgs e) { var bitmap = new RenderTargetBitmap(); StorageFile file = await KnownFolders.Pict 阅读全文
posted @ 2017-10-18 17:37 wgscd 阅读(142) 评论(0) 推荐(0)
摘要: <UserControl x:Class="TestCutPic.CutItem" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winf 阅读全文
posted @ 2017-10-16 14:58 wgscd 阅读(365) 评论(0) 推荐(0)
摘要: 用第三方DLL, 基于ICSharpCode.SharpZipLib.dll的封装, 阅读全文
posted @ 2017-10-11 16:28 wgscd 阅读(1944) 评论(0) 推荐(0)
摘要: c# http 断点续传下载文件。 阅读全文
posted @ 2017-10-11 15:59 wgscd 阅读(1498) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.N... 阅读全文
posted @ 2017-10-11 14:51 wgscd 阅读(128) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页