mirror of
https://gitee.com/csharpui/CPF.git
synced 2026-06-26 22:33:09 +08:00
初始化
This commit is contained in:
31
CPF.Android/CpfAndroidApp.cs
Normal file
31
CPF.Android/CpfAndroidApp.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Android.App;
|
||||
using Android.Content;
|
||||
using Android.OS;
|
||||
using Android.Runtime;
|
||||
using Android.Views;
|
||||
using Android.Widget;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace CPF.Android
|
||||
{
|
||||
public class CpfAndroidApp : CPF.Platform.IApp
|
||||
{
|
||||
public bool IsMain { get; set; }
|
||||
|
||||
public event EventHandler Closed;
|
||||
|
||||
public void Close()
|
||||
{
|
||||
Closed(this, EventArgs.Empty);
|
||||
Java.Lang.JavaSystem.Exit(0);
|
||||
}
|
||||
|
||||
public void Show()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user