-
zhengtai
说明: 正态分布的图形演示
本题用c语言编写的画图程序要在tc2.0下运行.
其余程序在各种编译器下可以运行,(normal graphic demonstration that the use of language c drawing program to tc2.0 running. The remaining procedures in the various compiler can run under,)
- 2006-04-01 21:00:06下载
- 积分:1
-
1uCOS-II-V2.86PucGUI-V3.90
超级示波器,对ucgui的运用很有帮助,新手不要错过了,老手看看也是不错的(Super oscilloscope, is of great help to the use of ucgui, novice don t missed, veteran see also is pretty good)
- 2014-12-16 15:01:56下载
- 积分:1
-
xueshengxuankexitong
桂林电子科技大学的数据库课程的最后大作业,里面是一个学生选课系统的源码。(Guilin University of Electronic Science and Technology Database last great work, which is a class selection system source code.)
- 2010-12-17 20:32:54下载
- 积分:1
-
STM8S_StdPeriph_Lib
内涵STM8S的库,集成个人修改的文件 已经检验(Library of Connotation STM8S)
- 2020-06-21 22:00:01下载
- 积分:1
-
UInfformax_Fas
用matlab实现扩展Informax算法与固定点算法Faast ICA,可对混合后信号进行独立分量分离 已通过测试。
(Using matlab to expand Informax algorithm with fixed-point algorithm Faast ICA, independent component separation of the mixed signal has been tested.)
- 2012-07-10 16:43:25下载
- 积分:1
-
VC-Room-monitoring-system
VC 机房监控系统,包括一些论文资料等。(VC room monitoring system, including a number of papers information.)
- 2013-11-05 09:36:45下载
- 积分:1
-
TinyEKF
extend kalman filter for the location
- 2018-06-16 19:55:59下载
- 积分:1
-
asp.net防刷新(F5) 禁止重复提交 实例(附完整源码)
实现了用户操作时 刷新导致的重复操作问题。 实现原理如下: 使用一个上下文唯一的票据号,该票据号随页面提交或回发而递增,每当用户与服务器端交互时,代码会提取上次的票据号码并与当前票据号码比较,如果当前票据大于上次的票据,则是提交或回发,否则则识别为刷新。 这种方式会用到HttpMoudel,并在其中操作Session。 使用方法如下: 1、引入dll MsdnExt 压缩包中有2.修改web.config,在 添加以下item: 其中“MsdnModule”是一个名字, “Msdn.RefreshModule”是“Msdn”下的“RefreshModule”类型,“MsdnExt”是程序集的名字 3.引入命名空间 using Msdn; 并修改页面类继承Msdn.Page 4.使用代码 代码: protected void Button1_Click(object sender, EventArgs e) { if (!IsPageRefresh) Response.Write("按钮事件"); else Response.Write("页面刷新");TrackRefreshState();} MSDNPage.cs 核心代码如下:using System;using System.Web.UI;using System.Web;using System.Text;namespace Msdn{ public class Page : System.Web.UI.Page { #region Constants // *********************************************************** // Constants public const string RefreshTicketCounter = "RefreshTicketCounter"; private const string SetFocusFunctionName = "__setFocus"; private const string SetFocusScriptName = "__inputFocusHandler"; // *********************************************************** #endregion // *********************************************************** // Ctor public Page() { m_focusedControl = ""; // Register a PreRender handler this.PreRender = new EventHandler(RefreshPage_PreRender); } // *********************************************************** // ************************************************************** // Indicates if the page is being viewed in response to F5 hit public bool IsPageRefresh { get { object o = HttpContext.Current.Items[RefreshAction.PageRefreshEntry]; if (o == null) return false; return (bool) o; } } // ************************************************************** // ************************************************************** // Increase the internal counter used to generate refresh tickets public void TrackRefreshState() { InitRefreshState(); int ticket = Convert.ToInt32(Session[RefreshTicketCounter]) 1; Session[RefreshTicketCounter] = ticket; } // ************************************************************** // ************************************************************** // Set the control with the input focus public void SetFocus(string ctlId) { m_focusedControl = ctlId; } // ************************************************************** #region Private Members // ************************************************************** // Create the hidden field to store the current request ticket private void SaveRefreshState() { int ticket = Convert.ToInt32(Session[RefreshTicketCounter]) 1; RegisterHiddenField(RefreshAction.CurrentRefreshTicketEntry, ticket.ToString()); } // ************************************************************** // ************************************************************** // Ensure that the ticket counter is initialized private void InitRefreshState() { if (Session[RefreshTicketCounter] == null) Session[RefreshTicketCounter] = 0; } // ************************************************************** // ************************************************************** // Handle the PreRender event private void RefreshPage_PreRender(object sender, EventArgs e) { SaveRefreshState(); AddSetFocusScript(); } // ************************************************************** // ************************************************************** // Add any script code required for the SetFocus feature private void AddSetFocusScript() { if (m_focusedControl == "") return; // Add the script to declare the function // (Only one form in ASP.NET pages) StringBuilder sb = new StringBuilder(""); sb.Append(""); sb.Append("function "); sb.Append(SetFocusFunctionName); sb.Append("(ctl) {"); sb.Append(" if (document.forms[0][ctl] != null)"); sb.Append(" {document.forms[0][ctl].focus();}"); sb.Append("}"); // Add the script to call the function sb.Append(SetFocusFunctionName); sb.Append("(); sb.Append(m_focusedControl); sb.Append();"); // Register the script (names are CASE-SENSITIVE) if (!IsStartupScriptRegistered(SetFocusScriptName)) RegisterStartupScript(SetFocusScriptName, sb.ToString()); } // ************************************************************** #endregion #region Private Properties // *********************************************************** // Private properties private string m_focusedControl; // *********************************************************** #endregion }}
- 2021-03-16 17:39:21下载
- 积分:1
-
diaoyong
vc++开发的可视化界面,调用ansys,后台,并且可以生成txt,apdl命令流。(The developed visual interface vc++ call ANSYS, background, and can generate txt APDL command flow.)
- 2013-05-15 15:30:34下载
- 积分:1
-
File-Association
Ever wanted to programmatically associate a file type on the system with your application, but didn t like the idea of digging through the registry yourself? If so, then this article and code are right for you.
- 2016-12-10 01:28:09下载
- 积分:1