D
Dominic
Hi there,
I've a form application which calls a couple of child forms.
The 1st child checks the registry for some data, if it doesn't find it it
calls the 2nd child so some user input can be collected, when the input is
collected a 3rd form is called and is supposed to display a nice animated
gif so taht there is at least something for the user to see while some
data is collected whilst the input is worked on. The thing is that I can't
get the 3rd form to display the animated gif... there's just a white
square of the correct dimensions... any ideas?
Code:
private void getAndProcessContacts() {
alterRegKey("user", secondForm.textBox1.Text);
alterRegKey("pass", secondForm.textBox2.Text);
thirdForm.ControlBox = false;
String appPath = Path.GetDirectoryName(Application.ExecutablePath)
Image img = Image.FromFile(appPath + @"\animatedGif.gif");
thirdForm.pictureBox1.Image = img;
thirdForm.Show();
comboBox1.DataSource = getStuff();
thirdForm.Hide();
}
Help appreciated.
Cheers,
Dom
I've a form application which calls a couple of child forms.
The 1st child checks the registry for some data, if it doesn't find it it
calls the 2nd child so some user input can be collected, when the input is
collected a 3rd form is called and is supposed to display a nice animated
gif so taht there is at least something for the user to see while some
data is collected whilst the input is worked on. The thing is that I can't
get the 3rd form to display the animated gif... there's just a white
square of the correct dimensions... any ideas?
Code:
private void getAndProcessContacts() {
alterRegKey("user", secondForm.textBox1.Text);
alterRegKey("pass", secondForm.textBox2.Text);
thirdForm.ControlBox = false;
String appPath = Path.GetDirectoryName(Application.ExecutablePath)
Image img = Image.FromFile(appPath + @"\animatedGif.gif");
thirdForm.pictureBox1.Image = img;
thirdForm.Show();
comboBox1.DataSource = getStuff();
thirdForm.Hide();
}
Help appreciated.
Cheers,
Dom