add api culture
This commit is contained in:
10
OwnChar.App.Desktop/Api/IMainWindowApi.cs
Normal file
10
OwnChar.App.Desktop/Api/IMainWindowApi.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace OwnChar.App.Desktop.Api
|
||||
{
|
||||
public interface IMainWindowApi
|
||||
{
|
||||
void OpenTab(Control content);
|
||||
void CloseTab(Control content);
|
||||
}
|
||||
}
|
||||
8
OwnChar.App.Desktop/Api/IMainWindowTab.cs
Normal file
8
OwnChar.App.Desktop/Api/IMainWindowTab.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace OwnChar.App.Desktop.Api
|
||||
{
|
||||
public interface IMainWindowTab
|
||||
{
|
||||
string Name { get; }
|
||||
IMainWindowApi MaindWindow { get; internal set; }
|
||||
}
|
||||
}
|
||||
14
OwnChar.App.Desktop/Api/IOwnCharApi.cs
Normal file
14
OwnChar.App.Desktop/Api/IOwnCharApi.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OwnChar.App.Desktop.Api
|
||||
{
|
||||
public interface IOwnCharApi
|
||||
{
|
||||
public static IOwnCharApi Instance { get; } = new AppApi();
|
||||
public IMainWindowApi? MainWindow { get; internal set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user