ASP.NET 4.0,C#,WCF,WF,MVC,Silverlight,Sharepoint
public ProjectInstaller() { InitializeComponent(); this.Committed += ProjectInstaller_Committed; } void ProjectInstaller_Committed(object sender, InstallEventArgs e) { var controller = new ServiceController("WinServiceName"); controller.Start(); }
No comments:
Post a Comment