// This file has been autogenerated from a class added in the UI designer.
|
|
using System;
|
|
using Foundation;
|
using UIKit;
|
|
namespace ezxamairn.iOS.ViewControllers
|
{
|
public partial class EZViewController : UIViewController
|
{
|
public EZViewController(IntPtr handle) : base(handle)
|
{
|
}
|
|
public override void ViewDidLoad()
|
{
|
base.ViewDidLoad();
|
|
|
|
//UIButton
|
UIButton button = new UIButton();
|
button.Frame = new CoreGraphics.CGRect((View.Frame.Width - 100) / 2, 100, 200, 40);
|
button.BackgroundColor = UIColor.LightGray;
|
button.SetTitle("打开设备列表",UIControlState.Normal);
|
View.AddSubview(button);
|
|
button.TouchUpInside += (sender, e) =>
|
{
|
EZSDK.IOS.EZSDK.Go2EZvizMonitor();
|
};
|
|
|
}
|
}
|
}
|