A
Andrew
Hello, friends,
I created a class library (c#.net 2005) in which it may instanciate multiple
window forms to display images: One window for each image file.
It worked fine except that if more than one instance were created, all
instances will share the same window although you can see multiple icons in
task bar. And here is source code we called to instantiate each window.
public bool ShowImage(string imageFileName, string viewerCaption)
{
ImageWindow newImageWindow = new ImageWindow ();
newImageWindow.Text = viewerCaption;
newImageWindow.ImageLocation = imageFileName;
newImageWindow.Show();
return true;
}
This is really weired. Any ideas?
Thanks a lot
I created a class library (c#.net 2005) in which it may instanciate multiple
window forms to display images: One window for each image file.
It worked fine except that if more than one instance were created, all
instances will share the same window although you can see multiple icons in
task bar. And here is source code we called to instantiate each window.
public bool ShowImage(string imageFileName, string viewerCaption)
{
ImageWindow newImageWindow = new ImageWindow ();
newImageWindow.Text = viewerCaption;
newImageWindow.ImageLocation = imageFileName;
newImageWindow.Show();
return true;
}
This is really weired. Any ideas?
Thanks a lot