public static BTDeviceInfo ShowBox(Window parent)
        {
            SelectBT win = new SelectBT(parent);

            win.ShowDialog();
            return(win.SelectedBT);
        }
Exemplo n.º 2
0
        private void buttonConnectEvent(object sender, EventArgs e)
        {
            BTDeviceInfo device = SelectBT.ShowBox(this);

            if (device != null)
            {
                DI.W.BTConnectAsync(device);
            }
        }