public MainWindow()
 {
     InitializeComponent();
     ch = new ClientHook();
     ch.Win = this;
     Thread t = new Thread(MyClipboard.InitializeShare);
     t.Start();
     ch.setMouseHook();
     ch.setKeyboardHook();
 }
        public MainWindow()
        {
            InitializeComponent();
            ch     = new ClientHook();
            ch.Win = this;
            Thread t = new Thread(MyClipboard.InitializeShare);

            t.Start();
            ch.setMouseHook();
            ch.setKeyboardHook();
        }