Esempio n. 1
0
   public DeviceInformation(CECController controller, CecLogicalAddress address, ref LibCecSharp lib,
 bool devicePresent, CecVendorId vendor, bool isActiveSource, ushort physicalAddress,
 CecVersion version, CecPowerStatus power, string osdName, string menuLanguage)
   {
       _controller = controller;
         _lib = lib;
         Address = address;
         InitializeComponent();
         lDevice.Text = lib.ToString(address);
         lLogicalAddress.Text = String.Format("{0,1:X}", (int)address);
         Update(devicePresent, vendor, isActiveSource, physicalAddress, version, power, osdName, menuLanguage);
   }
Esempio n. 2
0
 public Actions(CECController controller)
 {
     _controller = controller;
 }
Esempio n. 3
0
 public AsyncDisconnect(CECController controller)
 {
     _controller = controller;
 }
Esempio n. 4
0
 public Actions(CECController controller)
 {
   _controller = controller;
 }
Esempio n. 5
0
 public CECTray()
 {
     Text = Resources.app_name;
       InitializeComponent();
       _controller = new CECController(this);
       VisibleChanged += delegate
                {
                  if (!Visible)
                    OnHide();
                  else
                    OnShow();
                };
 }