This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,211 additions
and
766 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System; | ||
using System.Windows.Forms; | ||
using static Nerator.CS.Window; | ||
using static Nerator.CS.Setting; | ||
|
||
namespace Nerator.UC.THEME | ||
{ | ||
public partial class DK : UserControl | ||
{ | ||
public DK() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void DKPL_MouseEnter(object sender, EventArgs e) | ||
{ | ||
DKPL.EdgeColor = System.Drawing.Color.DodgerBlue; | ||
} | ||
|
||
private void DKPL_MouseLeave(object sender, EventArgs e) | ||
{ | ||
DKPL.EdgeColor = System.Drawing.SystemColors.Control; | ||
} | ||
|
||
private void DKPL_Click(object sender, EventArgs e) | ||
{ | ||
if (WindowMode == WindowType.LIGHT) | ||
{ | ||
WindowMode = WindowType.DARK; | ||
Application.Restart(); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.