Hi Steve,
In the controller you could add <YourImageControleName>.ReloadImage() at some control or event.
I've used this for my help screen that makes a screen capture (to send by mail to our help desk). A button opens paint and you can change the image there, like circle the problem item, and after closing Paint I do this ReloadImage(). Works fine for me. It show the just adjuste picture on the screen immediately.
Sample:
In the controller for the button:
private void btnB_EditScreenCapture_Click(object sender, ButtonClickEventArgs e)
{
_controller.EditScreenCaptureBitmap();
picScreenCaptureBitmap.ReloadImage();
}
In the program:
internal void EditScreenCaptureBitmap()
{
if (u.FileExist(v_ScreenCaptureBitmapPath))
{
ENV.Windows.OSCommand(@"""" + _parent.v_MsPaintPath.Trim() + @""" """ + v_ScreenCaptureBitmapPath.Trim() + @"""", true);
Raise(KASME.Application.PositionOnField, "i_ProblemDescription");
}
}
So I'm als using a u.CtrlGoto() on the last line (Raise).
Best regards,
Harry Kleinsmit.