c# - VSTO splash screen or progress bar -
i have project i'm doing
microsoft vsto (office 2013 excel)
i have things make calls take maybe 10 seconds come back.
ideally display progress bar or status... after lot of searching found article titled:
how create splash screen window vsto applications? http://www.datazx.cn/fv7p5a/xw/oa2v/2q7xs6/mcccjfti-988m-f8r8-8d44-bstb4rfsi4xm23rsdfd.html
so started creating code in form, realize need call within methods , attach events etc...
the article says
"display modal form on background thread" best way this?
i find easier use modal less form on main thread , far haven't seen problem modal less approach. code below
var splashwindow = new splashwindow(); splashwindow.show(); splashwindow.setmessage("starting please wait..."); dosomework(splashwindow); splashwindow.close();
Comments
Post a Comment