-
c语言实现json库
包含完整的用于实现c语言打包json的库文件和使用例程
- 2022-08-23 19:50:43下载
- 积分:1
-
virtualinstrument
此例程是关于DSP虚拟仪器的程序,包括示波器与频谱仪二部分,基本包含示波器与频谱仪的常用功能(This routine is about DSP virtual instrument procedures, including oscilloscopes and spectrum analyzer two parts, the basic oscilloscope and spectrum analyzer contains a common functional)
- 2009-03-22 15:05:03下载
- 积分:1
-
CSharpTCP
基于TCP的网络编程,用C#语言编写,实现客户端与服务器之间的通信(TCP-based network programming with C# language, the communication between the client and the server)
- 2013-01-02 11:25:57下载
- 积分: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
-
一个仍照程序,导致在街上仍然照片的店铺…
一个大头贴程序,做成跟街上的大头贴店内的功能差不多,这是我的毕业设计-a still photos procedures, resulting in the street with still photos of the shop almost functional, it is my graduation design
- 2022-06-27 05:11:54下载
- 积分:1
-
BP-algorithm
人工神经网络BP算法
1、动态改变学习速率2、加入动量项(BP algorithm of artificial neural networks)
- 2012-12-17 12:52:15下载
- 积分:1
-
WebResourceProviderDotNet_src
This article (an improved .NET version of my C++ version) describes WebResourceProvider, a simple yet powerful framework for retrieving useful information from public sources on the web, such as:
search engines like Google and Altavista
online stock quote providers such as Yahoo, CNN and Quicken
weather information providers such as Weather.com, AccuWeather and CNN
online translation services like Google, Babelfish and FreeTranslation
RSS feeds like Yahoo World News, CNN Technology News and Google Business News,
etc.
- 2009-06-05 09:51:56下载
- 积分:1
-
DisplayBMP
显示处理后的BMP图像文件,VC C++ (read the bmp images )
- 2012-04-16 16:57:09下载
- 积分:1
-
C# 判断WPF页面是否运行在浏览器环境下
C# 判断WPF页面是否运行在浏览器环境下,还可以使用BrowserInteropHelper.Source属性进行深入检测,具体的实现代码如下:
private void Page_Loaded(object sender, RoutedEventArgs e)
{//判断WPF页面是否运行在浏览器环境下
string MyInfo = "";
if (System.Windows.Interop.BrowserInteropHelper.IsBrowserHosted)
{//还可以使用BrowserInteropHelper.Source属性进行深入检测
MyInfo = "当前WPF页面是运行在浏览器环境下!";
}
else
{
MyInfo = "当前WPF页面不是运行在浏览器环境下!";
}
MessageBox.Show(MyInfo, "信息提示", MessageBoxButton.OK);
}
- 2022-03-22 08:29:15下载
- 积分:1
-
LP1114_ucos_ii
LP1114_ucos_ii,cm0处理器移植ucosii的模板(LP1114_ucos_ii, cm0 template processor transplant ucosii)
- 2021-04-18 20:48:57下载
- 积分:1