void fmr_MessageComplete(IMessage msg, TimeSpan time) { MessageViewer mv = new MessageViewer(msg, client); string txt = String.Format("Message {0} took {1} seconds to download", msg.UID, time.TotalSeconds); UpdateProgressBar(-1, -1); UpdateLabel(txt); Application.Run(mv); }
void fmr_MessageComplete(IMessage msg, TimeSpan time) { MessageViewer mv = new MessageViewer(msg,client); string txt = String.Format("Message {0} took {1} seconds to download", msg.UID, time.TotalSeconds); UpdateProgressBar(-1,-1); UpdateLabel(txt); Application.Run(mv); }