Exemple #1
0
        public ConfigRegPanel(NtagI2CDevice device, byte I2CAddress, byte address, byte[] registers, Label loggingLbl)
        {
            InitializeComponent();

            this.myDevice   = device;
            this.I2CAddress = I2CAddress;
            this.address    = address;
            this.registers  = registers;
            this.logging    = loggingLbl;
            myInitializeComponent();
            this.Shown += new EventHandler(this.readConfigRegAndShow);
        }
        public SessionRegPanel_Noplus(NtagI2CDevice device, byte I2CAddress, byte[] registers, Label logging)
        {
            InitializeComponent();

            this.myDevice   = device;
            this.I2CAddress = I2CAddress;
            this.registers  = registers;

            this.FD_OFF_Combo.SelectedIndex = 0;
            this.FD_ON_Combo.SelectedIndex  = 0;

            this.logging = logging;
            this.Shown  += new System.EventHandler(this.readAllRegistersAndShow);
        }
Exemple #3
0
 public WriteNdefForm(NtagI2CDevice device,
                      TagType type,
                      DataGridView mainWindowHexaTable,
                      DataGridView mainWindowAsciiTable,
                      ToolStripStatusLabel mainWindowOperationStatus,
                      ToolStripTextBox mainWindowAddressInput,
                      Label logging)
 {
     InitializeComponent();
     this.myDevice            = device;
     this.hexaTable           = mainWindowHexaTable;
     this.asciiTable          = mainWindowAsciiTable;
     this.operationStatus_Lbl = mainWindowOperationStatus;
     this.addressInput_TxtB   = mainWindowAddressInput;
     this.logging             = logging;
     this.type = type;
     dgvUtils  = new DGVUtils(hexaTable, asciiTable, null);
 }
Exemple #4
0
 public NDEFUtils(NtagI2CDevice device)
 {
     this.myDevice = device;
 }