You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using static POSV.Proxy.Common.CefOperationDelegation;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Proxy.Base
|
|
|
|
|
{
|
|
|
|
|
public class FromBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 跳转
|
|
|
|
|
/// </summary>
|
|
|
|
|
public LoadEvent m_LoadPageEvent = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 返回|后退
|
|
|
|
|
/// </summary>
|
|
|
|
|
public BackFormEvent m_BackFormEvent = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关闭WinFrom窗口
|
|
|
|
|
/// </summary>
|
|
|
|
|
public CloseFormEvent m_CloseFormEvent = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 刷新
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ReloadFormEvent m_ReloadFormEvent = null;
|
|
|
|
|
|
|
|
|
|
public void BackForm()
|
|
|
|
|
{
|
|
|
|
|
if (this.m_BackFormEvent != null)
|
|
|
|
|
{
|
|
|
|
|
this.m_BackFormEvent();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void CloseForm()
|
|
|
|
|
{
|
|
|
|
|
if (this.m_CloseFormEvent != null)
|
|
|
|
|
{
|
|
|
|
|
this.m_CloseFormEvent();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Reload()
|
|
|
|
|
{
|
|
|
|
|
if (this.m_ReloadFormEvent != null)
|
|
|
|
|
{
|
|
|
|
|
this.m_ReloadFormEvent();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|