mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
23 lines
642 B
C#
23 lines
642 B
C#
using Cosmos.System.Graphics;
|
|
|
|
namespace CMLeonOS.Gui.ShellComponents.Dock
|
|
{
|
|
internal class StartMenuDockIcon : BaseDockIcon
|
|
{
|
|
[IL2CPU.API.Attribs.ManifestResourceStream(ResourceName = "CMLeonOS.Gui.Resources.Dock.StartMenu.bmp")]
|
|
private static byte[] _iconBytes_StartMenu;
|
|
internal static Bitmap Icon_StartMenu = new Bitmap(_iconBytes_StartMenu);
|
|
|
|
internal StartMenuDockIcon() : base(
|
|
image: Icon_StartMenu,
|
|
doAnimation: false)
|
|
{
|
|
}
|
|
|
|
internal override void Clicked()
|
|
{
|
|
StartMenu.CurrentStartMenu.ToggleStartMenu();
|
|
}
|
|
}
|
|
}
|