码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
C#中窗体间参数传递实现增删改的例子
此例子中传递的变量有string type,string text,储存在结构数组中;static int i储存在Sta类中(如果在外面声明,调用它老出错),里面有geti和seti函数来操纵它。各个窗体实现功能及截图:各窗体代码如下:using System;using System.Colle...
分类:Windows程序   时间:2014-05-23 10:41:47    阅读次数:550
C#控制鼠标位置
It is not possible using the .NET BCL. However if you really want it you can use native SetCursorPos inUser32.dll. [DllImport("User32.dll")]private st...
分类:其他好文   时间:2014-05-23 10:16:34    阅读次数:236
Mediator模式
参考资料《大话设计模式》Mediator(中介者)模式:使各个对象不需要显式的相互调用,从而使其耦合松散。using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ds_me...
分类:其他好文   时间:2014-05-23 10:13:17    阅读次数:331
WCF揭秘学习笔记(3):使用DataContractSerializer
使用DataContractSerializer 终结点(包括地址、绑定、契约)可通过代码以编程方式添加到服务中。如:using(ServiceHost host =new ServiceHost(typeof(DerivativesCalculator), new Uri[] { ...
分类:其他好文   时间:2014-05-23 10:06:49    阅读次数:244
s1考试 图书管理系统 结构体版
#include #include #include #include #include using namespace std; struct Library { long number;//编号 string bookname;//书名 string author;//作者 string press;//出版社 int price;//价格 }...
分类:其他好文   时间:2014-05-22 07:17:38    阅读次数:206
职责链模式、桥接模式
参考资料《大话设计模式》职责链模式:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ds_chainofresponsibility{ class Progr...
分类:其他好文   时间:2014-05-20 12:52:03    阅读次数:328
winform学习日志(二十八)----------将汉字转化为拼音,正则表达式和得到汉字的Unicode编码
一:上图,不清楚的看代码注解,很详细了二:具体代码窗体代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using Sy...
分类:Windows程序   时间:2014-05-20 11:18:57    阅读次数:839
数据结构-从上往下打印二叉树
题目:从上往下打印出二叉树的每个节点,同一层的节点按照从左到右的顺序打印。分析:其实就是按层的遍历方式#include #include using namespace std;struct BinaryTree{ int data; BinaryTree* lchild; Bin...
分类:其他好文   时间:2014-05-20 10:13:47    阅读次数:242
SqlHelper 简单版
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.SqlClient;namespace AddressBook{...
分类:数据库   时间:2014-05-20 10:08:21    阅读次数:328
poj 3164 Command Network
http://poj.org/problem?id=3164第一次做最小树形图,看着别人的博客写,还没弄懂具体的什么意思。 1 #include 2 #include 3 #include 4 #include 5 #define maxn 1000 6 using namesp...
分类:Web程序   时间:2014-05-20 09:39:34    阅读次数:324
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!