איך זה מתבצע ???

MrProg

New member
איך זה מתבצע ???

WindowsForms כאשר אני מוסיף ToolTip לWindowsForm כל ה-Controls מקבלים property חדש בשם toolTipOnToolTip1, איך ToolTip Control מוסיף Properties ל-Controls אחרים ??? תודה רבה
 

gilad g

New member
הוא לא ../images/Emo13.gif

זה property פיקטיבי של ה-Designer. שים לב מה קורה בקוד מאחורה:
// // listView1 // this.listView1.Location = new System.Drawing.Point(192, 72); this.listView1.Name = "listView1"; this.listView1.TabIndex = 6; |this.toolTip1.SetToolTip(this.listView1, "MMM112");
 
למעלה