Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows.Forms上的蓝牙低能耗(BLE)_Windows_Forms_Bluetooth_Bluetooth Lowenergy_Energy - Fatal编程技术网

Windows.Forms上的蓝牙低能耗(BLE)

Windows.Forms上的蓝牙低能耗(BLE),windows,forms,bluetooth,bluetooth-lowenergy,energy,Windows,Forms,Bluetooth,Bluetooth Lowenergy,Energy,我想写和应用程序,将只在Windows10和未来版本的工作。我正在尝试一种不用UWP(通用Windows)就可以连接到HM-10(BLE模块)的方法。我可以用C#和WPF编写代码,我希望它是一个Windows.Forms应用程序 我已经编写了一个windows.forms,它正在与较旧的蓝牙设备通信(不是低能),但我现在被迫将该蓝牙模块升级为可扩展模块,并更新该应用程序。我无法转到UWP,因为我想使用UWP不支持的透明窗口功能、全局热键和用户活动(User32.dll libs) 有样品或提示吗

我想写和应用程序,将只在Windows10和未来版本的工作。我正在尝试一种不用UWP(通用Windows)就可以连接到HM-10(BLE模块)的方法。我可以用C#和WPF编写代码,我希望它是一个Windows.Forms应用程序

我已经编写了一个windows.forms,它正在与较旧的蓝牙设备通信(不是低能),但我现在被迫将该蓝牙模块升级为可扩展模块,并更新该应用程序。我无法转到UWP,因为我想使用UWP不支持的透明窗口功能、全局热键和用户活动(User32.dll libs)

有样品或提示吗?我在周末花了大概10个小时试图找到一种方法。我在Visual Studio 2015上工作


谢谢

在编写Windows.Forms应用程序时,您可以使用与WPF应用程序相同的库。只需添加对正确库的引用。你能告诉我问题是什么吗?我已经试着去做了,但是我无法从WPF应用程序中获得参考。你知道怎么做吗?没有任何示例吗?在编写Windows.Forms应用程序时,您可以使用与WPF应用程序相同的库。只需添加对正确库的引用。你能告诉我问题是什么吗?我已经试着去做了,但是我无法从WPF应用程序中获得参考。你知道怎么做吗?没有任何例子吗?