RefreshDevicesList() public method

public RefreshDevicesList ( ) : void
return void
Exemplo n.º 1
0
        public void NewDeviceConnectedEventHandler(CompatibleDevice connectedDevice)
        {
            DevicesPanel devicesPanel = GetDevicesPanel();

            devicesPanel.RefreshDevicesList();

            trayIcon.ShowBalloonTip(2000, "New device connected", connectedDevice.Name
                                    + " has been connected and is ready to be synchronized.", ToolTipIcon.Info);
        }
Exemplo n.º 2
0
        public void DeviceRemovedEventHandler(CompatibleDevice removedDevice)
        {
            DevicesPanel devicesPanel = GetDevicesPanel();

            devicesPanel.RefreshDevicesList();

            trayIcon.ShowBalloonTip(2000, "Device removed", removedDevice.Name
                                    + " has been removed from the system.", ToolTipIcon.Info);
        }