Click here to Skip to main content
12,815,616 members (39,326 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0
please help on this matter, i am trying to refresh all the content on the click of button, how can i do it, Please help.
Posted 23-Jan-13 19:33pm
Updated 23-Jan-13 19:34pm
Why? Normally you don't need to refresh anything...
Or, do you mean by "Refresh" something specific? What? And what's the problem?
arshanmugam 24-Jan-13 1:10am
Normally You don't need it. but, you can do this by reloading the Form_load of the form...
XshivDeveloper 24-Jan-13 1:16am
actually i am playing a .swf file in form using shockwave flash object and i have placed three buttons namely PLAY, PAUSE, and STOP and I want to stop the video on the Click of STOP and then, when i Click the PLAY button the video should be play from start.
XshivDeveloper 24-Jan-13 1:18am
i want to reload my form on a specific button's click. is it possible??
And where is the refresh..?
XshivDeveloper 24-Jan-13 2:01am
i want to call refresh on STOP button, so the form will start from start position, i want a functionality like to do something like this, as i have posted in previos comment is any other way to doing this? please help
arshanmugam 24-Jan-13 5:52am
refer my solution...
XshivDeveloper 25-Jan-13 0:49am
thanks buddy, actually i am new to this :)

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

From my Knowledge, we can close the current Form and open it again by single button click or we can change the Particular part with the single button click.. the diff. is the way what we think...
refer the code below...

public partial class Form1 : Form
        public Form1()

        private void Form1_Load(object sender, EventArgs e)

        void GetCurrentTime()
            // Type your Form_Load Code Here... 
            label1.Text = System.DateTime.Now.ToString();


        private void button1_Click(object sender, EventArgs e)

            // Or u can done by this way...

            //Form1 cf = new Form1();            

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100