-
switch1.3
平移页面切换效果,仿PPT页面进入效果,代码简单效果出众(Translational page switching effect)
- 2020-06-22 11:20:02下载
- 积分:1
-
AD9854
可生成正交DDS信号,基础程序,STM32f103(Generating orthogonal DDS signals)
- 2020-06-18 10:40:02下载
- 积分:1
-
wpf滑动效果 实例源码
鼠标拖动时 控件滑动 截图: 核心代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.Windows.Media.Animation;namespace FlashPrac2{ /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } /// /// 完成缓冲效果 /// /// 起始位置 /// 目标位置 /// 加速加速度 /// 减速加速度 /// 持续时间 private void DoMove(DependencyProperty dp, double to, double ar, double dr, double duration) { DoubleAnimation doubleAnimation = new DoubleAnimation();//创建双精度动画对象 doubleAnimation.To = to;//设置动画的结束值 doubleAnimation.Duration = TimeSpan.FromSeconds(duration);//设置动画时间线长度 doubleAnimation.AccelerationRatio = ar;//动画加速 doubleAnimation.DecelerationRatio = dr;//动画减速 doubleAnimation.FillBehavior = FillBehavior.HoldEnd;//设置动画完成后执行的操作 grdTransfer.BeginAnimation(dp, doubleAnimation);//设置动画应用的属性并启动动画 } private double pressedX; /// /// 点击鼠标,记录鼠标单击的位置 /// /// /// private void grdTest_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { ////获得鼠标点击的X坐标 pressedX = e.GetPosition(cvsGround).X; } ////鼠标释放时的操作 private void grdTest_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { double transferLeft = Convert.ToDouble(grdTransfer.GetValue(Canvas.LeftProperty)); //btn1.Content = transferLeft.ToString(); if (transferLeft > 0) { transferLeft = 0; } if (this.Width - transferLeft > cvsGround.Width) { transferLeft = this.Width - cvsGround.Width; } ////获得鼠标释放时的位置 double releasedX = e.GetPosition(cvsGround).X; ////获得距离间隔 double interval = releasedX - pressedX; pressedX = 0; ////计算出传送带要的目标位置 double to = transferLeft interval; ////移动 //btn1.Content = transferLeft.ToString() " " to.ToString(); // btn1.Content = transferLeft.ToString() " " to.ToString(); DoMove(Canvas.LeftProperty, to, 0.1, 0.5, 0.5); } }}
- 2014-06-24下载
- 积分:1
-
369xian
说明: 这是外汇mt4平台的线突破指标,也是从369外汇公司买的,现在送源码(This is an exchange line break indicators mt4 platform also bought foreign exchange from the 369, now sent to source)
- 2011-02-17 10:49:56下载
- 积分:1
-
人脸检测的源代码,经过测试,效果还不错!
人脸检测的源代码,经过测试,效果还不错!-Face detection source code, tested, results were pretty good!
- 2023-06-06 07:35:03下载
- 积分:1
-
转换器 csharp 代码,提供了从 pdf 转换为 txt bla 吕克 sranje 的部分 od 程序
转换器 csharp 代码,提供了从 pdf 转换为 txt 的部分 od 程序
bla 吕克 sranje
- 2022-02-25 05:39:19下载
- 积分:1
-
DrawLine
实现坐标的显示 随机数产生 并显示到listctrl中 声称坐标轴 显示随机数,排序(
Achieve coordinate display random number is generated and displayed to listctrl claimed axis shows random numbers, sorting)
- 2013-11-08 20:38:32下载
- 积分:1
-
mfc 串口通信demo
是一个较为完整的vs2008基于mfc建立的工程,能够实现多个波特率的串口通信,并且可以查看可用的串口端口,实时传输,并通过将信息封装起来,便于通信端口信息的解析和读取,非常方便,经过测试无任何问题,并且可以release出来再没有安装mfc的库的电脑中运行无误。
- 2022-04-08 06:55:32下载
- 积分:1
-
12864-4M
基于ST7920A控制器的128*64液晶驱动程序,包括汉字,字符,字符串,以及图形显示。可显示任意长的中文及字符串。(ST7920A controller based on the 128* 64 LCD driver, including Chinese characters, characters string, and graphics. Show arbitrarily long string and Chinese.)
- 2021-03-22 16:29:16下载
- 积分:1
-
SingleCalibrate
基于opencv的相机单目标定程序,很好的学习资源,做图像矫正的可以看看~(Opencv based on a single target of the camera program)
- 2015-05-06 13:53:42下载
- 积分:1