[原创]c#隐藏tabcontrol头部
发布时间:2022-11-29 22:11:44 191 相关标签:
this.tabControl_btn_style.AllowDrop = true;
this.tabControl_btn_style.Controls.Add(this.tabPage_border);
this.tabControl_btn_style.Controls.Add(this.tabPage_shadow);
this.tabControl_btn_style.Controls.Add(this.tabPage_label);
this.tabControl_btn_style.Controls.Add(this.tabPage_img);
this.tabControl_btn_style.HotTrack = true;
this.tabControl_btn_style.Location = new System.Drawing.Point(15, 205);
this.tabControl_btn_style.Multiline = true;
this.tabControl_btn_style.Name = "tabControl_btn_style";
this.tabControl_btn_style.Padding = new System.Drawing.Point(0, 0);
this.tabControl_btn_style.SelectedIndex = 0;
this.tabControl_btn_style.TabIndex = 146;
this.tabControl_btn_style.ItemSize = new System.Drawing.Size(0, 1);
this.tabControl_btn_style.SelectedIndexChanged += new System.EventHandler(this.tabControl_btn_style_SelectedIndexChanged);
//
this.tabControl_btn_style.Size = new System.Drawing.Size(212, 199);
this.tabControl_btn_style.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
关键代码
this.tabControl_btn_style.ItemSize = new System.Drawing.Size(0, 1);
this.tabControl_btn_style.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
文章来源: https://blog.51cto.com/u_15458814/5882736
特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报