المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : wpf backgroundworker, execution of processes one after another



C# Programming
09-15-2013, 12:41 PM
In wpf , using background worker i want to stop the sql server service than start sql service.
how i can achieve one by one, i mean once the sql server is stopped than only it gave a call for sql start service.

is there any way to do this ?, work completed method will call for both.

please help me with sample code.

help will be appreciated.