2016-07-29 6 views

Antwort

0

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);

+0

wo soll ich das schreiben? In der Funktion? private void Form_LoadBefore (SAPbouiCOM.SBOItemEventArg pVal, aus Bool BubbleEvent) { } @ kattav-Mauk –

+0

Code in Konstrukteurs öffentliche Form add() { InitializeComponent(); // hier } –

0

Schauen Sie sich die SDK-Beispiele an, Sie haben viele Beispiele dafür.

Verwandte Themen