btn_bd = FindViewById<Button>(Resource.Id.btn_bd);
btn_bd.Click += (object sender, EventArgs e) =>
{ //弹出窗口
Intent i = new Intent(this, typeof(MainActivity));
this.StartActivity(i);
};
Xamarin实现窗口跳转
最新推荐文章于 2024-01-14 13:18:15 发布
btn_bd = FindViewById<Button>(Resource.Id.btn_bd);
btn_bd.Click += (object sender, EventArgs e) =>
{ //弹出窗口
Intent i = new Intent(this, typeof(MainActivity));
this.StartActivity(i);
};