예제 #1
0
   public DeviceInformation(CecConfigGUI gui, CecLogicalAddress address, ref LibCecSharp lib,
 bool devicePresent, CecVendorId vendor, bool isActiveSource, ushort physicalAddress,
 CecVersion version, CecPowerStatus power, string osdName, string menuLanguage)
   {
       Gui = gui;
         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);
   }
예제 #2
0
 public DeviceInformation(CecConfigGUI gui, CecLogicalAddress address, ref LibCecSharp lib,
                          bool devicePresent, CecVendorId vendor, bool isActiveSource, ushort physicalAddress,
                          CecVersion version, CecPowerStatus power, string osdName, string menuLanguage)
 {
     Gui     = gui;
     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);
 }
예제 #3
0
 public CecCallbackWrapper(CecConfigGUI gui)
 {
     Gui = gui;
 }