摘要: 话不多说直接上代码 //唤出动态输入窗体 FrmInputs frm = new FrmInputs("新增库存品类", new string[] { "名称", "初始数量" },//定义各项名称 new Dictionary<string, HZH_Controls.TextInputType> 阅读全文
posted @ 2021-04-22 19:38 你是话唠 阅读(693) 评论(0) 推荐(0)
摘要: 1 从数据库读取方法名称 using (DataClasses1DataContext con = new DataClasses1DataContext()) { string method = con.MenuFunction.Where(m => m.MenuName == treeViewE 阅读全文
posted @ 2021-04-22 17:42 你是话唠 阅读(622) 评论(0) 推荐(0)
摘要: 1 定义user类 [Serializable] public class User { private string userName; public string Username { get { return userName; } set { userName = value; } } pr 阅读全文
posted @ 2021-04-20 15:13 你是话唠 阅读(2338) 评论(0) 推荐(1)