c# - WPF Entity Framework Loading Process Stucks -


currently working project in c# wpf entity framework, had used mahapps.metro package ui, need implement progreebar or loadingindicator or idicates app not stuck,

whenever made kind of operation first time, apps stucks few second , seems hang,

in web apps had implemented ajax call, loading process with

.ajaxstart() .ajaxstop() 

so question know or there way implement every call of app or entity framework or process how can implement progressbar or gif loader or shows process.

i had tries progessbar of mahapps.metro whenever start progressbar stucks untill process complete.

edited:

some of code is,

private void showclientwindow(object sender, routedeventargs e)     {         myprogess.isindeterminate = true; //its progressbar          myframe.source = new uri("myviews/clientview.xaml", urikind.relative);          myprogess.isindeterminate = false;     } 

thanks,

gaurav oza

the solution not display progressbar let user think application not stuck, use async calls avoid being stuck.

entity framework 6 support async query , save


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -