Удаление тёмного режима (до обновления на 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 = [];
|
||||
|
||||
public DarkModeCS? DarkMode;
|
||||
|
||||
public EntityTreeViewerControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
@@ -22,8 +22,6 @@ public partial class MainViewForm : Form
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
_ = new DarkModeCS(this) { ColorMode = DarkModeCS.DisplayMode.SystemDefault };
|
||||
|
||||
using StreamReader reader = new("Resources/json-viewer.html");
|
||||
JsonViewerHtml = reader.ReadToEnd();
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ namespace Pf2eViewer;
|
||||
|
||||
public partial class TestForm : Form
|
||||
{
|
||||
public DarkModeCS DarkMode;
|
||||
|
||||
public Pf2eDbContext Context = new();
|
||||
|
||||
public int Count = 0;
|
||||
@@ -23,10 +21,6 @@ public partial class TestForm : Form
|
||||
public TestForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
DarkMode = new DarkModeCS(this) { ColorMode = DarkModeCS.DisplayMode.SystemDefault };
|
||||
|
||||
entityTreeViewerControl1.DarkMode = DarkMode;
|
||||
}
|
||||
|
||||
public void RandomEntity()
|
||||
|
||||
Reference in New Issue
Block a user