Files
App/OwnChar.App.Desktop/Api/IMainWindowApi.cs

16 lines
355 B
C#

using OwnChar.Manager;
using System.Windows.Forms;
namespace OwnChar.App.Desktop.Api;
public interface IMainWindowApi
{
Form Window { get; }
OwnCharManager? Manager { get; }
void OpenTab(Control content, string title);
void CloseTab(Control content);
bool IsTabOpen(Control content);
bool IsTabOpen<T>();
void Logout();
}