update submodule
This commit is contained in:
2
OwnChar
2
OwnChar
Submodule OwnChar updated: b08041204d...69b3406c4b
@@ -1,6 +1,8 @@
|
|||||||
using OwnChar.App.Desktop.Api;
|
using OwnChar.App.Desktop.Api;
|
||||||
using OwnChar.App.Desktop.Api.Parameters;
|
using OwnChar.App.Desktop.Api.Parameters;
|
||||||
using OwnChar.Data;
|
using OwnChar.Data;
|
||||||
|
using OwnChar.Data.Managers;
|
||||||
|
using OwnChar.Data.Providers.JsonFile;
|
||||||
using OwnChar.Manager;
|
using OwnChar.Manager;
|
||||||
using Pilz.Plugins.Advanced;
|
using Pilz.Plugins.Advanced;
|
||||||
using Pilz.Plugins.Advanced.UI.Telerik;
|
using Pilz.Plugins.Advanced.UI.Telerik;
|
||||||
@@ -13,7 +15,8 @@ namespace OwnChar.App.Desktop.UI.Windows
|
|||||||
{
|
{
|
||||||
public partial class MainWindow : RadTabbedForm
|
public partial class MainWindow : RadTabbedForm
|
||||||
{
|
{
|
||||||
private readonly OwnCharManager? manager = new(new JsonFileDataProvider());
|
private readonly OwnCharManager manager = new();
|
||||||
|
private readonly IDataManager dataManager = new DefaultDataManager(new JsonFileDataProvider("test.json"));
|
||||||
|
|
||||||
public MainWindowApi Api { get; }
|
public MainWindowApi Api { get; }
|
||||||
|
|
||||||
@@ -28,7 +31,7 @@ namespace OwnChar.App.Desktop.UI.Windows
|
|||||||
{
|
{
|
||||||
public MainWindow MainWindow { get; } = mainWindow;
|
public MainWindow MainWindow { get; } = mainWindow;
|
||||||
|
|
||||||
public OwnCharManager? Manager => MainWindow.manager;
|
public OwnCharManager Manager => MainWindow.manager;
|
||||||
|
|
||||||
public void OpenTab(Control content, string title)
|
public void OpenTab(Control content, string title)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user