Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 public ProcessIcon(BlyncLightForSkypeClient blyncLightForSkypeClient)
 {
     this.blyncLightForSkypeClient = blyncLightForSkypeClient;
     this.notifyIcon = new NotifyIcon();
 }