02 2013 档案
摘要:方法一:<head runat="server"> <title></title> <script runat="server"> [DirectMethod] public void SetTimeStamp() { this.Label1.Text = DateTime.Now.ToLongTimeString(); this.Label1.Element.Highlight(); } </script></head><body> <form id="
阅读全文
摘要:MSDN中对DllImportAttribute的解释是这样的:可将该属性应用于方法。DllImportAttribute属性提供对从非托管DLL导出的函数进行调用所必需的信息。作为最低要求,必须提供包含入口点的DLL的名称。并给了一个示例:[DllImport("KERNEL32.DLL", EntryPoint="MoveFileW",SetLastError=true,CharSet=CharSet.Unicode, ExactSpelling=true,CallingConvention=CallingConvention.StdCall)]pu
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading ; namespace 多线程 { class 线程元子性 { private static Person per = new Person() ; public static void Main() { for( i...
阅读全文

浙公网安备 33010602011771号