mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 09:14:25 +08:00
0.2.1
完善了日历组件
This commit is contained in:
@@ -5,4 +5,6 @@ public static class BuiltInComponentIds
|
||||
public const string Clock = "Clock";
|
||||
public const string Blank2x4 = "Blank2x4";
|
||||
public const string Date = "Date";
|
||||
public const string MonthCalendar = "MonthCalendar";
|
||||
public const string LunarCalendar = "LunarCalendar";
|
||||
}
|
||||
|
||||
@@ -26,18 +26,36 @@ public sealed class ComponentRegistry
|
||||
"Clock",
|
||||
"Clock",
|
||||
"Status",
|
||||
MinWidthCells: 1,
|
||||
MinWidthCells: 3,
|
||||
MinHeightCells: 1,
|
||||
AllowStatusBarPlacement: true,
|
||||
AllowDesktopPlacement: false),
|
||||
new DesktopComponentDefinition(
|
||||
BuiltInComponentIds.Date,
|
||||
"Date",
|
||||
"Calendar",
|
||||
"Calendar",
|
||||
"Date",
|
||||
MinWidthCells: 4,
|
||||
MinHeightCells: 2,
|
||||
AllowStatusBarPlacement: false,
|
||||
AllowDesktopPlacement: true),
|
||||
new DesktopComponentDefinition(
|
||||
BuiltInComponentIds.MonthCalendar,
|
||||
"Month Calendar",
|
||||
"CalendarMonth",
|
||||
"Date",
|
||||
MinWidthCells: 2,
|
||||
MinHeightCells: 2,
|
||||
AllowStatusBarPlacement: false,
|
||||
AllowDesktopPlacement: true),
|
||||
new DesktopComponentDefinition(
|
||||
BuiltInComponentIds.LunarCalendar,
|
||||
"Lunar Calendar",
|
||||
"Calendar",
|
||||
"Date",
|
||||
MinWidthCells: 2,
|
||||
MinHeightCells: 2,
|
||||
AllowStatusBarPlacement: false,
|
||||
AllowDesktopPlacement: true)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user