Удаление тёмного режима (до обновления на C#9)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -47,8 +47,6 @@ public sealed partial class EntityTreeViewerControl : UserControl
|
|||||||
|
|
||||||
private List<EntityTreeViewerRow> ViewerRows = [];
|
private List<EntityTreeViewerRow> ViewerRows = [];
|
||||||
|
|
||||||
public DarkModeCS? DarkMode;
|
|
||||||
|
|
||||||
public EntityTreeViewerControl()
|
public EntityTreeViewerControl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ public partial class MainViewForm : Form
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
_ = new DarkModeCS(this) { ColorMode = DarkModeCS.DisplayMode.SystemDefault };
|
|
||||||
|
|
||||||
using StreamReader reader = new("Resources/json-viewer.html");
|
using StreamReader reader = new("Resources/json-viewer.html");
|
||||||
JsonViewerHtml = reader.ReadToEnd();
|
JsonViewerHtml = reader.ReadToEnd();
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ namespace Pf2eViewer;
|
|||||||
|
|
||||||
public partial class TestForm : Form
|
public partial class TestForm : Form
|
||||||
{
|
{
|
||||||
public DarkModeCS DarkMode;
|
|
||||||
|
|
||||||
public Pf2eDbContext Context = new();
|
public Pf2eDbContext Context = new();
|
||||||
|
|
||||||
public int Count = 0;
|
public int Count = 0;
|
||||||
@@ -23,10 +21,6 @@ public partial class TestForm : Form
|
|||||||
public TestForm()
|
public TestForm()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
DarkMode = new DarkModeCS(this) { ColorMode = DarkModeCS.DisplayMode.SystemDefault };
|
|
||||||
|
|
||||||
entityTreeViewerControl1.DarkMode = DarkMode;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RandomEntity()
|
public void RandomEntity()
|
||||||
|
|||||||
Reference in New Issue
Block a user