diff --git a/AntdUI.sln b/AntdUI.sln index 87d48ace..df444e7d 100644 --- a/AntdUI.sln +++ b/AntdUI.sln @@ -11,8 +11,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AntdUI", "src\AntdUI\AntdUI EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Demo", "example\Demo\Demo.csproj", "{24C89E6C-0F23-4AFB-9D7F-6419239EE322}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Overview", "example\Overview\Overview.csproj", "{2EFC67E4-34D0-4CE3-961C-7FB64AF965D8}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SVGView", "example\SVGView\SVGView.csproj", "{48484E20-7B05-41D3-9E76-D59A95A70A80}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChatUI", "example\ChatUI\ChatUI.csproj", "{796C3020-70CB-464D-A67A-66BCC566C6D8}" @@ -33,10 +31,6 @@ Global {24C89E6C-0F23-4AFB-9D7F-6419239EE322}.Debug|Any CPU.Build.0 = Debug|Any CPU {24C89E6C-0F23-4AFB-9D7F-6419239EE322}.Release|Any CPU.ActiveCfg = Release|Any CPU {24C89E6C-0F23-4AFB-9D7F-6419239EE322}.Release|Any CPU.Build.0 = Release|Any CPU - {2EFC67E4-34D0-4CE3-961C-7FB64AF965D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2EFC67E4-34D0-4CE3-961C-7FB64AF965D8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2EFC67E4-34D0-4CE3-961C-7FB64AF965D8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2EFC67E4-34D0-4CE3-961C-7FB64AF965D8}.Release|Any CPU.Build.0 = Release|Any CPU {48484E20-7B05-41D3-9E76-D59A95A70A80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {48484E20-7B05-41D3-9E76-D59A95A70A80}.Debug|Any CPU.Build.0 = Debug|Any CPU {48484E20-7B05-41D3-9E76-D59A95A70A80}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -56,7 +50,6 @@ Global GlobalSection(NestedProjects) = preSolution {5C5FF08C-6B84-412E-8F92-74E152B677E5} = {5243A57B-3E12-49E1-BA51-CBB5D786193F} {24C89E6C-0F23-4AFB-9D7F-6419239EE322} = {B9AB491E-DDF2-4E3D-97FA-622E36504B91} - {2EFC67E4-34D0-4CE3-961C-7FB64AF965D8} = {B9AB491E-DDF2-4E3D-97FA-622E36504B91} {48484E20-7B05-41D3-9E76-D59A95A70A80} = {B9AB491E-DDF2-4E3D-97FA-622E36504B91} {796C3020-70CB-464D-A67A-66BCC566C6D8} = {B9AB491E-DDF2-4E3D-97FA-622E36504B91} {94493153-4FF8-4F33-8589-D72A8563AF52} = {B9AB491E-DDF2-4E3D-97FA-622E36504B91} diff --git a/example/Overview/Colors.Designer.cs b/example/Demo/Colors.Designer.cs similarity index 99% rename from example/Overview/Colors.Designer.cs rename to example/Demo/Colors.Designer.cs index 87d6e5e1..661979d6 100644 --- a/example/Overview/Colors.Designer.cs +++ b/example/Demo/Colors.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview +namespace Demo { partial class Colors { diff --git a/example/Overview/Colors.cs b/example/Demo/Colors.cs similarity index 99% rename from example/Overview/Colors.cs rename to example/Demo/Colors.cs index 6a565bbe..f6e387c3 100644 --- a/example/Overview/Colors.cs +++ b/example/Demo/Colors.cs @@ -21,7 +21,7 @@ using System; using System.Drawing; using System.Windows.Forms; -namespace Overview +namespace Demo { public partial class Colors : AntdUI.BaseForm { diff --git a/example/Overview/Colors.resx b/example/Demo/Colors.resx similarity index 100% rename from example/Overview/Colors.resx rename to example/Demo/Colors.resx diff --git a/example/Overview/Controls/Alert.Designer.cs b/example/Demo/Controls/Alert.Designer.cs similarity index 99% rename from example/Overview/Controls/Alert.Designer.cs rename to example/Demo/Controls/Alert.Designer.cs index 7c6c050a..87111bba 100644 --- a/example/Overview/Controls/Alert.Designer.cs +++ b/example/Demo/Controls/Alert.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Alert { diff --git a/example/Overview/Controls/Alert.cs b/example/Demo/Controls/Alert.cs similarity index 97% rename from example/Overview/Controls/Alert.cs rename to example/Demo/Controls/Alert.cs index bef02563..81f85161 100644 --- a/example/Overview/Controls/Alert.cs +++ b/example/Demo/Controls/Alert.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Alert : UserControl { diff --git a/example/Overview/Controls/Alert.resx b/example/Demo/Controls/Alert.resx similarity index 100% rename from example/Overview/Controls/Alert.resx rename to example/Demo/Controls/Alert.resx diff --git a/example/Overview/Controls/Avatar.Designer.cs b/example/Demo/Controls/Avatar.Designer.cs similarity index 99% rename from example/Overview/Controls/Avatar.Designer.cs rename to example/Demo/Controls/Avatar.Designer.cs index 7d7e74a0..6a0d099e 100644 --- a/example/Overview/Controls/Avatar.Designer.cs +++ b/example/Demo/Controls/Avatar.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Avatar { diff --git a/example/Overview/Controls/Avatar.cs b/example/Demo/Controls/Avatar.cs similarity index 97% rename from example/Overview/Controls/Avatar.cs rename to example/Demo/Controls/Avatar.cs index 6a17efab..22e35f76 100644 --- a/example/Overview/Controls/Avatar.cs +++ b/example/Demo/Controls/Avatar.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Avatar : UserControl { diff --git a/example/Overview/Controls/Avatar.resx b/example/Demo/Controls/Avatar.resx similarity index 100% rename from example/Overview/Controls/Avatar.resx rename to example/Demo/Controls/Avatar.resx diff --git a/example/Overview/Controls/Badge.Designer.cs b/example/Demo/Controls/Badge.Designer.cs similarity index 99% rename from example/Overview/Controls/Badge.Designer.cs rename to example/Demo/Controls/Badge.Designer.cs index 4f3a10ba..df256c73 100644 --- a/example/Overview/Controls/Badge.Designer.cs +++ b/example/Demo/Controls/Badge.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Badge { diff --git a/example/Overview/Controls/Badge.cs b/example/Demo/Controls/Badge.cs similarity index 97% rename from example/Overview/Controls/Badge.cs rename to example/Demo/Controls/Badge.cs index 7c03b5af..c538338b 100644 --- a/example/Overview/Controls/Badge.cs +++ b/example/Demo/Controls/Badge.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Badge : UserControl { diff --git a/example/Overview/Controls/Badge.resx b/example/Demo/Controls/Badge.resx similarity index 100% rename from example/Overview/Controls/Badge.resx rename to example/Demo/Controls/Badge.resx diff --git a/example/Overview/Controls/Base/ColorPanel.cs b/example/Demo/Controls/Base/ColorPanel.cs similarity index 100% rename from example/Overview/Controls/Base/ColorPanel.cs rename to example/Demo/Controls/Base/ColorPanel.cs diff --git a/example/Overview/Controls/Base/ColorPanelLeft.cs b/example/Demo/Controls/Base/ColorPanelLeft.cs similarity index 100% rename from example/Overview/Controls/Base/ColorPanelLeft.cs rename to example/Demo/Controls/Base/ColorPanelLeft.cs diff --git a/example/Overview/Controls/Breadcrumb.Designer.cs b/example/Demo/Controls/Breadcrumb.Designer.cs similarity index 99% rename from example/Overview/Controls/Breadcrumb.Designer.cs rename to example/Demo/Controls/Breadcrumb.Designer.cs index 1d8be0be..1f3d5fd9 100644 --- a/example/Overview/Controls/Breadcrumb.Designer.cs +++ b/example/Demo/Controls/Breadcrumb.Designer.cs @@ -20,7 +20,7 @@ using AntdUI; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Breadcrumb { diff --git a/example/Overview/Controls/Breadcrumb.cs b/example/Demo/Controls/Breadcrumb.cs similarity index 97% rename from example/Overview/Controls/Breadcrumb.cs rename to example/Demo/Controls/Breadcrumb.cs index 78e52e48..40e558b6 100644 --- a/example/Overview/Controls/Breadcrumb.cs +++ b/example/Demo/Controls/Breadcrumb.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Breadcrumb : UserControl { diff --git a/example/Overview/Controls/Breadcrumb.resx b/example/Demo/Controls/Breadcrumb.resx similarity index 100% rename from example/Overview/Controls/Breadcrumb.resx rename to example/Demo/Controls/Breadcrumb.resx diff --git a/example/Overview/Controls/Button.Designer.cs b/example/Demo/Controls/Button.Designer.cs similarity index 99% rename from example/Overview/Controls/Button.Designer.cs rename to example/Demo/Controls/Button.Designer.cs index cb4ec5d3..37d1c866 100644 --- a/example/Overview/Controls/Button.Designer.cs +++ b/example/Demo/Controls/Button.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Button { diff --git a/example/Overview/Controls/Button.cs b/example/Demo/Controls/Button.cs similarity index 99% rename from example/Overview/Controls/Button.cs rename to example/Demo/Controls/Button.cs index deadaab5..067267e3 100644 --- a/example/Overview/Controls/Button.cs +++ b/example/Demo/Controls/Button.cs @@ -20,7 +20,7 @@ using System; using System.Threading; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Button : UserControl { diff --git a/example/Overview/Controls/Button.resx b/example/Demo/Controls/Button.resx similarity index 100% rename from example/Overview/Controls/Button.resx rename to example/Demo/Controls/Button.resx diff --git a/example/Overview/Controls/Carousel.Designer.cs b/example/Demo/Controls/Carousel.Designer.cs similarity index 99% rename from example/Overview/Controls/Carousel.Designer.cs rename to example/Demo/Controls/Carousel.Designer.cs index e84cc595..acc7310f 100644 --- a/example/Overview/Controls/Carousel.Designer.cs +++ b/example/Demo/Controls/Carousel.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Carousel { diff --git a/example/Overview/Controls/Carousel.cs b/example/Demo/Controls/Carousel.cs similarity index 99% rename from example/Overview/Controls/Carousel.cs rename to example/Demo/Controls/Carousel.cs index 8df11eb2..1524c19b 100644 --- a/example/Overview/Controls/Carousel.cs +++ b/example/Demo/Controls/Carousel.cs @@ -19,7 +19,7 @@ using System; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Carousel : UserControl { diff --git a/example/Overview/Controls/Carousel.resx b/example/Demo/Controls/Carousel.resx similarity index 100% rename from example/Overview/Controls/Carousel.resx rename to example/Demo/Controls/Carousel.resx diff --git a/example/Overview/Controls/Checkbox.Designer.cs b/example/Demo/Controls/Checkbox.Designer.cs similarity index 99% rename from example/Overview/Controls/Checkbox.Designer.cs rename to example/Demo/Controls/Checkbox.Designer.cs index 4cc34b3a..60bf4081 100644 --- a/example/Overview/Controls/Checkbox.Designer.cs +++ b/example/Demo/Controls/Checkbox.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Checkbox { diff --git a/example/Overview/Controls/Checkbox.cs b/example/Demo/Controls/Checkbox.cs similarity index 97% rename from example/Overview/Controls/Checkbox.cs rename to example/Demo/Controls/Checkbox.cs index 017023a8..0adbcb3a 100644 --- a/example/Overview/Controls/Checkbox.cs +++ b/example/Demo/Controls/Checkbox.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Checkbox : UserControl { diff --git a/example/Overview/Controls/Checkbox.resx b/example/Demo/Controls/Checkbox.resx similarity index 100% rename from example/Overview/Controls/Checkbox.resx rename to example/Demo/Controls/Checkbox.resx diff --git a/example/Overview/Controls/Collapse.Designer.cs b/example/Demo/Controls/Collapse.Designer.cs similarity index 99% rename from example/Overview/Controls/Collapse.Designer.cs rename to example/Demo/Controls/Collapse.Designer.cs index c60489c9..8112e78c 100644 --- a/example/Overview/Controls/Collapse.Designer.cs +++ b/example/Demo/Controls/Collapse.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Collapse { diff --git a/example/Overview/Controls/Collapse.cs b/example/Demo/Controls/Collapse.cs similarity index 97% rename from example/Overview/Controls/Collapse.cs rename to example/Demo/Controls/Collapse.cs index b9f020b2..2cc6db58 100644 --- a/example/Overview/Controls/Collapse.cs +++ b/example/Demo/Controls/Collapse.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Collapse : UserControl { diff --git a/example/Overview/Controls/Collapse.resx b/example/Demo/Controls/Collapse.resx similarity index 100% rename from example/Overview/Controls/Collapse.resx rename to example/Demo/Controls/Collapse.resx diff --git a/example/Overview/Controls/ColorPicker.Designer.cs b/example/Demo/Controls/ColorPicker.Designer.cs similarity index 99% rename from example/Overview/Controls/ColorPicker.Designer.cs rename to example/Demo/Controls/ColorPicker.Designer.cs index 56763ec3..3eae05b5 100644 --- a/example/Overview/Controls/ColorPicker.Designer.cs +++ b/example/Demo/Controls/ColorPicker.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class ColorPicker { diff --git a/example/Overview/Controls/ColorPicker.cs b/example/Demo/Controls/ColorPicker.cs similarity index 97% rename from example/Overview/Controls/ColorPicker.cs rename to example/Demo/Controls/ColorPicker.cs index 0361920b..0606b882 100644 --- a/example/Overview/Controls/ColorPicker.cs +++ b/example/Demo/Controls/ColorPicker.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class ColorPicker : UserControl { diff --git a/example/Overview/Controls/ColorPicker.resx b/example/Demo/Controls/ColorPicker.resx similarity index 100% rename from example/Overview/Controls/ColorPicker.resx rename to example/Demo/Controls/ColorPicker.resx diff --git a/example/Overview/Controls/DatePicker.Designer.cs b/example/Demo/Controls/DatePicker.Designer.cs similarity index 99% rename from example/Overview/Controls/DatePicker.Designer.cs rename to example/Demo/Controls/DatePicker.Designer.cs index 5119b442..4a218ec1 100644 --- a/example/Overview/Controls/DatePicker.Designer.cs +++ b/example/Demo/Controls/DatePicker.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class DatePicker { diff --git a/example/Overview/Controls/DatePicker.cs b/example/Demo/Controls/DatePicker.cs similarity index 98% rename from example/Overview/Controls/DatePicker.cs rename to example/Demo/Controls/DatePicker.cs index 5e861304..6d9b0d6b 100644 --- a/example/Overview/Controls/DatePicker.cs +++ b/example/Demo/Controls/DatePicker.cs @@ -21,7 +21,7 @@ using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class DatePicker : UserControl { diff --git a/example/Overview/Controls/DatePicker.resx b/example/Demo/Controls/DatePicker.resx similarity index 100% rename from example/Overview/Controls/DatePicker.resx rename to example/Demo/Controls/DatePicker.resx diff --git a/example/Overview/Controls/Divider.Designer.cs b/example/Demo/Controls/Divider.Designer.cs similarity index 99% rename from example/Overview/Controls/Divider.Designer.cs rename to example/Demo/Controls/Divider.Designer.cs index e82844a1..10e2e790 100644 --- a/example/Overview/Controls/Divider.Designer.cs +++ b/example/Demo/Controls/Divider.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Divider { diff --git a/example/Overview/Controls/Divider.cs b/example/Demo/Controls/Divider.cs similarity index 97% rename from example/Overview/Controls/Divider.cs rename to example/Demo/Controls/Divider.cs index fa00f4fc..7734205d 100644 --- a/example/Overview/Controls/Divider.cs +++ b/example/Demo/Controls/Divider.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Divider : UserControl { diff --git a/example/Overview/Controls/Divider.resx b/example/Demo/Controls/Divider.resx similarity index 100% rename from example/Overview/Controls/Divider.resx rename to example/Demo/Controls/Divider.resx diff --git a/example/Overview/Controls/Drawer.Designer.cs b/example/Demo/Controls/Drawer.Designer.cs similarity index 99% rename from example/Overview/Controls/Drawer.Designer.cs rename to example/Demo/Controls/Drawer.Designer.cs index 99a52873..313dd567 100644 --- a/example/Overview/Controls/Drawer.Designer.cs +++ b/example/Demo/Controls/Drawer.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Drawer { diff --git a/example/Overview/Controls/Drawer.cs b/example/Demo/Controls/Drawer.cs similarity index 98% rename from example/Overview/Controls/Drawer.cs rename to example/Demo/Controls/Drawer.cs index e855dbfc..01a7c5dc 100644 --- a/example/Overview/Controls/Drawer.cs +++ b/example/Demo/Controls/Drawer.cs @@ -20,7 +20,7 @@ using System; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Drawer : UserControl { diff --git a/example/Overview/Controls/Drawer.resx b/example/Demo/Controls/Drawer.resx similarity index 100% rename from example/Overview/Controls/Drawer.resx rename to example/Demo/Controls/Drawer.resx diff --git a/example/Overview/Controls/Dropdown.Designer.cs b/example/Demo/Controls/Dropdown.Designer.cs similarity index 99% rename from example/Overview/Controls/Dropdown.Designer.cs rename to example/Demo/Controls/Dropdown.Designer.cs index 71321c40..b4b5070f 100644 --- a/example/Overview/Controls/Dropdown.Designer.cs +++ b/example/Demo/Controls/Dropdown.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Dropdown { diff --git a/example/Overview/Controls/Dropdown.cs b/example/Demo/Controls/Dropdown.cs similarity index 99% rename from example/Overview/Controls/Dropdown.cs rename to example/Demo/Controls/Dropdown.cs index 8e4c2475..ef5facca 100644 --- a/example/Overview/Controls/Dropdown.cs +++ b/example/Demo/Controls/Dropdown.cs @@ -19,7 +19,7 @@ using System.Collections.Generic; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Dropdown : UserControl { diff --git a/example/Overview/Controls/Dropdown.resx b/example/Demo/Controls/Dropdown.resx similarity index 100% rename from example/Overview/Controls/Dropdown.resx rename to example/Demo/Controls/Dropdown.resx diff --git a/example/Overview/Controls/Icon.Designer.cs b/example/Demo/Controls/Icon.Designer.cs similarity index 99% rename from example/Overview/Controls/Icon.Designer.cs rename to example/Demo/Controls/Icon.Designer.cs index e9b33b50..2608a169 100644 --- a/example/Overview/Controls/Icon.Designer.cs +++ b/example/Demo/Controls/Icon.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Icon { diff --git a/example/Overview/Controls/Icon.cs b/example/Demo/Controls/Icon.cs similarity index 99% rename from example/Overview/Controls/Icon.cs rename to example/Demo/Controls/Icon.cs index f13bbcf3..949a7fc4 100644 --- a/example/Overview/Controls/Icon.cs +++ b/example/Demo/Controls/Icon.cs @@ -21,7 +21,7 @@ using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Icon : UserControl { diff --git a/example/Overview/Controls/Icon.resx b/example/Demo/Controls/Icon.resx similarity index 100% rename from example/Overview/Controls/Icon.resx rename to example/Demo/Controls/Icon.resx diff --git a/example/Overview/Controls/Input.Designer.cs b/example/Demo/Controls/Input.Designer.cs similarity index 99% rename from example/Overview/Controls/Input.Designer.cs rename to example/Demo/Controls/Input.Designer.cs index d4c461d5..b13bf7b8 100644 --- a/example/Overview/Controls/Input.Designer.cs +++ b/example/Demo/Controls/Input.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Input { diff --git a/example/Overview/Controls/Input.cs b/example/Demo/Controls/Input.cs similarity index 98% rename from example/Overview/Controls/Input.cs rename to example/Demo/Controls/Input.cs index 299e1777..2dfab8dd 100644 --- a/example/Overview/Controls/Input.cs +++ b/example/Demo/Controls/Input.cs @@ -19,7 +19,7 @@ using System; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Input : UserControl { diff --git a/example/Overview/Controls/Input.resx b/example/Demo/Controls/Input.resx similarity index 100% rename from example/Overview/Controls/Input.resx rename to example/Demo/Controls/Input.resx diff --git a/example/Overview/Controls/InputNumber.Designer.cs b/example/Demo/Controls/InputNumber.Designer.cs similarity index 99% rename from example/Overview/Controls/InputNumber.Designer.cs rename to example/Demo/Controls/InputNumber.Designer.cs index 390586d1..71a0c2d4 100644 --- a/example/Overview/Controls/InputNumber.Designer.cs +++ b/example/Demo/Controls/InputNumber.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class InputNumber { diff --git a/example/Overview/Controls/InputNumber.cs b/example/Demo/Controls/InputNumber.cs similarity index 97% rename from example/Overview/Controls/InputNumber.cs rename to example/Demo/Controls/InputNumber.cs index caa106c5..abff3014 100644 --- a/example/Overview/Controls/InputNumber.cs +++ b/example/Demo/Controls/InputNumber.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class InputNumber : UserControl { diff --git a/example/Overview/Controls/InputNumber.resx b/example/Demo/Controls/InputNumber.resx similarity index 100% rename from example/Overview/Controls/InputNumber.resx rename to example/Demo/Controls/InputNumber.resx diff --git a/example/Overview/Controls/Menu.Designer.cs b/example/Demo/Controls/Menu.Designer.cs similarity index 99% rename from example/Overview/Controls/Menu.Designer.cs rename to example/Demo/Controls/Menu.Designer.cs index 3ec82bdb..7b197405 100644 --- a/example/Overview/Controls/Menu.Designer.cs +++ b/example/Demo/Controls/Menu.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Menu { diff --git a/example/Overview/Controls/Menu.cs b/example/Demo/Controls/Menu.cs similarity index 98% rename from example/Overview/Controls/Menu.cs rename to example/Demo/Controls/Menu.cs index 2b163d30..b0716b7c 100644 --- a/example/Overview/Controls/Menu.cs +++ b/example/Demo/Controls/Menu.cs @@ -19,7 +19,7 @@ using System; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Menu : UserControl { diff --git a/example/Overview/Controls/Menu.resx b/example/Demo/Controls/Menu.resx similarity index 100% rename from example/Overview/Controls/Menu.resx rename to example/Demo/Controls/Menu.resx diff --git a/example/Overview/Controls/Message.Designer.cs b/example/Demo/Controls/Message.Designer.cs similarity index 99% rename from example/Overview/Controls/Message.Designer.cs rename to example/Demo/Controls/Message.Designer.cs index 46cda3e7..cdf3e7b4 100644 --- a/example/Overview/Controls/Message.Designer.cs +++ b/example/Demo/Controls/Message.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Message { diff --git a/example/Overview/Controls/Message.cs b/example/Demo/Controls/Message.cs similarity index 99% rename from example/Overview/Controls/Message.cs rename to example/Demo/Controls/Message.cs index b3e1548f..74aa6597 100644 --- a/example/Overview/Controls/Message.cs +++ b/example/Demo/Controls/Message.cs @@ -20,7 +20,7 @@ using System; using System.Threading; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Message : UserControl { diff --git a/example/Overview/Controls/Message.resx b/example/Demo/Controls/Message.resx similarity index 100% rename from example/Overview/Controls/Message.resx rename to example/Demo/Controls/Message.resx diff --git a/example/Overview/Controls/Modal.Designer.cs b/example/Demo/Controls/Modal.Designer.cs similarity index 99% rename from example/Overview/Controls/Modal.Designer.cs rename to example/Demo/Controls/Modal.Designer.cs index 84442c53..7920a176 100644 --- a/example/Overview/Controls/Modal.Designer.cs +++ b/example/Demo/Controls/Modal.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Modal { diff --git a/example/Overview/Controls/Modal.cs b/example/Demo/Controls/Modal.cs similarity index 99% rename from example/Overview/Controls/Modal.cs rename to example/Demo/Controls/Modal.cs index ff69f019..ebbd264d 100644 --- a/example/Overview/Controls/Modal.cs +++ b/example/Demo/Controls/Modal.cs @@ -19,7 +19,7 @@ using System; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Modal : UserControl { diff --git a/example/Overview/Controls/Modal.resx b/example/Demo/Controls/Modal.resx similarity index 100% rename from example/Overview/Controls/Modal.resx rename to example/Demo/Controls/Modal.resx diff --git a/example/Overview/Controls/Notification.Designer.cs b/example/Demo/Controls/Notification.Designer.cs similarity index 99% rename from example/Overview/Controls/Notification.Designer.cs rename to example/Demo/Controls/Notification.Designer.cs index debe41e9..96bc3ccf 100644 --- a/example/Overview/Controls/Notification.Designer.cs +++ b/example/Demo/Controls/Notification.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Notification { diff --git a/example/Overview/Controls/Notification.cs b/example/Demo/Controls/Notification.cs similarity index 99% rename from example/Overview/Controls/Notification.cs rename to example/Demo/Controls/Notification.cs index 73a9b1eb..3c70c1d7 100644 --- a/example/Overview/Controls/Notification.cs +++ b/example/Demo/Controls/Notification.cs @@ -20,7 +20,7 @@ using System; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Notification : UserControl { diff --git a/example/Overview/Controls/Notification.resx b/example/Demo/Controls/Notification.resx similarity index 100% rename from example/Overview/Controls/Notification.resx rename to example/Demo/Controls/Notification.resx diff --git a/example/Overview/Controls/PageHeader.Designer.cs b/example/Demo/Controls/PageHeader.Designer.cs similarity index 99% rename from example/Overview/Controls/PageHeader.Designer.cs rename to example/Demo/Controls/PageHeader.Designer.cs index aaff20ce..efbf6c97 100644 --- a/example/Overview/Controls/PageHeader.Designer.cs +++ b/example/Demo/Controls/PageHeader.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class PageHeader { diff --git a/example/Overview/Controls/PageHeader.cs b/example/Demo/Controls/PageHeader.cs similarity index 97% rename from example/Overview/Controls/PageHeader.cs rename to example/Demo/Controls/PageHeader.cs index aa2b6726..b19abfd3 100644 --- a/example/Overview/Controls/PageHeader.cs +++ b/example/Demo/Controls/PageHeader.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class PageHeader : UserControl { diff --git a/example/Overview/Controls/PageHeader.resx b/example/Demo/Controls/PageHeader.resx similarity index 100% rename from example/Overview/Controls/PageHeader.resx rename to example/Demo/Controls/PageHeader.resx diff --git a/example/Overview/Controls/Pagination.Designer.cs b/example/Demo/Controls/Pagination.Designer.cs similarity index 99% rename from example/Overview/Controls/Pagination.Designer.cs rename to example/Demo/Controls/Pagination.Designer.cs index c56c96b9..a9af8ea3 100644 --- a/example/Overview/Controls/Pagination.Designer.cs +++ b/example/Demo/Controls/Pagination.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Pagination { diff --git a/example/Overview/Controls/Pagination.cs b/example/Demo/Controls/Pagination.cs similarity index 97% rename from example/Overview/Controls/Pagination.cs rename to example/Demo/Controls/Pagination.cs index 271166df..541c3cef 100644 --- a/example/Overview/Controls/Pagination.cs +++ b/example/Demo/Controls/Pagination.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Pagination : UserControl { diff --git a/example/Overview/Controls/Pagination.resx b/example/Demo/Controls/Pagination.resx similarity index 100% rename from example/Overview/Controls/Pagination.resx rename to example/Demo/Controls/Pagination.resx diff --git a/example/Overview/Controls/Panel.Designer.cs b/example/Demo/Controls/Panel.Designer.cs similarity index 99% rename from example/Overview/Controls/Panel.Designer.cs rename to example/Demo/Controls/Panel.Designer.cs index e9785791..84199b8b 100644 --- a/example/Overview/Controls/Panel.Designer.cs +++ b/example/Demo/Controls/Panel.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Panel { diff --git a/example/Overview/Controls/Panel.cs b/example/Demo/Controls/Panel.cs similarity index 93% rename from example/Overview/Controls/Panel.cs rename to example/Demo/Controls/Panel.cs index 3b85451d..68a5bb19 100644 --- a/example/Overview/Controls/Panel.cs +++ b/example/Demo/Controls/Panel.cs @@ -18,12 +18,12 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Panel : UserControl { - Main form; - public Panel(Main _form) + Overview form; + public Panel(Overview _form) { form = _form; InitializeComponent(); diff --git a/example/Overview/Controls/Panel.resx b/example/Demo/Controls/Panel.resx similarity index 100% rename from example/Overview/Controls/Panel.resx rename to example/Demo/Controls/Panel.resx diff --git a/example/Overview/Controls/Popover.Designer.cs b/example/Demo/Controls/Popover.Designer.cs similarity index 99% rename from example/Overview/Controls/Popover.Designer.cs rename to example/Demo/Controls/Popover.Designer.cs index d19bf214..47096386 100644 --- a/example/Overview/Controls/Popover.Designer.cs +++ b/example/Demo/Controls/Popover.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Popover { diff --git a/example/Overview/Controls/Popover.cs b/example/Demo/Controls/Popover.cs similarity index 99% rename from example/Overview/Controls/Popover.cs rename to example/Demo/Controls/Popover.cs index 9648667f..5f371568 100644 --- a/example/Overview/Controls/Popover.cs +++ b/example/Demo/Controls/Popover.cs @@ -20,7 +20,7 @@ using System; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Popover : UserControl { diff --git a/example/Overview/Controls/Popover.resx b/example/Demo/Controls/Popover.resx similarity index 100% rename from example/Overview/Controls/Popover.resx rename to example/Demo/Controls/Popover.resx diff --git a/example/Overview/Controls/Preview.Designer.cs b/example/Demo/Controls/Preview.Designer.cs similarity index 99% rename from example/Overview/Controls/Preview.Designer.cs rename to example/Demo/Controls/Preview.Designer.cs index 3c54d334..52d5fe17 100644 --- a/example/Overview/Controls/Preview.Designer.cs +++ b/example/Demo/Controls/Preview.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Preview { diff --git a/example/Overview/Controls/Preview.cs b/example/Demo/Controls/Preview.cs similarity index 98% rename from example/Overview/Controls/Preview.cs rename to example/Demo/Controls/Preview.cs index 9b2ea420..b20d5ca6 100644 --- a/example/Overview/Controls/Preview.cs +++ b/example/Demo/Controls/Preview.cs @@ -20,7 +20,7 @@ using System; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Preview : UserControl { diff --git a/example/Overview/Controls/Preview.resx b/example/Demo/Controls/Preview.resx similarity index 100% rename from example/Overview/Controls/Preview.resx rename to example/Demo/Controls/Preview.resx diff --git a/example/Overview/Controls/Progress.Designer.cs b/example/Demo/Controls/Progress.Designer.cs similarity index 99% rename from example/Overview/Controls/Progress.Designer.cs rename to example/Demo/Controls/Progress.Designer.cs index 86f02cfa..ffec5690 100644 --- a/example/Overview/Controls/Progress.Designer.cs +++ b/example/Demo/Controls/Progress.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Progress { diff --git a/example/Overview/Controls/Progress.cs b/example/Demo/Controls/Progress.cs similarity index 99% rename from example/Overview/Controls/Progress.cs rename to example/Demo/Controls/Progress.cs index ae66de50..9200937b 100644 --- a/example/Overview/Controls/Progress.cs +++ b/example/Demo/Controls/Progress.cs @@ -20,7 +20,7 @@ using System; using System.Threading; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Progress : UserControl { diff --git a/example/Overview/Controls/Progress.resx b/example/Demo/Controls/Progress.resx similarity index 100% rename from example/Overview/Controls/Progress.resx rename to example/Demo/Controls/Progress.resx diff --git a/example/Overview/Controls/Radio.Designer.cs b/example/Demo/Controls/Radio.Designer.cs similarity index 99% rename from example/Overview/Controls/Radio.Designer.cs rename to example/Demo/Controls/Radio.Designer.cs index 0f0bbd25..9790aaf1 100644 --- a/example/Overview/Controls/Radio.Designer.cs +++ b/example/Demo/Controls/Radio.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Radio { diff --git a/example/Overview/Controls/Radio.cs b/example/Demo/Controls/Radio.cs similarity index 97% rename from example/Overview/Controls/Radio.cs rename to example/Demo/Controls/Radio.cs index 67918411..9b8ea890 100644 --- a/example/Overview/Controls/Radio.cs +++ b/example/Demo/Controls/Radio.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Radio : UserControl { diff --git a/example/Overview/Controls/Radio.resx b/example/Demo/Controls/Radio.resx similarity index 100% rename from example/Overview/Controls/Radio.resx rename to example/Demo/Controls/Radio.resx diff --git a/example/Overview/Controls/Rate.Designer.cs b/example/Demo/Controls/Rate.Designer.cs similarity index 99% rename from example/Overview/Controls/Rate.Designer.cs rename to example/Demo/Controls/Rate.Designer.cs index 223aeb45..c7f47031 100644 --- a/example/Overview/Controls/Rate.Designer.cs +++ b/example/Demo/Controls/Rate.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Rate { diff --git a/example/Overview/Controls/Rate.cs b/example/Demo/Controls/Rate.cs similarity index 97% rename from example/Overview/Controls/Rate.cs rename to example/Demo/Controls/Rate.cs index ed06bd79..ab94f095 100644 --- a/example/Overview/Controls/Rate.cs +++ b/example/Demo/Controls/Rate.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Rate : UserControl { diff --git a/example/Overview/Controls/Rate.resx b/example/Demo/Controls/Rate.resx similarity index 100% rename from example/Overview/Controls/Rate.resx rename to example/Demo/Controls/Rate.resx diff --git a/example/Overview/Controls/Result.Designer.cs b/example/Demo/Controls/Result.Designer.cs similarity index 99% rename from example/Overview/Controls/Result.Designer.cs rename to example/Demo/Controls/Result.Designer.cs index 2acd379a..1d891eb8 100644 --- a/example/Overview/Controls/Result.Designer.cs +++ b/example/Demo/Controls/Result.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Result { diff --git a/example/Overview/Controls/Result.cs b/example/Demo/Controls/Result.cs similarity index 97% rename from example/Overview/Controls/Result.cs rename to example/Demo/Controls/Result.cs index a85a23a0..1f79de33 100644 --- a/example/Overview/Controls/Result.cs +++ b/example/Demo/Controls/Result.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Result : UserControl { diff --git a/example/Overview/Controls/Result.resx b/example/Demo/Controls/Result.resx similarity index 100% rename from example/Overview/Controls/Result.resx rename to example/Demo/Controls/Result.resx diff --git a/example/Overview/Controls/Segmented.Designer.cs b/example/Demo/Controls/Segmented.Designer.cs similarity index 99% rename from example/Overview/Controls/Segmented.Designer.cs rename to example/Demo/Controls/Segmented.Designer.cs index db51f92b..0239a685 100644 --- a/example/Overview/Controls/Segmented.Designer.cs +++ b/example/Demo/Controls/Segmented.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Segmented { diff --git a/example/Overview/Controls/Segmented.cs b/example/Demo/Controls/Segmented.cs similarity index 97% rename from example/Overview/Controls/Segmented.cs rename to example/Demo/Controls/Segmented.cs index c770c84c..5a5311ad 100644 --- a/example/Overview/Controls/Segmented.cs +++ b/example/Demo/Controls/Segmented.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Segmented : UserControl { diff --git a/example/Overview/Controls/Segmented.resx b/example/Demo/Controls/Segmented.resx similarity index 100% rename from example/Overview/Controls/Segmented.resx rename to example/Demo/Controls/Segmented.resx diff --git a/example/Overview/Controls/Select.Designer.cs b/example/Demo/Controls/Select.Designer.cs similarity index 99% rename from example/Overview/Controls/Select.Designer.cs rename to example/Demo/Controls/Select.Designer.cs index 03200a45..5ef3ed25 100644 --- a/example/Overview/Controls/Select.Designer.cs +++ b/example/Demo/Controls/Select.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Select { diff --git a/example/Overview/Controls/Select.cs b/example/Demo/Controls/Select.cs similarity index 98% rename from example/Overview/Controls/Select.cs rename to example/Demo/Controls/Select.cs index 513618c4..ddbe3854 100644 --- a/example/Overview/Controls/Select.cs +++ b/example/Demo/Controls/Select.cs @@ -19,7 +19,7 @@ using System.Collections.Generic; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Select : UserControl { diff --git a/example/Overview/Controls/Select.resx b/example/Demo/Controls/Select.resx similarity index 100% rename from example/Overview/Controls/Select.resx rename to example/Demo/Controls/Select.resx diff --git a/example/Overview/Controls/Slider.Designer.cs b/example/Demo/Controls/Slider.Designer.cs similarity index 99% rename from example/Overview/Controls/Slider.Designer.cs rename to example/Demo/Controls/Slider.Designer.cs index 0ac347a9..6f6c2e9a 100644 --- a/example/Overview/Controls/Slider.Designer.cs +++ b/example/Demo/Controls/Slider.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Slider { diff --git a/example/Overview/Controls/Slider.cs b/example/Demo/Controls/Slider.cs similarity index 97% rename from example/Overview/Controls/Slider.cs rename to example/Demo/Controls/Slider.cs index e56c1ea1..8d5e4a4d 100644 --- a/example/Overview/Controls/Slider.cs +++ b/example/Demo/Controls/Slider.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Slider : UserControl { diff --git a/example/Overview/Controls/Slider.resx b/example/Demo/Controls/Slider.resx similarity index 100% rename from example/Overview/Controls/Slider.resx rename to example/Demo/Controls/Slider.resx diff --git a/example/Overview/Controls/Steps.Designer.cs b/example/Demo/Controls/Steps.Designer.cs similarity index 99% rename from example/Overview/Controls/Steps.Designer.cs rename to example/Demo/Controls/Steps.Designer.cs index f9c5cb83..4aa5b1b2 100644 --- a/example/Overview/Controls/Steps.Designer.cs +++ b/example/Demo/Controls/Steps.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Steps { diff --git a/example/Overview/Controls/Steps.cs b/example/Demo/Controls/Steps.cs similarity index 97% rename from example/Overview/Controls/Steps.cs rename to example/Demo/Controls/Steps.cs index 6a9daedf..675eee85 100644 --- a/example/Overview/Controls/Steps.cs +++ b/example/Demo/Controls/Steps.cs @@ -19,7 +19,7 @@ using System; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Steps : UserControl { diff --git a/example/Overview/Controls/Steps.resx b/example/Demo/Controls/Steps.resx similarity index 100% rename from example/Overview/Controls/Steps.resx rename to example/Demo/Controls/Steps.resx diff --git a/example/Overview/Controls/Switch.Designer.cs b/example/Demo/Controls/Switch.Designer.cs similarity index 99% rename from example/Overview/Controls/Switch.Designer.cs rename to example/Demo/Controls/Switch.Designer.cs index 2e53b12e..d243d100 100644 --- a/example/Overview/Controls/Switch.Designer.cs +++ b/example/Demo/Controls/Switch.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Switch { diff --git a/example/Overview/Controls/Switch.cs b/example/Demo/Controls/Switch.cs similarity index 97% rename from example/Overview/Controls/Switch.cs rename to example/Demo/Controls/Switch.cs index 2f721e49..a2c1cb91 100644 --- a/example/Overview/Controls/Switch.cs +++ b/example/Demo/Controls/Switch.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Switch : UserControl { diff --git a/example/Overview/Controls/Switch.resx b/example/Demo/Controls/Switch.resx similarity index 100% rename from example/Overview/Controls/Switch.resx rename to example/Demo/Controls/Switch.resx diff --git a/example/Overview/Controls/Table.Designer.cs b/example/Demo/Controls/Table.Designer.cs similarity index 99% rename from example/Overview/Controls/Table.Designer.cs rename to example/Demo/Controls/Table.Designer.cs index ff69aacf..f6afdbee 100644 --- a/example/Overview/Controls/Table.Designer.cs +++ b/example/Demo/Controls/Table.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Table { diff --git a/example/Overview/Controls/Table.cs b/example/Demo/Controls/Table.cs similarity index 99% rename from example/Overview/Controls/Table.cs rename to example/Demo/Controls/Table.cs index 3687e1de..4d7c9a9e 100644 --- a/example/Overview/Controls/Table.cs +++ b/example/Demo/Controls/Table.cs @@ -21,7 +21,7 @@ using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Table : UserControl { diff --git a/example/Overview/Controls/Table.resx b/example/Demo/Controls/Table.resx similarity index 100% rename from example/Overview/Controls/Table.resx rename to example/Demo/Controls/Table.resx diff --git a/example/Overview/Controls/TableAOT.Designer.cs b/example/Demo/Controls/TableAOT.Designer.cs similarity index 99% rename from example/Overview/Controls/TableAOT.Designer.cs rename to example/Demo/Controls/TableAOT.Designer.cs index eb5830c2..75a8934b 100644 --- a/example/Overview/Controls/TableAOT.Designer.cs +++ b/example/Demo/Controls/TableAOT.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class TableAOT { diff --git a/example/Overview/Controls/TableAOT.cs b/example/Demo/Controls/TableAOT.cs similarity index 99% rename from example/Overview/Controls/TableAOT.cs rename to example/Demo/Controls/TableAOT.cs index f91e86b0..9d1e1ef5 100644 --- a/example/Overview/Controls/TableAOT.cs +++ b/example/Demo/Controls/TableAOT.cs @@ -21,7 +21,7 @@ using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class TableAOT : UserControl { diff --git a/example/Overview/Controls/TableAOT.resx b/example/Demo/Controls/TableAOT.resx similarity index 100% rename from example/Overview/Controls/TableAOT.resx rename to example/Demo/Controls/TableAOT.resx diff --git a/example/Overview/Controls/Tabs.Designer.cs b/example/Demo/Controls/Tabs.Designer.cs similarity index 99% rename from example/Overview/Controls/Tabs.Designer.cs rename to example/Demo/Controls/Tabs.Designer.cs index e00f5efb..dcb66d39 100644 --- a/example/Overview/Controls/Tabs.Designer.cs +++ b/example/Demo/Controls/Tabs.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Tabs { diff --git a/example/Overview/Controls/Tabs.cs b/example/Demo/Controls/Tabs.cs similarity index 97% rename from example/Overview/Controls/Tabs.cs rename to example/Demo/Controls/Tabs.cs index 6716860b..cb3c1de9 100644 --- a/example/Overview/Controls/Tabs.cs +++ b/example/Demo/Controls/Tabs.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Tabs : UserControl { diff --git a/example/Overview/Controls/Tabs.resx b/example/Demo/Controls/Tabs.resx similarity index 100% rename from example/Overview/Controls/Tabs.resx rename to example/Demo/Controls/Tabs.resx diff --git a/example/Overview/Controls/Tag.Designer.cs b/example/Demo/Controls/Tag.Designer.cs similarity index 99% rename from example/Overview/Controls/Tag.Designer.cs rename to example/Demo/Controls/Tag.Designer.cs index 25ac50d4..77f0b664 100644 --- a/example/Overview/Controls/Tag.Designer.cs +++ b/example/Demo/Controls/Tag.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Tag { diff --git a/example/Overview/Controls/Tag.cs b/example/Demo/Controls/Tag.cs similarity index 97% rename from example/Overview/Controls/Tag.cs rename to example/Demo/Controls/Tag.cs index 34a52e91..eca6c186 100644 --- a/example/Overview/Controls/Tag.cs +++ b/example/Demo/Controls/Tag.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Tag : UserControl { diff --git a/example/Overview/Controls/Tag.resx b/example/Demo/Controls/Tag.resx similarity index 100% rename from example/Overview/Controls/Tag.resx rename to example/Demo/Controls/Tag.resx diff --git a/example/Overview/Controls/TimePicker.Designer.cs b/example/Demo/Controls/TimePicker.Designer.cs similarity index 99% rename from example/Overview/Controls/TimePicker.Designer.cs rename to example/Demo/Controls/TimePicker.Designer.cs index fc2eda3d..bfcc3452 100644 --- a/example/Overview/Controls/TimePicker.Designer.cs +++ b/example/Demo/Controls/TimePicker.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class TimePicker { diff --git a/example/Overview/Controls/TimePicker.cs b/example/Demo/Controls/TimePicker.cs similarity index 97% rename from example/Overview/Controls/TimePicker.cs rename to example/Demo/Controls/TimePicker.cs index 9ee71268..54b0332d 100644 --- a/example/Overview/Controls/TimePicker.cs +++ b/example/Demo/Controls/TimePicker.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class TimePicker : UserControl { diff --git a/example/Overview/Controls/TimePicker.resx b/example/Demo/Controls/TimePicker.resx similarity index 100% rename from example/Overview/Controls/TimePicker.resx rename to example/Demo/Controls/TimePicker.resx diff --git a/example/Overview/Controls/Timeline.Designer.cs b/example/Demo/Controls/Timeline.Designer.cs similarity index 99% rename from example/Overview/Controls/Timeline.Designer.cs rename to example/Demo/Controls/Timeline.Designer.cs index 546254bd..6e3ae9ab 100644 --- a/example/Overview/Controls/Timeline.Designer.cs +++ b/example/Demo/Controls/Timeline.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Timeline { diff --git a/example/Overview/Controls/Timeline.cs b/example/Demo/Controls/Timeline.cs similarity index 97% rename from example/Overview/Controls/Timeline.cs rename to example/Demo/Controls/Timeline.cs index 46f07c95..dfbd9886 100644 --- a/example/Overview/Controls/Timeline.cs +++ b/example/Demo/Controls/Timeline.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Timeline : UserControl { diff --git a/example/Overview/Controls/Timeline.resx b/example/Demo/Controls/Timeline.resx similarity index 100% rename from example/Overview/Controls/Timeline.resx rename to example/Demo/Controls/Timeline.resx diff --git a/example/Overview/Controls/Tooltip.Designer.cs b/example/Demo/Controls/Tooltip.Designer.cs similarity index 99% rename from example/Overview/Controls/Tooltip.Designer.cs rename to example/Demo/Controls/Tooltip.Designer.cs index e61f616b..01ae21c1 100644 --- a/example/Overview/Controls/Tooltip.Designer.cs +++ b/example/Demo/Controls/Tooltip.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Tooltip { diff --git a/example/Overview/Controls/Tooltip.cs b/example/Demo/Controls/Tooltip.cs similarity index 97% rename from example/Overview/Controls/Tooltip.cs rename to example/Demo/Controls/Tooltip.cs index 97bc1efb..78aa2798 100644 --- a/example/Overview/Controls/Tooltip.cs +++ b/example/Demo/Controls/Tooltip.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Tooltip : UserControl { diff --git a/example/Overview/Controls/Tooltip.resx b/example/Demo/Controls/Tooltip.resx similarity index 100% rename from example/Overview/Controls/Tooltip.resx rename to example/Demo/Controls/Tooltip.resx diff --git a/example/Overview/Controls/Tree.Designer.cs b/example/Demo/Controls/Tree.Designer.cs similarity index 99% rename from example/Overview/Controls/Tree.Designer.cs rename to example/Demo/Controls/Tree.Designer.cs index 33bf0e2c..e55c3cd4 100644 --- a/example/Overview/Controls/Tree.Designer.cs +++ b/example/Demo/Controls/Tree.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class Tree { diff --git a/example/Overview/Controls/Tree.cs b/example/Demo/Controls/Tree.cs similarity index 99% rename from example/Overview/Controls/Tree.cs rename to example/Demo/Controls/Tree.cs index 001fc0a1..5b9cd55b 100644 --- a/example/Overview/Controls/Tree.cs +++ b/example/Demo/Controls/Tree.cs @@ -20,7 +20,7 @@ using System; using System.Collections.Generic; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class Tree : UserControl { diff --git a/example/Overview/Controls/Tree.resx b/example/Demo/Controls/Tree.resx similarity index 100% rename from example/Overview/Controls/Tree.resx rename to example/Demo/Controls/Tree.resx diff --git a/example/Overview/Controls/VirtualPanel.Designer.cs b/example/Demo/Controls/VirtualPanel.Designer.cs similarity index 99% rename from example/Overview/Controls/VirtualPanel.Designer.cs rename to example/Demo/Controls/VirtualPanel.Designer.cs index dfe85b33..0755c5cd 100644 --- a/example/Overview/Controls/VirtualPanel.Designer.cs +++ b/example/Demo/Controls/VirtualPanel.Designer.cs @@ -19,7 +19,7 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { partial class VirtualPanel { diff --git a/example/Overview/Controls/VirtualPanel.cs b/example/Demo/Controls/VirtualPanel.cs similarity index 99% rename from example/Overview/Controls/VirtualPanel.cs rename to example/Demo/Controls/VirtualPanel.cs index 2c5f0b4f..34d6a975 100644 --- a/example/Overview/Controls/VirtualPanel.cs +++ b/example/Demo/Controls/VirtualPanel.cs @@ -22,7 +22,7 @@ using System.Drawing.Drawing2D; using System.IO; using System.Windows.Forms; -namespace Overview.Controls +namespace Demo.Controls { public partial class VirtualPanel : UserControl { diff --git a/example/Overview/Controls/VirtualPanel.resx b/example/Demo/Controls/VirtualPanel.resx similarity index 100% rename from example/Overview/Controls/VirtualPanel.resx rename to example/Demo/Controls/VirtualPanel.resx diff --git a/example/Demo/Demo.csproj b/example/Demo/Demo.csproj index 7514cc69..72c83f20 100644 --- a/example/Demo/Demo.csproj +++ b/example/Demo/Demo.csproj @@ -2,11 +2,29 @@ WinExe - net6.0-windows + net8.0-windows true true + icon.ico + + true + true + true + <_SuppressWinFormsTrimError>true + true + + + + + + + + + + + @@ -17,6 +35,16 @@ True Resources.resx + + True + True + res_dark.resx + + + True + True + res_light.resx + @@ -24,6 +52,14 @@ ResXFileCodeGenerator Resources.Designer.cs + + ResXFileCodeGenerator + res_dark.Designer.cs + + + ResXFileCodeGenerator + res_light.Designer.cs + \ No newline at end of file diff --git a/example/Demo/Main.Designer.cs b/example/Demo/Main.Designer.cs index b26ebdb0..dba51fe2 100644 --- a/example/Demo/Main.Designer.cs +++ b/example/Demo/Main.Designer.cs @@ -49,10 +49,10 @@ namespace Demo /// private void InitializeComponent() { - AntdUI.CarouselItem carouselItem1 = new AntdUI.CarouselItem(); - AntdUI.CarouselItem carouselItem2 = new AntdUI.CarouselItem(); - AntdUI.CarouselItem carouselItem3 = new AntdUI.CarouselItem(); - AntdUI.CarouselItem carouselItem4 = new AntdUI.CarouselItem(); + AntdUI.CarouselItem carouselItem5 = new AntdUI.CarouselItem(); + AntdUI.CarouselItem carouselItem6 = new AntdUI.CarouselItem(); + AntdUI.CarouselItem carouselItem7 = new AntdUI.CarouselItem(); + AntdUI.CarouselItem carouselItem8 = new AntdUI.CarouselItem(); button1 = new AntdUI.Button(); button2 = new AntdUI.Button(); button3 = new AntdUI.Button(); @@ -87,11 +87,7 @@ namespace Demo progress7 = new AntdUI.Progress(); progress8 = new AntdUI.Progress(); progress9 = new AntdUI.Progress(); - panel_top = new Panel(); - label_title = new Label(); - btn_min = new AntdUI.Button(); - btn_max = new AntdUI.Button(); - btn_close = new AntdUI.Button(); + panel_top = new AntdUI.PageHeader(); tooltipComponent1 = new AntdUI.TooltipComponent(); avatar2 = new AntdUI.Carousel(); panel8 = new AntdUI.Panel(); @@ -112,7 +108,6 @@ namespace Demo input1 = new AntdUI.Input(); button5 = new AntdUI.Button(); button6 = new AntdUI.Button(); - panel_top.SuspendLayout(); panel8.SuspendLayout(); panel9.SuspendLayout(); SuspendLayout(); @@ -417,7 +412,7 @@ namespace Demo // progress4 // progress4.ContainerControl = this; - progress4.Font = new Font("Microsoft YaHei UI Light", 16F, FontStyle.Regular, GraphicsUnit.Point); + progress4.Font = new Font("Microsoft YaHei UI Light", 16F); progress4.Loading = true; progress4.Location = new Point(42, 488); progress4.Name = "progress4"; @@ -433,7 +428,7 @@ namespace Demo // progress5 // progress5.ContainerControl = this; - progress5.Font = new Font("Microsoft YaHei UI Light", 16F, FontStyle.Regular, GraphicsUnit.Point); + progress5.Font = new Font("Microsoft YaHei UI Light", 16F); progress5.Location = new Point(201, 488); progress5.Name = "progress5"; progress5.Radius = 5; @@ -448,7 +443,7 @@ namespace Demo // progress6 // progress6.ContainerControl = this; - progress6.Font = new Font("Microsoft YaHei UI Light", 16F, FontStyle.Regular, GraphicsUnit.Point); + progress6.Font = new Font("Microsoft YaHei UI Light", 16F); progress6.Location = new Point(360, 488); progress6.Name = "progress6"; progress6.Radius = 5; @@ -506,90 +501,33 @@ namespace Demo // // panel_top // - panel_top.Controls.Add(label_title); - panel_top.Controls.Add(btn_min); - panel_top.Controls.Add(btn_max); - panel_top.Controls.Add(btn_close); panel_top.Dock = DockStyle.Top; + panel_top.Icon = Properties.Resources.logo; panel_top.Location = new Point(0, 0); panel_top.Name = "panel_top"; + panel_top.ShowButton = true; + panel_top.ShowIcon = true; panel_top.Size = new Size(1300, 40); panel_top.TabIndex = 0; - // - // label_title - // - label_title.Dock = DockStyle.Fill; - label_title.Location = new Point(0, 0); - label_title.Name = "label_title"; - label_title.Padding = new Padding(10, 0, 0, 0); - label_title.Size = new Size(1142, 40); - label_title.TabIndex = 0; - label_title.Text = "Ant Design 5.0"; - label_title.TextAlign = ContentAlignment.MiddleLeft; - // - // btn_min - // - btn_min.BackActive = Color.FromArgb(172, 172, 172); - btn_min.BackColor = Color.Transparent; - btn_min.BackHover = Color.FromArgb(223, 223, 223); - btn_min.Dock = DockStyle.Right; - btn_min.Font = new Font("Microsoft YaHei UI Light", 18F, FontStyle.Regular, GraphicsUnit.Point); - btn_min.Ghost = true; - btn_min.Icon = Properties.Resources.app_minb; - btn_min.Location = new Point(1142, 0); - btn_min.Name = "btn_min"; - btn_min.Size = new Size(50, 40); - btn_min.TabIndex = 3; - btn_min.Click += btn_min_Click; - // - // btn_max - // - btn_max.BackActive = Color.FromArgb(172, 172, 172); - btn_max.BackColor = Color.Transparent; - btn_max.BackHover = Color.FromArgb(223, 223, 223); - btn_max.Dock = DockStyle.Right; - btn_max.Font = new Font("Microsoft YaHei UI Light", 18F, FontStyle.Regular, GraphicsUnit.Point); - btn_max.Ghost = true; - btn_max.Icon = Properties.Resources.app_maxb; - btn_max.Location = new Point(1192, 0); - btn_max.Name = "btn_max"; - btn_max.Size = new Size(50, 40); - btn_max.TabIndex = 2; - btn_max.Click += btn_max_Click; - // - // btn_close - // - btn_close.BackActive = Color.FromArgb(145, 31, 20); - btn_close.BackColor = Color.Transparent; - btn_close.BackHover = Color.FromArgb(196, 43, 28); - btn_close.Dock = DockStyle.Right; - btn_close.Font = new Font("Microsoft YaHei UI Light", 20F, FontStyle.Regular, GraphicsUnit.Point); - btn_close.Ghost = true; - btn_close.Icon = Properties.Resources.app_closeb; - btn_close.IconHover = Properties.Resources.app_close; - btn_close.Location = new Point(1242, 0); - btn_close.Name = "btn_close"; - btn_close.Size = new Size(58, 40); - btn_close.TabIndex = 1; - btn_close.Click += btn_close_Click; + panel_top.Text = "AntdUI"; // // tooltipComponent1 // - tooltipComponent1.Font = new Font("Microsoft YaHei UI Light", 9F, FontStyle.Regular, GraphicsUnit.Point); + tooltipComponent1.Font = new Font("Microsoft YaHei UI Light", 9F); // // avatar2 // avatar2.BackColor = Color.Transparent; avatar2.Dock = DockStyle.Top; avatar2.DotPosition = AntdUI.TAlignMini.Bottom; - carouselItem1.Img = Properties.Resources.img1; - carouselItem2.Img = Properties.Resources.bg2; - carouselItem3.Img = Properties.Resources.bg3; - carouselItem4.Img = Properties.Resources.bg1; - avatar2.Image.Add(carouselItem1); - avatar2.Image.Add(carouselItem2); - avatar2.Image.Add(carouselItem3); - avatar2.Image.Add(carouselItem4); + carouselItem5.Img = Properties.Resources.img1; + carouselItem6.Img = Properties.Resources.bg2; + carouselItem7.Img = Properties.Resources.bg3; + carouselItem8.Img = Properties.Resources.bg1; + avatar2.Image.Add(carouselItem5); + avatar2.Image.Add(carouselItem6); + avatar2.Image.Add(carouselItem7); + avatar2.Image.Add(carouselItem8); avatar2.Location = new Point(38, 38); avatar2.Name = "avatar2"; avatar2.Radius = 6; @@ -617,7 +555,7 @@ namespace Demo // label5.BackColor = Color.Transparent; label5.Dock = DockStyle.Fill; - label5.Font = new Font("Microsoft YaHei UI", 11F, FontStyle.Regular, GraphicsUnit.Point); + label5.Font = new Font("Microsoft YaHei UI", 11F); label5.Location = new Point(24, 73); label5.Name = "label5"; label5.Padding = new Padding(20, 10, 0, 0); @@ -639,7 +577,7 @@ namespace Demo // label7.BackColor = Color.Transparent; label7.Dock = DockStyle.Top; - label7.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point); + label7.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold); label7.Location = new Point(24, 24); label7.Name = "label7"; label7.Padding = new Padding(20, 0, 0, 0); @@ -682,7 +620,7 @@ namespace Demo // label8.BackColor = Color.Transparent; label8.Dock = DockStyle.Top; - label8.Font = new Font("Microsoft YaHei UI Light", 12F, FontStyle.Bold, GraphicsUnit.Point); + label8.Font = new Font("Microsoft YaHei UI Light", 12F, FontStyle.Bold); label8.Location = new Point(38, 188); label8.Name = "label8"; label8.Size = new Size(327, 30); @@ -692,7 +630,7 @@ namespace Demo // // tooltipComponent2 // - tooltipComponent2.Font = new Font("Microsoft YaHei UI Light", 12F, FontStyle.Regular, GraphicsUnit.Point); + tooltipComponent2.Font = new Font("Microsoft YaHei UI Light", 12F); // // badge1 // @@ -749,7 +687,7 @@ namespace Demo // avatar3 // avatar3.BackColor = Color.FromArgb(0, 144, 255); - avatar3.Font = new Font("Microsoft YaHei UI", 14F, FontStyle.Regular, GraphicsUnit.Point); + avatar3.Font = new Font("Microsoft YaHei UI", 14F); avatar3.ForeColor = Color.White; avatar3.Location = new Point(795, 79); avatar3.Name = "avatar3"; @@ -775,7 +713,7 @@ namespace Demo button5.BackHover = Color.FromArgb(100, 64, 150, 255); button5.ForeColor = Color.White; button5.Ghost = true; - button5.Icon = Properties.Resources.search; + button5.IconSvg = "SearchOutlined"; button5.Location = new Point(887, 625); button5.Margin = new Padding(4); button5.Name = "button5"; @@ -793,11 +731,11 @@ namespace Demo button6.BackHover = Color.FromArgb(100, 64, 150, 255); button6.ForeColor = Color.White; button6.Ghost = true; - button6.Icon = Properties.Resources.search; + button6.IconSvg = "SearchOutlined"; button6.Location = new Point(1080, 625); button6.Margin = new Padding(4); button6.Name = "button6"; - button6.Size = new Size(170, 49); + button6.Size = new Size(166, 47); button6.TabIndex = 0; button6.Text = "Search Button"; button6.Click += Button_Click; @@ -853,14 +791,12 @@ namespace Demo Controls.Add(button6); Controls.Add(button5); Controls.Add(button1); - Font = new Font("Microsoft YaHei UI Light", 12F, FontStyle.Regular, GraphicsUnit.Point); + Font = new Font("Microsoft YaHei UI Light", 12F); ForeColor = Color.Black; - Margin = new Padding(3, 4, 3, 4); MinimumSize = new Size(1300, 720); Name = "Main"; StartPosition = FormStartPosition.CenterScreen; - Text = "Ant Design 5.0"; - panel_top.ResumeLayout(false); + Text = "AntdUI"; panel8.ResumeLayout(false); panel9.ResumeLayout(false); ResumeLayout(false); @@ -903,11 +839,7 @@ namespace Demo private AntdUI.Progress progress7; private AntdUI.Progress progress8; private AntdUI.Progress progress9; - private Panel panel_top; - private Label label_title; - private AntdUI.Button btn_close; - private AntdUI.Button btn_min; - private AntdUI.Button btn_max; + private AntdUI.PageHeader panel_top; private AntdUI.TooltipComponent tooltipComponent1; private AntdUI.Panel panel8; private Label label5; diff --git a/example/Demo/Main.cs b/example/Demo/Main.cs index 6c9f7b8b..71e3845c 100644 --- a/example/Demo/Main.cs +++ b/example/Demo/Main.cs @@ -27,14 +27,6 @@ namespace Demo public Main() { InitializeComponent(); - - panel_top.MouseDown += Window_MouseDown; - label_title.MouseDown += Window_MouseDown; - } - - void Window_MouseDown(object sender, MouseEventArgs e) - { - DraggableMouseDown(); } protected override void OnMouseDown(MouseEventArgs e) @@ -161,13 +153,6 @@ namespace Demo Min(); } - protected override void OnSizeChanged(EventArgs e) - { - if (WindowState == FormWindowState.Maximized) btn_max.Icon = Properties.Resources.app_max2b; - else btn_max.Icon = Properties.Resources.app_maxb; - base.OnSizeChanged(e); - } - private void btn_max_Click(object sender, EventArgs e) { MaxRestore(); diff --git a/example/Overview/Main.Designer.cs b/example/Demo/Overview.Designer.cs similarity index 97% rename from example/Overview/Main.Designer.cs rename to example/Demo/Overview.Designer.cs index a873382b..24c49e71 100644 --- a/example/Overview/Main.Designer.cs +++ b/example/Demo/Overview.Designer.cs @@ -19,9 +19,9 @@ using System.Drawing; using System.Windows.Forms; -namespace Overview +namespace Demo { - partial class Main + partial class Overview { /// /// Required designer variable. @@ -104,7 +104,7 @@ namespace Overview windowBar.Size = new Size(1300, 40); windowBar.SubText = "Overview"; windowBar.TabIndex = 0; - windowBar.Text = "Ant Design 5.0"; + windowBar.Text = "AntdUI"; windowBar.BackClick += btn_back_Click; // // txt_search @@ -143,7 +143,7 @@ namespace Overview btn_setting.WaveSize = 0; btn_setting.Click += btn_setting_Click; // - // Main + // Overview // BackColor = Color.White; ClientSize = new Size(1300, 720); @@ -152,9 +152,9 @@ namespace Overview Font = new Font("Microsoft YaHei UI", 12F); ForeColor = Color.Black; MinimumSize = new Size(660, 400); - Name = "Main"; + Name = "Overview"; StartPosition = FormStartPosition.CenterScreen; - Text = "Overview"; + Text = "AntdUI Overview"; windowBar.ResumeLayout(false); ResumeLayout(false); } diff --git a/example/Overview/Main.cs b/example/Demo/Overview.cs similarity index 97% rename from example/Overview/Main.cs rename to example/Demo/Overview.cs index 18aa3092..ec6906b3 100644 Binary files a/example/Overview/Main.cs and b/example/Demo/Overview.cs differ diff --git a/example/Demo/Program.cs b/example/Demo/Program.cs index fac20266..cb738968 100644 --- a/example/Demo/Program.cs +++ b/example/Demo/Program.cs @@ -27,11 +27,62 @@ namespace Demo /// The main entry point for the application. /// [STAThread] - static void Main() + static void Main(string[] arge) { - //Application.SetHighDpiMode(HighDpiMode.SystemAware); + bool istop = false; + if (arge.Length > 0 && arge[0] == "t") istop = true; + //AntdUI.Localization.Provider = new Localizer(); + AntdUI.Config.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit; + Application.SetHighDpiMode(HighDpiMode.SystemAware); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Main()); + AntdUI.Config.SetCorrectionTextRendering("Microsoft YaHei UI"); + //Application.Run(new Main()); + //return; + Application.Run(new Overview(istop)); + } + } + public class Localizer : AntdUI.ILocalization + { + public string GetLocalizedString(string key) + { + switch (key) + { + case "Cancel": + return "キャンセル"; + case "OK": + return "確認"; + case "Now": + return "今は"; + case "ToDay": + return "今日"; + case "NoData": + return "データが一時的にありません"; + case "Year": + return "Année"; + case "Month": + return "Mois"; + + case "Mon": + return "Mon"; + case "Tue": + return "Tue"; + case "Wed": + return "Wed"; + case "Thu": + return "Thu"; + case "Fri": + return "Fri"; + case "Sat": + return "Sat"; + case "Sun": + return "Sun"; + case "ItemsPerPage": + return "Per/Page"; + + default: + System.Diagnostics.Debug.WriteLine(key); + return key; + } } } } \ No newline at end of file diff --git a/example/Overview/Properties/PublishProfiles/FolderProfile.pubxml b/example/Demo/Properties/PublishProfiles/FolderProfile.pubxml similarity index 90% rename from example/Overview/Properties/PublishProfiles/FolderProfile.pubxml rename to example/Demo/Properties/PublishProfiles/FolderProfile.pubxml index cf356663..1936dec1 100644 --- a/example/Overview/Properties/PublishProfiles/FolderProfile.pubxml +++ b/example/Demo/Properties/PublishProfiles/FolderProfile.pubxml @@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Release Any CPU - bin\Release\publish\ + bin\AntdUI\ FileSystem <_TargetId>Folder net8.0-windows diff --git a/example/Demo/Properties/Resources.Designer.cs b/example/Demo/Properties/Resources.Designer.cs index 6be0cb89..2ee4d5f9 100644 --- a/example/Demo/Properties/Resources.Designer.cs +++ b/example/Demo/Properties/Resources.Designer.cs @@ -1,20 +1,12 @@ -// COPYRIGHT (C) Tom. ALL RIGHTS RESERVED. -// THE AntdUI PROJECT IS AN WINFORM LIBRARY LICENSED UNDER THE Apache-2.0 License. -// LICENSED UNDER THE Apache License, VERSION 2.0 (THE "License") -// YOU MAY NOT USE THIS FILE EXCEPT IN COMPLIANCE WITH THE License. -// YOU MAY OBTAIN A COPY OF THE LICENSE AT +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 // -// http://www.apache.org/licenses/LICENSE-2.0 -// -// UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE -// DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -// SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND -// LIMITATIONS UNDER THE License. -// GITEE: https://gitee.com/antdui/AntdUI -// GITHUB: https://github.com/AntdUI/AntdUI -// CSDN: https://blog.csdn.net/v_132 -// QQ: 17379620 +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ namespace Demo.Properties { using System; @@ -69,82 +61,29 @@ namespace Demo.Properties { } /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M137.6 262.144a52.8 52.8 0 0 1 4.608-5.632l0.064-0.128 168.64-177.472a46.528 46.528 0 0 1 68.48 0.256c17.088 18.24 18.56 46.784 4.48 66.816l-4.736 5.76-85.312 89.728h231.04C728.704 241.536 896 401.152 896 600.832c0 194.816-159.168 351.424-356.352 358.976L524.8 960H176.448C149.696 960 128 937.024 128 908.672c0-25.984 18.24-47.424 41.856-50.816l6.592-0.512H524.8c152.576 0 274.368-116.16 274.368-256.64 0-136.128-114.496-249.472-260.544-256.256L524.8 344.128H174.528a45.952 [字符串的其余部分被截断]"; 的本地化字符串。 /// - internal static System.Drawing.Bitmap app_close { + internal static string app_back { get { - object obj = ResourceManager.GetObject("app_close", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); + return ResourceManager.GetString("app_back", resourceCulture); } } /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M186.86 493.94h-70.39c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h70.39c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.63-19.42-19.42-19.42z m77.86-200.71c7.47 7.47 19.59 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-45.98-45.98c-7.8-7.8-19.92-7.8-27.39 0-7.8 7.47-7.8 19.76 0 27.39-0.01 0 45.98 45.98 45.98 45.98z m5.64 434.62l-51.63 51.63c-7.8 7.47-7.8 19.59 0 27.39 7.47 7.47 19.76 7.47 27.39 0l51.63-51.63c7.47-7.8 7.47-19.92 0-27.39-7.47-7.81-19.92-7.81-27.39 [字符串的其余部分被截断]"; 的本地化字符串。 /// - internal static System.Drawing.Bitmap app_closeb { + internal static string app_dark { get { - object obj = ResourceManager.GetObject("app_closeb", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); + return ResourceManager.GetString("app_dark", resourceCulture); } } /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M186.86 493.94h-70.39c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h70.39c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.63-19.42-19.42-19.42zM264.72 293.23c7.47 7.47 19.59 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-45.98-45.98c-7.8-7.8-19.92-7.8-27.39 0-7.8 7.47-7.8 19.76 0 27.39-0.01 0 45.98 45.98 45.98 45.98zM270.36 727.85l-51.63 51.63c-7.8 7.47-7.8 19.59 0 27.39 7.47 7.47 19.76 7.47 27.39 0l51.63-51.63c7.47-7.8 7.47-19.92 0-27.39-7.47-7.81-19.92-7.81-27.39 [字符串的其余部分被截断]"; 的本地化字符串。 /// - internal static System.Drawing.Bitmap app_max { + internal static string app_light { get { - object obj = ResourceManager.GetObject("app_max", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap app_max2 { - get { - object obj = ResourceManager.GetObject("app_max2", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap app_max2b { - get { - object obj = ResourceManager.GetObject("app_max2b", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap app_maxb { - get { - object obj = ResourceManager.GetObject("app_maxb", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap app_min { - get { - object obj = ResourceManager.GetObject("app_min", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap app_minb { - get { - object obj = ResourceManager.GetObject("app_minb", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); + return ResourceManager.GetString("app_light", resourceCulture); } } @@ -181,13 +120,52 @@ namespace Demo.Properties { /// /// 查找 System.Drawing.Bitmap 类型的本地化资源。 /// - internal static System.Drawing.Bitmap close { + internal static System.Drawing.Bitmap bg4 { get { - object obj = ResourceManager.GetObject("close", resourceCulture); + object obj = ResourceManager.GetObject("bg4", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap bg5 { + get { + object obj = ResourceManager.GetObject("bg5", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap bg6 { + get { + object obj = ResourceManager.GetObject("bg6", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap bg7 { + get { + object obj = ResourceManager.GetObject("bg7", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string icon_like { + get { + return ResourceManager.GetString("icon_like", resourceCulture); + } + } + /// /// 查找 System.Drawing.Bitmap 类型的本地化资源。 /// @@ -201,11 +179,20 @@ namespace Demo.Properties { /// /// 查找 System.Drawing.Bitmap 类型的本地化资源。 /// - internal static System.Drawing.Bitmap search { + internal static System.Drawing.Bitmap logo { get { - object obj = ResourceManager.GetObject("search", resourceCulture); + object obj = ResourceManager.GetObject("logo", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } + + /// + /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M372.134088 1004.846981a509.94041 509.94041 0 0 1-159.298198-76.821527l2.164315-103.514738a93.088793 93.088793 0 0 0-74.238313-93.088794l-101.536602-20.991523A509.428422 509.428422 0 0 1 0.011636 537.983409l82.243949-62.834935a93.088793 93.088793 0 0 0 26.507034-116.104998l-46.89348-92.390627A514.152678 514.152678 0 0 1 172.225904 128.415991l100.419536 25.133974a93.088793 93.088793 0 0 0 107.284834-51.664281l43.007023-94.252403a515.246472 515.246472 0 0 1 88.434354-7.61 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string setting { + get { + return ResourceManager.GetString("setting", resourceCulture); + } + } } } diff --git a/example/Demo/Properties/Resources.resx b/example/Demo/Properties/Resources.resx index a4bb17e8..1cecf8d9 100644 --- a/example/Demo/Properties/Resources.resx +++ b/example/Demo/Properties/Resources.resx @@ -117,31 +117,16 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + <svg viewBox="0 0 1024 1024"><path d="M137.6 262.144a52.8 52.8 0 0 1 4.608-5.632l0.064-0.128 168.64-177.472a46.528 46.528 0 0 1 68.48 0.256c17.088 18.24 18.56 46.784 4.48 66.816l-4.736 5.76-85.312 89.728h231.04C728.704 241.536 896 401.152 896 600.832c0 194.816-159.168 351.424-356.352 358.976L524.8 960H176.448C149.696 960 128 937.024 128 908.672c0-25.984 18.24-47.424 41.856-50.816l6.592-0.512H524.8c152.576 0 274.368-116.16 274.368-256.64 0-136.128-114.496-249.472-260.544-256.256L524.8 344.128H174.528a45.952 45.952 0 0 1-3.008-0.256l4.928 0.256a46.08 46.08 0 0 1-29.248-10.368 50.432 50.432 0 0 1-9.408-9.984l4.288 5.248a51.072 51.072 0 0 1-13.376-27.52A51.84 51.84 0 0 1 128 292.864v-1.984l0.192-2.752L128 292.8a54.592 54.592 0 0 1 6.4-25.472l0.192-0.384 3.008-4.8z"></path></svg> + + + <svg viewBox="0 0 1024 1024"><path d="M186.86 493.94h-70.39c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h70.39c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.63-19.42-19.42-19.42z m77.86-200.71c7.47 7.47 19.59 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-45.98-45.98c-7.8-7.8-19.92-7.8-27.39 0-7.8 7.47-7.8 19.76 0 27.39-0.01 0 45.98 45.98 45.98 45.98z m5.64 434.62l-51.63 51.63c-7.8 7.47-7.8 19.59 0 27.39 7.47 7.47 19.76 7.47 27.39 0l51.63-51.63c7.47-7.8 7.47-19.92 0-27.39-7.47-7.81-19.92-7.81-27.39 0z m241.71-530.74c10.79 0 19.42-8.63 19.42-19.42v-60.1c0-10.79-8.63-19.42-19.42-19.42-10.79 0-19.42 8.63-19.42 19.42v60.26c0 10.63 8.63 19.26 19.42 19.26z m395.27 296.83h-61.76c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h61.76c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.8-19.42-19.42-19.42zM512.07 817.49c-10.79 0-19.42 8.96-19.42 19.42v71.88c0 10.79 8.63 19.42 19.42 19.42 10.79 0 19.42-8.63 19.42-19.42v-71.88c0-10.46-8.63-19.42-19.42-19.42z m265.78-597.63l-41.67 41.5c-7.47 7.8-7.47 19.92 0 27.39 7.8 7.8 19.92 7.8 27.39 0l41.67-41.5c7.47-7.8 7.47-19.92 0-27.39-7.63-7.81-19.92-7.81-27.39 0z m-20.25 511.8c-7.47-7.47-19.76-7.47-27.39 0-7.47 7.8-7.47 19.92 0 27.39l47.64 47.64c7.47 7.47 19.76 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-47.64-47.64zM516.22 256.21c-138.62 0-251.34 112.39-251.34 251.17 0 138.95 112.72 251.5 251.34 251.5s251.01-112.39 251.01-251.5c0-138.61-112.39-251.17-251.01-251.17z m0 459.02c-114.71 0-207.84-93.13-207.84-207.84 0-100.44 71.22-184.27 166.01-203.69-14.28 28.06-22.08 59.93-22.08 93.3 0 114.88 92.97 207.84 207.84 207.84 14.28 0 28.39-1.49 41.67-4.15-34.2 68.06-104.59 114.54-185.6 114.54z"></path></svg> + + + <svg viewBox="0 0 1024 1024"><path d="M186.86 493.94h-70.39c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h70.39c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.63-19.42-19.42-19.42zM264.72 293.23c7.47 7.47 19.59 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-45.98-45.98c-7.8-7.8-19.92-7.8-27.39 0-7.8 7.47-7.8 19.76 0 27.39-0.01 0 45.98 45.98 45.98 45.98zM270.36 727.85l-51.63 51.63c-7.8 7.47-7.8 19.59 0 27.39 7.47 7.47 19.76 7.47 27.39 0l51.63-51.63c7.47-7.8 7.47-19.92 0-27.39-7.47-7.81-19.92-7.81-27.39 0zM512.07 197.11c10.79 0 19.42-8.63 19.42-19.42v-60.1c0-10.79-8.63-19.42-19.42-19.42-10.79 0-19.42 8.63-19.42 19.42v60.26c0 10.63 8.63 19.26 19.42 19.26zM907.34 493.94h-61.76c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h61.76c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.8-19.42-19.42-19.42zM512.07 817.49c-10.79 0-19.42 8.96-19.42 19.42v71.88c0 10.79 8.63 19.42 19.42 19.42 10.79 0 19.42-8.63 19.42-19.42v-71.88c0-10.46-8.63-19.42-19.42-19.42zM777.85 219.86l-41.67 41.5c-7.47 7.8-7.47 19.92 0 27.39 7.8 7.8 19.92 7.8 27.39 0l41.67-41.5c7.47-7.8 7.47-19.92 0-27.39-7.63-7.81-19.92-7.81-27.39 0zM757.6 731.66c-7.47-7.47-19.76-7.47-27.39 0-7.47 7.8-7.47 19.92 0 27.39l47.64 47.64c7.47 7.47 19.76 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-47.64-47.64zM516.22 256.21c-138.62 0-251.34 112.39-251.34 251.17 0 138.95 112.72 251.5 251.34 251.5s251.01-112.39 251.01-251.5c0-138.61-112.39-251.17-251.01-251.17z"></path></svg> + - - ..\Resources\App\app_close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\App\app_closeb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\App\app_max.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\App\app_max2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\App\app_max2b.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\App\app_maxb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\App\app_min.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\App\app_minb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\bg\bg1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -151,13 +136,28 @@ ..\Resources\bg\bg3.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\bg\bg4.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\bg\bg5.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\bg\bg6.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\bg\bg7.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + <svg viewBox="0 0 1024 1024"><path d="M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3 0.1-35.3-7-69.6-20.9-101.9z"></path></svg> ..\Resources\img1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\search.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + <svg viewBox="0 0 1024 1024"><path d="M372.134088 1004.846981a509.94041 509.94041 0 0 1-159.298198-76.821527l2.164315-103.514738a93.088793 93.088793 0 0 0-74.238313-93.088794l-101.536602-20.991523A509.428422 509.428422 0 0 1 0.011636 537.983409l82.243949-62.834935a93.088793 93.088793 0 0 0 26.507034-116.104998l-46.89348-92.390627A514.152678 514.152678 0 0 1 172.225904 128.415991l100.419536 25.133974a93.088793 93.088793 0 0 0 107.284834-51.664281l43.007023-94.252403a515.246472 515.246472 0 0 1 88.434354-7.610009c30.137497 0 59.669917 2.606486 88.411081 7.610009l43.007023 94.252403a93.088793 93.088793 0 0 0 107.284834 51.664281l100.396264-25.133974a514.152678 514.152678 0 0 1 110.356765 138.236858l-46.870208 92.390627a93.088793 93.088793 0 0 0 26.483762 116.104998l82.243949 62.834935a509.428422 509.428422 0 0 1-39.213654 172.44699l-101.51333 20.968251a93.088793 93.088793 0 0 0-74.238312 93.088793l2.141042 103.538011a509.94041 509.94041 0 0 1-159.298198 76.798255l-79.684007-66.279221a93.088793 93.088793 0 0 0-119.060567 0l-79.684007 66.302493zM511.348378 721.461421a209.449785 209.449785 0 1 0 0-418.89957 209.449785 209.449785 0 0 0 0 418.89957z"></path></svg> \ No newline at end of file diff --git a/example/Demo/Resources/App/app_close.png b/example/Demo/Resources/App/app_close.png deleted file mode 100644 index b7127c29..00000000 Binary files a/example/Demo/Resources/App/app_close.png and /dev/null differ diff --git a/example/Demo/Resources/App/app_closeb.png b/example/Demo/Resources/App/app_closeb.png deleted file mode 100644 index b1679676..00000000 Binary files a/example/Demo/Resources/App/app_closeb.png and /dev/null differ diff --git a/example/Demo/Resources/App/app_max.png b/example/Demo/Resources/App/app_max.png deleted file mode 100644 index 9056923d..00000000 Binary files a/example/Demo/Resources/App/app_max.png and /dev/null differ diff --git a/example/Demo/Resources/App/app_max2.png b/example/Demo/Resources/App/app_max2.png deleted file mode 100644 index c5c7d840..00000000 Binary files a/example/Demo/Resources/App/app_max2.png and /dev/null differ diff --git a/example/Demo/Resources/App/app_max2b.png b/example/Demo/Resources/App/app_max2b.png deleted file mode 100644 index 4f6f9d08..00000000 Binary files a/example/Demo/Resources/App/app_max2b.png and /dev/null differ diff --git a/example/Demo/Resources/App/app_maxb.png b/example/Demo/Resources/App/app_maxb.png deleted file mode 100644 index 36a51d0f..00000000 Binary files a/example/Demo/Resources/App/app_maxb.png and /dev/null differ diff --git a/example/Demo/Resources/App/app_min.png b/example/Demo/Resources/App/app_min.png deleted file mode 100644 index 0ec442c0..00000000 Binary files a/example/Demo/Resources/App/app_min.png and /dev/null differ diff --git a/example/Demo/Resources/App/app_minb.png b/example/Demo/Resources/App/app_minb.png deleted file mode 100644 index 8db79cc4..00000000 Binary files a/example/Demo/Resources/App/app_minb.png and /dev/null differ diff --git a/example/Demo/Resources/bg/bg1.jpg b/example/Demo/Resources/bg/bg1.jpg index 2ae45e4c..fbb713be 100644 Binary files a/example/Demo/Resources/bg/bg1.jpg and b/example/Demo/Resources/bg/bg1.jpg differ diff --git a/example/Demo/Resources/bg/bg2.jpg b/example/Demo/Resources/bg/bg2.jpg index c297ed03..94332f47 100644 Binary files a/example/Demo/Resources/bg/bg2.jpg and b/example/Demo/Resources/bg/bg2.jpg differ diff --git a/example/Demo/Resources/bg/bg3.jpg b/example/Demo/Resources/bg/bg3.jpg index 94332f47..59816cff 100644 Binary files a/example/Demo/Resources/bg/bg3.jpg and b/example/Demo/Resources/bg/bg3.jpg differ diff --git a/example/Overview/Resources/bg/bg4.jpg b/example/Demo/Resources/bg/bg4.jpg similarity index 100% rename from example/Overview/Resources/bg/bg4.jpg rename to example/Demo/Resources/bg/bg4.jpg diff --git a/example/Overview/Resources/bg/bg5.jpg b/example/Demo/Resources/bg/bg5.jpg similarity index 100% rename from example/Overview/Resources/bg/bg5.jpg rename to example/Demo/Resources/bg/bg5.jpg diff --git a/example/Overview/Resources/bg/bg6.jpg b/example/Demo/Resources/bg/bg6.jpg similarity index 100% rename from example/Overview/Resources/bg/bg6.jpg rename to example/Demo/Resources/bg/bg6.jpg diff --git a/example/Overview/Resources/bg/bg7.jpg b/example/Demo/Resources/bg/bg7.jpg similarity index 100% rename from example/Overview/Resources/bg/bg7.jpg rename to example/Demo/Resources/bg/bg7.jpg diff --git a/example/Demo/Resources/close.png b/example/Demo/Resources/close.png deleted file mode 100644 index cc060b45..00000000 Binary files a/example/Demo/Resources/close.png and /dev/null differ diff --git a/example/Demo/Resources/img1.jpg b/example/Demo/Resources/img1.jpg index bb19bafb..92f0f23a 100644 Binary files a/example/Demo/Resources/img1.jpg and b/example/Demo/Resources/img1.jpg differ diff --git a/example/Overview/Resources/logo.png b/example/Demo/Resources/logo.png similarity index 100% rename from example/Overview/Resources/logo.png rename to example/Demo/Resources/logo.png diff --git a/example/Demo/Resources/search.png b/example/Demo/Resources/search.png deleted file mode 100644 index d685063a..00000000 Binary files a/example/Demo/Resources/search.png and /dev/null differ diff --git a/example/Overview/Setting.Designer.cs b/example/Demo/Setting.Designer.cs similarity index 99% rename from example/Overview/Setting.Designer.cs rename to example/Demo/Setting.Designer.cs index 1e5af232..d7c81ca9 100644 --- a/example/Overview/Setting.Designer.cs +++ b/example/Demo/Setting.Designer.cs @@ -16,7 +16,7 @@ // CSDN: https://blog.csdn.net/v_132 // QQ: 17379620 -namespace Overview +namespace Demo { partial class Setting { diff --git a/example/Overview/Setting.cs b/example/Demo/Setting.cs similarity index 98% rename from example/Overview/Setting.cs rename to example/Demo/Setting.cs index 7f1e4fe6..0308a4b7 100644 --- a/example/Overview/Setting.cs +++ b/example/Demo/Setting.cs @@ -18,7 +18,7 @@ using System.Windows.Forms; -namespace Overview +namespace Demo { public partial class Setting : UserControl { diff --git a/example/Overview/icon.ico b/example/Demo/icon.ico similarity index 100% rename from example/Overview/icon.ico rename to example/Demo/icon.ico diff --git a/example/Overview/rd.xml b/example/Demo/rd.xml similarity index 100% rename from example/Overview/rd.xml rename to example/Demo/rd.xml diff --git a/example/Overview/res_dark.Designer.cs b/example/Demo/res_dark.Designer.cs similarity index 99% rename from example/Overview/res_dark.Designer.cs rename to example/Demo/res_dark.Designer.cs index 91a760a5..adc81845 100644 --- a/example/Overview/res_dark.Designer.cs +++ b/example/Demo/res_dark.Designer.cs @@ -16,7 +16,7 @@ // CSDN: https://blog.csdn.net/v_132 // QQ: 17379620 -namespace Overview { +namespace Demo { using System; @@ -47,7 +47,7 @@ namespace Overview { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Overview.res_dark", typeof(res_dark).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Demo.res_dark", typeof(res_dark).Assembly); resourceMan = temp; } return resourceMan; diff --git a/example/Overview/res_dark.resx b/example/Demo/res_dark.resx similarity index 100% rename from example/Overview/res_dark.resx rename to example/Demo/res_dark.resx diff --git a/example/Overview/res_light.Designer.cs b/example/Demo/res_light.Designer.cs similarity index 99% rename from example/Overview/res_light.Designer.cs rename to example/Demo/res_light.Designer.cs index 801fe671..2b0d1cf4 100644 --- a/example/Overview/res_light.Designer.cs +++ b/example/Demo/res_light.Designer.cs @@ -16,7 +16,7 @@ // CSDN: https://blog.csdn.net/v_132 // QQ: 17379620 -namespace Overview { +namespace Demo { using System; @@ -47,7 +47,7 @@ namespace Overview { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Overview.res_light", typeof(res_light).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Demo.res_light", typeof(res_light).Assembly); resourceMan = temp; } return resourceMan; diff --git a/example/Overview/res_light.resx b/example/Demo/res_light.resx similarity index 100% rename from example/Overview/res_light.resx rename to example/Demo/res_light.resx diff --git a/example/Overview/Overview.csproj b/example/Overview/Overview.csproj deleted file mode 100644 index 72c83f20..00000000 --- a/example/Overview/Overview.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - WinExe - net8.0-windows - true - true - icon.ico - - - - true - true - true - <_SuppressWinFormsTrimError>true - true - - - - - - - - - - - - - - - - - - True - True - Resources.resx - - - True - True - res_dark.resx - - - True - True - res_light.resx - - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - ResXFileCodeGenerator - res_dark.Designer.cs - - - ResXFileCodeGenerator - res_light.Designer.cs - - - - \ No newline at end of file diff --git a/example/Overview/Program.cs b/example/Overview/Program.cs deleted file mode 100644 index 5fa46d67..00000000 --- a/example/Overview/Program.cs +++ /dev/null @@ -1,86 +0,0 @@ -// COPYRIGHT (C) Tom. ALL RIGHTS RESERVED. -// THE AntdUI PROJECT IS AN WINFORM LIBRARY LICENSED UNDER THE Apache-2.0 License. -// LICENSED UNDER THE Apache License, VERSION 2.0 (THE "License") -// YOU MAY NOT USE THIS FILE EXCEPT IN COMPLIANCE WITH THE License. -// YOU MAY OBTAIN A COPY OF THE LICENSE AT -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE -// DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -// SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND -// LIMITATIONS UNDER THE License. -// GITEE: https://gitee.com/antdui/AntdUI -// GITHUB: https://github.com/AntdUI/AntdUI -// CSDN: https://blog.csdn.net/v_132 -// QQ: 17379620 - -using System; -using System.Windows.Forms; - -namespace Overview -{ - internal static class Program - { - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main(string[] arge) - { - bool istop = false; - if (arge.Length > 0 && arge[0] == "t") istop = true; - //AntdUI.Localization.Provider = new Localizer(); - AntdUI.Config.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit; - Application.SetHighDpiMode(HighDpiMode.SystemAware); - Application.SetCompatibleTextRenderingDefault(false); - AntdUI.Config.SetCorrectionTextRendering("Microsoft YaHei UI"); - Application.Run(new Main(istop)); - } - } - public class Localizer : AntdUI.ILocalization - { - public string GetLocalizedString(string key) - { - switch (key) - { - case "Cancel": - return "󥻥"; - case "OK": - return "_J"; - case "Now": - return ""; - case "ToDay": - return ""; - case "NoData": - return "ǩ`һrĤˤޤ"; - case "Year": - return "Anne"; - case "Month": - return "Mois"; - - case "Mon": - return "Mon"; - case "Tue": - return "Tue"; - case "Wed": - return "Wed"; - case "Thu": - return "Thu"; - case "Fri": - return "Fri"; - case "Sat": - return "Sat"; - case "Sun": - return "Sun"; - case "ItemsPerPage": - return "Per/Page"; - - default: - System.Diagnostics.Debug.WriteLine(key); - return key; - } - } - } -} \ No newline at end of file diff --git a/example/Overview/Properties/Resources.Designer.cs b/example/Overview/Properties/Resources.Designer.cs deleted file mode 100644 index 35ee9834..00000000 --- a/example/Overview/Properties/Resources.Designer.cs +++ /dev/null @@ -1,198 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -namespace Overview.Properties { - using System; - - - /// - /// 一个强类型的资源类,用于查找本地化的字符串等。 - /// - // 此类是由 StronglyTypedResourceBuilder - // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen - // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// 返回此类使用的缓存的 ResourceManager 实例。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Overview.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 重写当前线程的 CurrentUICulture 属性,对 - /// 使用此强类型资源类的所有资源查找执行重写。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M137.6 262.144a52.8 52.8 0 0 1 4.608-5.632l0.064-0.128 168.64-177.472a46.528 46.528 0 0 1 68.48 0.256c17.088 18.24 18.56 46.784 4.48 66.816l-4.736 5.76-85.312 89.728h231.04C728.704 241.536 896 401.152 896 600.832c0 194.816-159.168 351.424-356.352 358.976L524.8 960H176.448C149.696 960 128 937.024 128 908.672c0-25.984 18.24-47.424 41.856-50.816l6.592-0.512H524.8c152.576 0 274.368-116.16 274.368-256.64 0-136.128-114.496-249.472-260.544-256.256L524.8 344.128H174.528a45.952 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string app_back { - get { - return ResourceManager.GetString("app_back", resourceCulture); - } - } - - /// - /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M186.86 493.94h-70.39c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h70.39c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.63-19.42-19.42-19.42z m77.86-200.71c7.47 7.47 19.59 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-45.98-45.98c-7.8-7.8-19.92-7.8-27.39 0-7.8 7.47-7.8 19.76 0 27.39-0.01 0 45.98 45.98 45.98 45.98z m5.64 434.62l-51.63 51.63c-7.8 7.47-7.8 19.59 0 27.39 7.47 7.47 19.76 7.47 27.39 0l51.63-51.63c7.47-7.8 7.47-19.92 0-27.39-7.47-7.81-19.92-7.81-27.39 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string app_dark { - get { - return ResourceManager.GetString("app_dark", resourceCulture); - } - } - - /// - /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M186.86 493.94h-70.39c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h70.39c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.63-19.42-19.42-19.42zM264.72 293.23c7.47 7.47 19.59 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-45.98-45.98c-7.8-7.8-19.92-7.8-27.39 0-7.8 7.47-7.8 19.76 0 27.39-0.01 0 45.98 45.98 45.98 45.98zM270.36 727.85l-51.63 51.63c-7.8 7.47-7.8 19.59 0 27.39 7.47 7.47 19.76 7.47 27.39 0l51.63-51.63c7.47-7.8 7.47-19.92 0-27.39-7.47-7.81-19.92-7.81-27.39 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string app_light { - get { - return ResourceManager.GetString("app_light", resourceCulture); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap bg1 { - get { - object obj = ResourceManager.GetObject("bg1", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap bg2 { - get { - object obj = ResourceManager.GetObject("bg2", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap bg3 { - get { - object obj = ResourceManager.GetObject("bg3", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap bg4 { - get { - object obj = ResourceManager.GetObject("bg4", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap bg5 { - get { - object obj = ResourceManager.GetObject("bg5", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap bg6 { - get { - object obj = ResourceManager.GetObject("bg6", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap bg7 { - get { - object obj = ResourceManager.GetObject("bg7", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string icon_like { - get { - return ResourceManager.GetString("icon_like", resourceCulture); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap img1 { - get { - object obj = ResourceManager.GetObject("img1", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap logo { - get { - object obj = ResourceManager.GetObject("logo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找类似 <svg viewBox="0 0 1024 1024"><path d="M372.134088 1004.846981a509.94041 509.94041 0 0 1-159.298198-76.821527l2.164315-103.514738a93.088793 93.088793 0 0 0-74.238313-93.088794l-101.536602-20.991523A509.428422 509.428422 0 0 1 0.011636 537.983409l82.243949-62.834935a93.088793 93.088793 0 0 0 26.507034-116.104998l-46.89348-92.390627A514.152678 514.152678 0 0 1 172.225904 128.415991l100.419536 25.133974a93.088793 93.088793 0 0 0 107.284834-51.664281l43.007023-94.252403a515.246472 515.246472 0 0 1 88.434354-7.61 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string setting { - get { - return ResourceManager.GetString("setting", resourceCulture); - } - } - } -} diff --git a/example/Overview/Properties/Resources.resx b/example/Overview/Properties/Resources.resx deleted file mode 100644 index 1cecf8d9..00000000 --- a/example/Overview/Properties/Resources.resx +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - <svg viewBox="0 0 1024 1024"><path d="M137.6 262.144a52.8 52.8 0 0 1 4.608-5.632l0.064-0.128 168.64-177.472a46.528 46.528 0 0 1 68.48 0.256c17.088 18.24 18.56 46.784 4.48 66.816l-4.736 5.76-85.312 89.728h231.04C728.704 241.536 896 401.152 896 600.832c0 194.816-159.168 351.424-356.352 358.976L524.8 960H176.448C149.696 960 128 937.024 128 908.672c0-25.984 18.24-47.424 41.856-50.816l6.592-0.512H524.8c152.576 0 274.368-116.16 274.368-256.64 0-136.128-114.496-249.472-260.544-256.256L524.8 344.128H174.528a45.952 45.952 0 0 1-3.008-0.256l4.928 0.256a46.08 46.08 0 0 1-29.248-10.368 50.432 50.432 0 0 1-9.408-9.984l4.288 5.248a51.072 51.072 0 0 1-13.376-27.52A51.84 51.84 0 0 1 128 292.864v-1.984l0.192-2.752L128 292.8a54.592 54.592 0 0 1 6.4-25.472l0.192-0.384 3.008-4.8z"></path></svg> - - - <svg viewBox="0 0 1024 1024"><path d="M186.86 493.94h-70.39c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h70.39c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.63-19.42-19.42-19.42z m77.86-200.71c7.47 7.47 19.59 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-45.98-45.98c-7.8-7.8-19.92-7.8-27.39 0-7.8 7.47-7.8 19.76 0 27.39-0.01 0 45.98 45.98 45.98 45.98z m5.64 434.62l-51.63 51.63c-7.8 7.47-7.8 19.59 0 27.39 7.47 7.47 19.76 7.47 27.39 0l51.63-51.63c7.47-7.8 7.47-19.92 0-27.39-7.47-7.81-19.92-7.81-27.39 0z m241.71-530.74c10.79 0 19.42-8.63 19.42-19.42v-60.1c0-10.79-8.63-19.42-19.42-19.42-10.79 0-19.42 8.63-19.42 19.42v60.26c0 10.63 8.63 19.26 19.42 19.26z m395.27 296.83h-61.76c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h61.76c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.8-19.42-19.42-19.42zM512.07 817.49c-10.79 0-19.42 8.96-19.42 19.42v71.88c0 10.79 8.63 19.42 19.42 19.42 10.79 0 19.42-8.63 19.42-19.42v-71.88c0-10.46-8.63-19.42-19.42-19.42z m265.78-597.63l-41.67 41.5c-7.47 7.8-7.47 19.92 0 27.39 7.8 7.8 19.92 7.8 27.39 0l41.67-41.5c7.47-7.8 7.47-19.92 0-27.39-7.63-7.81-19.92-7.81-27.39 0z m-20.25 511.8c-7.47-7.47-19.76-7.47-27.39 0-7.47 7.8-7.47 19.92 0 27.39l47.64 47.64c7.47 7.47 19.76 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-47.64-47.64zM516.22 256.21c-138.62 0-251.34 112.39-251.34 251.17 0 138.95 112.72 251.5 251.34 251.5s251.01-112.39 251.01-251.5c0-138.61-112.39-251.17-251.01-251.17z m0 459.02c-114.71 0-207.84-93.13-207.84-207.84 0-100.44 71.22-184.27 166.01-203.69-14.28 28.06-22.08 59.93-22.08 93.3 0 114.88 92.97 207.84 207.84 207.84 14.28 0 28.39-1.49 41.67-4.15-34.2 68.06-104.59 114.54-185.6 114.54z"></path></svg> - - - <svg viewBox="0 0 1024 1024"><path d="M186.86 493.94h-70.39c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h70.39c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.63-19.42-19.42-19.42zM264.72 293.23c7.47 7.47 19.59 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-45.98-45.98c-7.8-7.8-19.92-7.8-27.39 0-7.8 7.47-7.8 19.76 0 27.39-0.01 0 45.98 45.98 45.98 45.98zM270.36 727.85l-51.63 51.63c-7.8 7.47-7.8 19.59 0 27.39 7.47 7.47 19.76 7.47 27.39 0l51.63-51.63c7.47-7.8 7.47-19.92 0-27.39-7.47-7.81-19.92-7.81-27.39 0zM512.07 197.11c10.79 0 19.42-8.63 19.42-19.42v-60.1c0-10.79-8.63-19.42-19.42-19.42-10.79 0-19.42 8.63-19.42 19.42v60.26c0 10.63 8.63 19.26 19.42 19.26zM907.34 493.94h-61.76c-10.79 0-19.42 8.63-19.42 19.42 0 10.79 8.63 19.42 19.42 19.42h61.76c10.79 0 19.42-8.63 19.42-19.42 0-10.79-8.8-19.42-19.42-19.42zM512.07 817.49c-10.79 0-19.42 8.96-19.42 19.42v71.88c0 10.79 8.63 19.42 19.42 19.42 10.79 0 19.42-8.63 19.42-19.42v-71.88c0-10.46-8.63-19.42-19.42-19.42zM777.85 219.86l-41.67 41.5c-7.47 7.8-7.47 19.92 0 27.39 7.8 7.8 19.92 7.8 27.39 0l41.67-41.5c7.47-7.8 7.47-19.92 0-27.39-7.63-7.81-19.92-7.81-27.39 0zM757.6 731.66c-7.47-7.47-19.76-7.47-27.39 0-7.47 7.8-7.47 19.92 0 27.39l47.64 47.64c7.47 7.47 19.76 7.47 27.39 0 7.47-7.8 7.47-19.92 0-27.39l-47.64-47.64zM516.22 256.21c-138.62 0-251.34 112.39-251.34 251.17 0 138.95 112.72 251.5 251.34 251.5s251.01-112.39 251.01-251.5c0-138.61-112.39-251.17-251.01-251.17z"></path></svg> - - - - ..\Resources\bg\bg1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\bg\bg2.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\bg\bg3.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\bg\bg4.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\bg\bg5.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\bg\bg6.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\bg\bg7.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - <svg viewBox="0 0 1024 1024"><path d="M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3 0.1-35.3-7-69.6-20.9-101.9z"></path></svg> - - - ..\Resources\img1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - <svg viewBox="0 0 1024 1024"><path d="M372.134088 1004.846981a509.94041 509.94041 0 0 1-159.298198-76.821527l2.164315-103.514738a93.088793 93.088793 0 0 0-74.238313-93.088794l-101.536602-20.991523A509.428422 509.428422 0 0 1 0.011636 537.983409l82.243949-62.834935a93.088793 93.088793 0 0 0 26.507034-116.104998l-46.89348-92.390627A514.152678 514.152678 0 0 1 172.225904 128.415991l100.419536 25.133974a93.088793 93.088793 0 0 0 107.284834-51.664281l43.007023-94.252403a515.246472 515.246472 0 0 1 88.434354-7.610009c30.137497 0 59.669917 2.606486 88.411081 7.610009l43.007023 94.252403a93.088793 93.088793 0 0 0 107.284834 51.664281l100.396264-25.133974a514.152678 514.152678 0 0 1 110.356765 138.236858l-46.870208 92.390627a93.088793 93.088793 0 0 0 26.483762 116.104998l82.243949 62.834935a509.428422 509.428422 0 0 1-39.213654 172.44699l-101.51333 20.968251a93.088793 93.088793 0 0 0-74.238312 93.088793l2.141042 103.538011a509.94041 509.94041 0 0 1-159.298198 76.798255l-79.684007-66.279221a93.088793 93.088793 0 0 0-119.060567 0l-79.684007 66.302493zM511.348378 721.461421a209.449785 209.449785 0 1 0 0-418.89957 209.449785 209.449785 0 0 0 0 418.89957z"></path></svg> - - \ No newline at end of file diff --git a/example/Overview/Resources/bg/bg1.jpg b/example/Overview/Resources/bg/bg1.jpg deleted file mode 100644 index fbb713be..00000000 Binary files a/example/Overview/Resources/bg/bg1.jpg and /dev/null differ diff --git a/example/Overview/Resources/bg/bg2.jpg b/example/Overview/Resources/bg/bg2.jpg deleted file mode 100644 index 94332f47..00000000 Binary files a/example/Overview/Resources/bg/bg2.jpg and /dev/null differ diff --git a/example/Overview/Resources/bg/bg3.jpg b/example/Overview/Resources/bg/bg3.jpg deleted file mode 100644 index 59816cff..00000000 Binary files a/example/Overview/Resources/bg/bg3.jpg and /dev/null differ diff --git a/example/Overview/Resources/img1.jpg b/example/Overview/Resources/img1.jpg deleted file mode 100644 index 92f0f23a..00000000 Binary files a/example/Overview/Resources/img1.jpg and /dev/null differ