code cleanup

This commit is contained in:
2024-06-11 06:59:17 +02:00
parent 07cacbfbda
commit ac3cfc270c
21 changed files with 317 additions and 414 deletions

View File

@@ -1,15 +1,14 @@
using OwnChar.Manager;
using System.Windows.Forms;
namespace OwnChar.App.Desktop.Api
namespace OwnChar.App.Desktop.Api;
public interface IMainWindowApi
{
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>();
}
Form Window { get; }
OwnCharManager? Manager { get; }
void OpenTab(Control content, string title);
void CloseTab(Control content);
bool IsTabOpen(Control content);
bool IsTabOpen<T>();
}