void SetControl()
        {
            if (this.killButton == null)
            {
                this.killButton = new KillButton();
                this.killButton.Show();
            }

            this.killButton.Left = this.position.Left + (this.position.Width / 2);
            this.killButton.Top = this.position.Top -5;

            NativeMethods.SetWindowLong32(NativeMethods.FindWindowByCaption(IntPtr.Zero, this.killButton.Title), NativeMethods.GWL_HWNDPARENT, this.skypeWnd.ToInt32());
        }
        private void DestroyHelper(object state)
        {
            Execute ex = delegate()
            {
                NativeMethods.UnhookWinEvent(this.hook);
                if (this.killButton != null)
                {
                    this.killButton.Close();

                    this.killButton = null;
                }
            };
            this.Dispatcher.Invoke(ex, null);
        }