摘要:
winform的lable文本没办法复制,可以使用其他控件模拟它的外观+设置不可编辑以模拟lable文本 1. 使用TextBox控件 (1)设置属性让它的外观和lable一样 TextBox1.BackColor = System.Drawing.SystemColors.ControlTextB 阅读全文
posted @ 2021-09-30 15:49
哈哈咖咖
阅读(1272)
评论(0)
推荐(0)
摘要:
窗口跳转 技能点:1. 带参跳转 2. 子窗体更改父窗体属性 (1)从A页跳到B页 new FormB(2) { Owner = this }.ShowDialog(); (2)B页 《1》更改无参构造函数为有参构造函数,接收参数 public FormB(int s) { rk = s; Init 阅读全文
posted @ 2021-09-30 15:24
哈哈咖咖
阅读(272)
评论(0)
推荐(0)

浙公网安备 33010602011771号