📄 iuseraccountmanager.cs
字号:
namespace Imps.Client.Pc
{
using Imps.Client.Core;
using System;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
public interface IUserAccountManager
{
event EventHandler<ImpsCancelEventArgs> BeforeUserLogOut;
event EventHandler<BeforeMainPresenceChangeEventArgs> BeforeUserMainPresenceChange;
void FillUserIdAndPassword(string id, string pass, bool autoLogin);
bool Login();
bool LoginOrLogout();
bool Logout(ref bool cancel);
void LogoutForcibly();
void OnOperationMenuItemsOpening(ToolStripMenuItem operationMenuItem);
void Register();
void Unregister();
User CurrentUser { get; }
Control EntryPointControl { get; }
ToolStripItem[] OperationMenuItems { get; }
ContextMenuStrip TrayIconMenu { get; }
Control UserInfoControl { get; }
ToolStripItem UserMenuItem { get; }
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -