Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

user control equivalent event for form.shown c#

protected override void OnVisibleChanged(EventArgs e)
{
    base.OnVisibleChanged(e);

    if (Visible && !Disposing) PopulateGridView(); //<-- your population logic
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #user #control #equivalent #event
ADD COMMENT
Topic
Name
8+1 =