Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > c#
 

c#

how we can change the possition ofdynamic created lable
arpit singhal  Thursday, August 20, 2009 9:47 AM
Use its Location property.

            Label lbl = (Label)this.Controls.Find("namePropertyAssignedWhenYouCreatedTheLabel", true)[0];
            lbl.Location = new Point(x, y);
BinaryCoder  Thursday, August 20, 2009 11:01 AM
Use its Location property.

            Label lbl = (Label)this.Controls.Find("namePropertyAssignedWhenYouCreatedTheLabel", true)[0];
            lbl.Location = new Point(x, y);
BinaryCoder  Thursday, August 20, 2009 11:01 AM

You can use google to search for other answers

Custom Search

More Threads

• how restrict users from setting focus to multiple cells in DataGridView
• Disable Enter Row Skip on DataGridView
• Simple binding of a textbox to a property
• "Operation is not valid due to the current state of the object"
• I want select my Customer name in date Grid by Query.
• Binding XML to a grid
• Getting a cell value in a DataGridView
• Access performance
• Picture
• howto bind a label with a combobox