I wanna add a button,checkbox,tabcontrol and something like that with code. How can i do this?
Actually i wanna add something to tabcontrol.
I am using C#.
ref: How to dynamically generate a TextBox control.
TextBox txt = new TextBox();
txt.ID = "textBox1";
txt.Text = "txtbox";
tabcontrol1.Controls.Add(txt);
Label lbl = new Label();
lbl.Text = "Lbl";
tabcontrol1.Controls.Add(lbl);
看看 SDK 示例,你有很多关于如何做的例子。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.