コード例 #1
0
        private void Button_AddDevice(IDeviceBLE pDevice)
        {
            var dev = new MultimeterPage(pDevice);

            AddDevice(dev);
            Children.Add(dev);
            CurrentPage = Children[Children.Count - 1];
        }
コード例 #2
0
 private void AddDevice(MultimeterPage Device)
 {
     MathChart.AddDevice(Device);
     if (MathChart.Devices.Count == 1)
     {
         AddPage("< Maths >", MathChart);
     }
 }