Example #1
0
        //Bluetoothメソッド-----------------------------------------------------------

        private void CreateBluetoothWindow()
        {
            //bluetooth制御ウィンドウの表示
            bWindow         = new BluetoothWindow(this);
            bWindow.Closed += BWindow_Closed;
            bWindow.Show();
        }
Example #2
0
 public BluetoothServer(int dOrder, RfcommDeviceDisplay dinfo, BluetoothWindow b, MainWindow m)
 {
     deviceOrder = dOrder;
     deviceInfo  = dinfo;
     deviceName  = dinfo.Name;
     deviceId    = dinfo.Id.Split('-')[1].Replace(":", "");
     mBWindow    = b;
     main        = m;
 }
Example #3
0
        //Bluetoothイベント-----------------------------------------------------------

        private void BWindow_Closed(object sender, EventArgs e)
        {
            bWindow = null;
        }