protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); // Get our button from the layout resource, // and attach an event to it TextView text = FindViewById <TextView>(Resource.Id.textView1); text.Text = InfoDevice.GetVersionSO(); }
public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. textfield.Text = InfoDevice.GetVersionSO(); }
internal UsbDevice(LibUsbDevice dev) { mDev = dev; mInfoDevice = new InfoDevice(this, mDev); mActiveEndpoints = new UsbEndpointList(this); }