i having issue trying display picturebox spinning wheel gif while sending email through program.
when send button clicked nothing happens until message box shows saying whether email sent or not. if have wheel spinning time, when click send button pauses.
my question how gif show during processing time , hide after it's completed. have tried running email send process background process, still haven't figured out.
i've been using basic:
picturebox loadingwheel = new picturebox(); loadingwheel.imagelocation = @"\\xxxx\xxx\xx"; picturebox.visible = true; picturebox.visible = false;
any ideas?
also trying figure out well: have text box when enter text , hit enter want click button (i have part figured out) want highlight button:
like this...
picturebox.visible = true; after line of code call method sends mail later write picturebox.visible = false;
Comments
Post a Comment