-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Improved and cleaned up code - Added Toolbar - Changed UI-layout
- Loading branch information
1 parent
8e97526
commit 0eee345
Showing
24 changed files
with
1,595 additions
and
580 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace Taskbar11.Controllers | ||
{ | ||
/// <summary> | ||
/// Application Constants. | ||
/// </summary> | ||
public class ApplicationSettings | ||
{ | ||
public const int ApplicationWidth = 700; | ||
public const int ApplicationHeight = 500; | ||
public const int ApplicationScrollerWidth = 600; | ||
public const int ToolbarWidth = 75; | ||
} | ||
} |
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,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Diagnostics; | ||
|
||
namespace Taskbar11.Controllers | ||
{ | ||
public static class ApplicationUtilities | ||
{ | ||
private const String ProcessNameExplorer = "explorer"; | ||
|
||
/// <summary> | ||
/// Forces the explorer.exe process to restart by killing it (the UI needs to reload to display the changes). | ||
/// </summary> | ||
public static void RestartExplorer() | ||
{ | ||
Process p = new Process(); | ||
foreach (Process process in Process.GetProcesses()) | ||
if (process.ProcessName == ProcessNameExplorer) | ||
process.Kill(); | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.