コード例 #1
0
        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();
        }
コード例 #2
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     // Perform any additional setup after loading the view, typically from a nib.
     textfield.Text = InfoDevice.GetVersionSO();
 }
コード例 #3
0
ファイル: UsbDevice.cs プロジェクト: zoobab/CH554
 internal UsbDevice(LibUsbDevice dev)
 {
     mDev             = dev;
     mInfoDevice      = new InfoDevice(this, mDev);
     mActiveEndpoints = new UsbEndpointList(this);
 }