Add

TextBoxCollection.Add method

يضيف مربع نص إلى المجموعة.

public int Add(int upperLeftRow, int upperLeftColumn, int height, int width)
معامليكتبوصف
upperLeftRowInt32فهرس الصف العلوي الأيسر.
upperLeftColumnInt32فهرس العمود الأيسر العلوي.
heightInt32ارتفاع مربع النص ، بوحدة البكسل.
widthInt32عرض مربع النص ، بوحدة البكسل.

قيمة الإرجاع

TextBox فهرس الكائن.

أمثلة


[C#]
// إضافة TextBox
int index2 = textBoxCollection.Add(1, 1, 50, 100);

أنظر أيضا