On button click event of the form New form will open.
like below.
private void metroButton2_Click_1(object sender, EventArgs e)
{
Resultone rs = new Resultone();
this.Hide();
rs.Show();
}
{
Resultone rs = new Resultone();
this.Hide();
rs.Show();
}
And Resultone form is like below.
public partial class Resultone : MetroForm
{
public Resultone()
{
InitializeComponent();
GenerateFile();
ShowContent();
outputfile();
}
{
public Resultone()
{
InitializeComponent();
GenerateFile();
ShowContent();
outputfile();
}
....
}
This functions takes some time around 8 seconds to complete the job.
So I want to show progressbar until this processes are finished.
Amresh SPosted Nov 21, 2016, 12:08 AM
Dhruti PrajapatiPosted Nov 21, 2016, 12:49 AM