- 博客(5)
- 收藏
- 关注
原创 c# 方法创建计算器
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _01方法创建计算器{ class Program { static void Main(string[] a...
2019-01-19 17:20:53
258
原创 C#冒泡排序
冒泡排序代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _05冒泡排序{ class Program { static void Main(st...
2019-01-08 22:18:48
113
原创 C#变色动画
1.创建border设置宽高,位置,背景色,添加进BG;写变色动画ColorAnimation,颜色由红变绿2.设置边框厚度,边框颜色由紫色 变成粉色3.写动画边框厚度由20变成0,ThicknessAnimation 4.整体动画由不透明变成透明代码:using System;using System.Collections.Generic;using System.L...
2019-01-08 21:57:47
594
原创 C#两点动画
1.选择WPF应用程序创建文件2.设置name,添加加载事件loaded3.创建border设置宽高,位置,背景颜色,边框厚度颜色 4.添加命名空间using System.Windows.Media.Animation;5.动画:(1)找剧本 故事本Storyboard story = new Storyboard();(2)设置动画类型两点动画:DoubleAnimation da...
2019-01-08 21:43:57
177
原创 c#旋转动画
1.创建bordre设置宽高,位置,背景色,设置圆角 br.CornerRadius = new CornerRadius(50);添加进BG2.写动画3.(1)设置旋转方向RotateTransform rotate = new RotateTransform();(2)绑定旋转中心br.RenderTransform = rotate;(3)设置旋转中心百分比br.RenderTra...
2019-01-08 21:34:52
1014
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人