Exemplo n.º 1
0
        public HDAgent()
        {
            string vmName = "Android";

            SysTray.Init(vmName);
            Utils.AddMessagingSupport(out HDAgent.sOemWindowMapper);
            HDAgent.clipboardClient = new ClipboardMgr();
            HDAgent.clipboardClient.Show();
            HDAgent.CheckAnnouncementAsync(vmName);
            TimelineStatsSender.Init(vmName);
        }
 protected override void OnHandleDestroyed(EventArgs e)
 {
     ClipboardMgr.RemoveClipboardFormatListener(this.Handle);
     base.OnHandleDestroyed(e);
 }
 protected override void OnHandleCreated(EventArgs e)
 {
     base.OnHandleCreated(e);
     ClipboardMgr.AddClipboardFormatListener(this.Handle);
 }