您的位置:首页 > 其它

窗体传值,子窗体,父窗体,反射,reflection,windows,组策略,gpedit.msc,动态创建窗体,谢谢

2008-05-26 23:00 465 查看
大家好!
刚才快下班的时候我正在写一个winform的程序,界面是treeview+listview的联动,就好像windows的组策略的样子,在子窗体中修改策略的安全设置,在主窗体中刷新显示,见下图:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;

namespace WindowsApplication1
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1
public partial class frmPasswordLength : Form

public frmPasswordLength()
InitializeComponent();
button2.DialogResult = DialogResult.OK;
button1.DialogResult = DialogResult.Cancel;
}
public int PasswordLength
get set }

}
}


修改成功



大功告成,希望对大家有帮助,谢谢大家耐心看完我的教程。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐