using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Net.Mail;namespace MailGet{ public
class Utility ...
分类:
其他好文 时间:
2014-05-09 03:30:26
阅读次数:
269
//窗体加载完毕 void MyMessageBox_Loaded(object sender,
RoutedEventArgs e) { //启动定时期倒计时,多线程计时 //System.Threading....
分类:
编程语言 时间:
2014-05-09 03:27:00
阅读次数:
366
数据库中的数字和编程语言中的数字有显著的不同,数据库中的数字可以为空,C#中的数字不能为空。int? x = null;
//此时x可以为空测试类(NullableTest)using System;using System.Collections.Generic;using
System.Linq...
分类:
其他好文 时间:
2014-05-09 03:20:29
阅读次数:
303
1. ConfigurationManager的命名空间:using
System.Configuration;2.To be able to save you have to use a configuration object
returned by the OpenExeConfigurati...
分类:
移动开发 时间:
2014-05-09 03:03:07
阅读次数:
596
1.创建工程文件-> 新建->网站 如下图。工程建好后,会自动添加如下代码: 1
using System; 2 using System.Linq; 3 using System.Web; 4 using
System.Web.Services; 5 using System.Web.Servic...
分类:
Web程序 时间:
2014-05-09 02:59:12
阅读次数:
608
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe
C:\_PRODUKCIJA\Debug\DynamicHtmlTool.exeMicrosoft(R).NET FrameworkInstallation
utility...
分类:
其他好文 时间:
2014-05-08 23:53:56
阅读次数:
518
//
获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory//
获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName//
获取和设置当前目录(该进...
分类:
移动开发 时间:
2014-05-08 23:49:48
阅读次数:
364
适配器(Adaptor)是提供接口映射的模板类。适配器基于其他类来实现新的功能,成员函数可以被添加、隐藏,也可合并以得到新的功能。STL提供了三个容器适配器:queue、priority_queue、stack。这些适配器都是包装了vector、list、deque中某个顺序容器的包装器。注意:适配...
分类:
其他好文 时间:
2014-05-08 23:13:29
阅读次数:
298
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Net;using System.IO;using
System.Runtime.InteropService...
分类:
Web程序 时间:
2014-05-08 23:12:06
阅读次数:
622
根据预处理标识符执行方法。Conditional 属性是 ConditionalAttribute
的别名,可应用于方法或属性类。通常用于DEBUG,如下则只有在debug的情况下会打印log。[Conditional("DEBUG")] public
static void Message(str...
分类:
其他好文 时间:
2014-05-08 22:52:46
阅读次数:
354