foreach(System.Windows.Forms.Controlcontrolinthis.groupBox2.Controls)//遍历groupBox2上的所有控件{
if(controlisSystem.Windows.Forms.PictureBox) { ...
1、登陆中的验证问题
登录中用户名和密码的判断,一是怎么判断,需要调用业务逻辑层的判断方法,这里是单独拿出一个层Controls来进行授权和登录的验证。那怎么进行验证结果的返回,正确进入下个页面错误返回登录页面,首先想到的放法写一个bool的方法,正确进入下一个页面,错误返回登录页面。这里用的一.....
分类:
Web程序 时间:
2014-04-30 15:32:53
阅读次数:
543
Listing 1: Setting up data binding for the
Rating
controlusingSystem.Windows.Controls;usingSystem.Windows.Data;usingMicrosoft.LightSwitch.Threading;na...
分类:
其他好文 时间:
2014-04-30 01:57:00
阅读次数:
517
unit MainUnit;interfaceuses Windows, Messages,
SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,
Registry;type TfrmMain = ...
分类:
编程语言 时间:
2014-04-29 10:32:46
阅读次数:
436
protected void lbtnState_Click(object sender,
EventArgs e) { foreach (var item in div_state.Controls) { if (item is LinkB...
分类:
Web程序 时间:
2014-04-29 10:13:46
阅读次数:
438