using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;namespace FileNameHelper
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.groupBox1.Enabled = false;
} private void cbStartup_CheckedChanged(object sender, EventArgs e)
{
this.groupBox1.Enabled = this.cbStartup.Enabled; }
}
}
cbStartup控件在groupBox1的外边,运行程序的时候整个group是灰掉的,启动cbStartup后,触发事件就不管用了,group总是可用状态
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货