登录
首页 » Windows开发 » 雪花 - WPF 应用

雪花 - WPF 应用

于 2022-03-26 发布 文件大小:196.46 kB
0 210
下载积分: 2 下载次数: 1

代码说明:

翻译 maninwest@Codeforge  作者:RumataEstorish @ Codeproject 找到 WPF 的雪花动画很难,但是如果你想表现冬季或者圣诞节气氛该如何做呢?这里有个简单的例子可以实现。 背景 原理很简单- 代码使用 CompositionTarget.Rendering 事件并使用简单的算法在新的位置重新画雪花。 使用代码 用法非常简单:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • WinCE5.0 EVC4.0 MFC应用程序
    WinCE5.0 EVC4.0 MFC应用程序-WinCE5.0 EVC4.0 MFC applications
    2023-01-21 18:05:04下载
    积分:1
  • 约瑟夫斯写的问题解决功能。用整数序列的1,2,3…
    编写一个求解Josephus问题的函数。用整数序列1, 2, 3, ……, n表示顺序围坐在圆桌周围的人。然后使用n = 9, s = 1, m = 5,以及n = 9, s = 1, m = 0,或者n = 9, s = 1, m = 10作为输入数据,检查你的程序的正 确性和健壮性。最后分析所完成算法的时间复杂度。定义JosephusCircle类,其中含完成初始化、报数出圈成 员函数、输出显示等方法。-Josephus write a problem solving function. With the sequence of integers 1, 2, 3, ... ..., n the order of sitting around the round table, said the people around. And then use n = 9, s = 1, m = 5, and n = 9, s = 1, m = 0, or n = 9, s = 1, m = 10 as input data, check the correctness of your program and robustness. Completed the final analysis, the algorithm" s time complexity. Definition JosephusCircle class, which included the completion of initialization, reported that the number of member functions of a circle, the output display and other methods.
    2022-12-02 00:35:03下载
    积分:1
  • WPF 渐变控件
    翻译 maninwest@Codeforge作者:Tanna@CodeProject网络上可以找到渐变控件,但是没有找到可以生成渐变笔刷的控件。这是个根据用户选择生成渐笔刷的控件背景我当时在开发报告工具,使用这个工具用户可以从 SOL 或任何数据源制作报告。我需要在工具中提供给用户可以更改字段背景的工具。我找不到这样的控件,就决定自己做一个。该控件有几个控制。一个是颜色选择器。对于一个特定渐变停止点,用户可以更改颜色。颜色选择器有一个选择器控件,用户可以移动选择颜色。还有个用于渐变的控件。用于可以更改线性格笔刷起始点和结束点。对于径向笔刷,用户可以更改中心点、原点、半径 X 和半径 Y。用户可以删除渐变的停止点或添加停止点。用户可以从组合框中选择笔刷类型使用代码这是个用户控件,可以直接作为用户控件添加到窗口。 
    2022-03-17 19:07:54下载
    积分:1
  • 自动编写SQL插入存储过程的源程序
    自动编写SQL插入存储过程的源程序-prepared automatically insert SQL stored procedures of the source
    2022-04-21 03:16:42下载
    积分:1
  • C语言编程实例目录.PDF
    C语言编程实例目录.PDF -C language programming examples directory. PDF C language programming examples directory. PDF
    2022-04-09 15:22:30下载
    积分:1
  • 这个是vc中清除临时文件的一个批处理工具,很方便
    这个是vc开发中清除临时文件的一个批处理工具,很方便-vc development is the removal of a temporary batch tools, convenient
    2022-03-12 04:21:10下载
    积分:1
  • Windows PE用于分析文件,我们可以看到,它取决于什么…
    一个用于分析windows PE文件的程序,可以知道其依赖于其他什么文件。里面使用了boost库的功能,可以简化链接符号的处理。-A windows PE used to analyze the documents, we can see that its dependent on what other documents. Inside the library using the boost function, the link can be simplified treatment symbols.
    2022-05-27 14:28:48下载
    积分:1
  • 此pdf主要介绍关于c++的相关知识,针对c++中的一些疑难方便进行介绍...
    此pdf主要介绍关于c++的相关知识,针对c++中的一些疑难方便进行介绍-Pdf of this introduction on the main c++ Of related knowledge, for c++ Some problems facilitate the introduction
    2022-03-17 22:52:27下载
    积分:1
  • CRC码,这是用在网络效验方面的,最高可达到10位效验,通过该程序可在数据传输方面有一定保证。...
    CRC码,这是用在网络效验方面的,最高可达到10位效验,通过该程序可在数据传输方面有一定保证。-CRC, which is used in the network of well-tested, the maximum reached 10 well-tested through the program in data transmission, there is a definite guarantee.
    2022-08-31 19:00:04下载
    积分:1
  • 一个局域网聊天工具
    一个局域网聊天工具-a LAN chat tool
    2022-08-17 09:16:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载