using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SqlHelper;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string str = "1";
string str2 = "0";
for (int i = 0; i < this.tabControl1.Controls.Count; i++)
{
if (this.tabControl1.Controls[i].Text == "tabPage2" && str2 == "0")
{
tabPage2.Parent = null;
}
}
for (int t = 0; t < this.Controls.Count; t++)
{
c# 隐藏tabPage Button GridViewCheckBoxColumn单选
最新推荐文章于 2022-05-30 16:06:24 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)