private static void Start(string[] args) { var container = TinyIoCContainer.Current; try { IoC.ConfigureContainer(container); blyncLightForSkypeClient = container.Resolve<BlyncLightForSkypeClient>(); container.BuildUp(blyncLightForSkypeClient); blyncLightForSkypeClient.StartClient(); } catch (Exception e) { if (blyncLightForSkypeClient != null && blyncLightForSkypeClient.IsRunning) { blyncLightForSkypeClient.StopClient(); } System.Console.WriteLine(e.Message); } }
public ProcessIcon(BlyncLightForSkypeClient blyncLightForSkypeClient) { this.blyncLightForSkypeClient = blyncLightForSkypeClient; this.notifyIcon = new NotifyIcon(); }