mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-03-16 18:50:43 +08:00
🦄 Beautiful AntdUI
This commit is contained in:
171
README.md
171
README.md
@@ -1,20 +1,4 @@
|
||||
<div align="center">
|
||||
|
||||
<img height="100" src="src/logo.png">
|
||||
|
||||
<h1>AntdUI</h1>
|
||||
|
||||
[](https://ant-design.antgroup.com/components/overview-cn)
|
||||
[](https://www.nuget.org/packages/AntdUI)
|
||||
[](https://www.nuget.org/packages/AntdUI)
|
||||
[](https://qm.qq.com/cgi-bin/qm/qr?k=ZfuHy4LqYC57DYTWAUWkQD9EjdVfvx3y&jump_from=webapi&authKey=4sAgZN0XlFHx+4MW9PdkiGgg435QfKcQdu5lKi1Fp4PP0O+DL6NaKAcV8ybCLM97)
|
||||
[](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
中文・[English](README-en.md)・[文档](doc/wiki/zh/Home.md)・[演示](https://gitee.com/mubaiyanghua/antdui-demo)
|
||||
|
||||
</div>
|
||||
|
||||

|
||||
# AntdUI
|
||||
|
||||
### 🦄 介绍
|
||||
|
||||
@@ -42,118 +26,73 @@
|
||||
|
||||
⬇️| 通用 `2` | 动画 | 禁用 |
|
||||
:---:|:--|:--:|:--:|
|
||||
➡️| [**Button** 按钮](doc/wiki/zh/Control/Button.md) | ✅ | ✅ |
|
||||
➡️| [**FloatButton** 悬浮按钮](doc/wiki/zh/Control/FloatButton.md) | ✅ | ❎ |
|
||||
➡️| [**Button** 按钮](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Button.md) | ✅ | ✅ |
|
||||
➡️| [**FloatButton** 悬浮按钮](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/FloatButton.md) | ✅ | ❎ |
|
||||
||||
|
||||
⬇️| 布局 `4` | 动画 | 禁用 |
|
||||
➡️| [**Divider** 分割线](doc/wiki/zh/Control/Divider.md) | ❎ | ❎ |
|
||||
➡️| [**StackPanel** 堆栈布局](doc/wiki/zh/Control/StackPanel.md) | ❎ | ❎ |
|
||||
➡️| [**FlowPanel** 流动布局](doc/wiki/zh/Control/FlowPanel.md) | ❎ | ❎ |
|
||||
➡️| [**GridPanel** 格栅布局](doc/wiki/zh/Control/GridPanel.md) | ❎ | ❎ |
|
||||
➡️| [**Divider** 分割线](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Divider.md) | ❎ | ❎ |
|
||||
➡️| [**StackPanel** 堆栈布局](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/StackPanel.md) | ❎ | ❎ |
|
||||
➡️| [**FlowPanel** 流动布局](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/FlowPanel.md) | ❎ | ❎ |
|
||||
➡️| [**GridPanel** 格栅布局](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/GridPanel.md) | ❎ | ❎ |
|
||||
||||
|
||||
⬇️| 导航 `6` | 动画 | 禁用 |
|
||||
➡️| [**Breadcrumb** 面包屑](doc/wiki/zh/Control/Breadcrumb.md) | ✅ | ❎ |
|
||||
➡️| [**Dropdown** 下拉菜单](doc/wiki/zh/Control/Dropdown.md) | ✅ | ✅ |
|
||||
➡️| [**Menu** 导航菜单](doc/wiki/zh/Control/Menu.md) | ✅ | ❎ |
|
||||
➡️| [**PageHeader** 页头](doc/wiki/zh/Control/PageHeader.md) | ✅ | ❎ |
|
||||
➡️| [**Pagination** 分页](doc/wiki/zh/Control/Pagination.md) | ✅ | ✅ |
|
||||
➡️| [**Steps** 步骤条](doc/wiki/zh/Control/Steps.md) | ❎ | ❎ |
|
||||
➡️| [**Breadcrumb** 面包屑](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Breadcrumb.md) | ✅ | ❎ |
|
||||
➡️| [**Dropdown** 下拉菜单](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Dropdown.md) | ✅ | ✅ |
|
||||
➡️| [**Menu** 导航菜单](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Menu.md) | ✅ | ❎ |
|
||||
➡️| [**PageHeader** 页头](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/PageHeader.md) | ✅ | ❎ |
|
||||
➡️| [**Pagination** 分页](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Pagination.md) | ✅ | ✅ |
|
||||
➡️| [**Steps** 步骤条](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Steps.md) | ❎ | ❎ |
|
||||
||||
|
||||
⬇️| 数据录入 `13` | 动画 | 禁用 |
|
||||
➡️| [**Checkbox** 多选框](doc/wiki/zh/Control/Checkbox.md) | ✅ | ✅ |
|
||||
➡️| [**ColorPicker** 颜色选择器](doc/wiki/zh/Control/ColorPicker.md) | ✅ | ✅ |
|
||||
➡️| [**DatePicker** 日期选择框](doc/wiki/zh/Control/DatePicker.md) | ✅ | ✅ |
|
||||
➡️| [**DatePickerRange** 日期范围选择框](doc/wiki/zh/Control/DatePicker#DatePickerRange.md) | ✅ | ✅ |
|
||||
➡️| [**Input** 输入框](doc/wiki/zh/Control/Input.md) | ✅ | ✅ |
|
||||
➡️| [**InputNumber** 数字输入框](doc/wiki/zh/Control/Input#InputNumber.md) | ✅ | ✅ |
|
||||
➡️| [**Radio** 单选框](doc/wiki/zh/Control/Radio.md) | ✅ | ✅ |
|
||||
➡️| [**Rate** 评分](doc/wiki/zh/Control/Rate.md) | ✅ | ❎ |
|
||||
➡️| [**Select** 选择器](doc/wiki/zh/Control/Select.md) | ✅ | ✅ |
|
||||
➡️| [**Slider** 滑动输入条](doc/wiki/zh/Control/Slider.md) | ✅ | ❎ |
|
||||
➡️| [**Switch** 开关](doc/wiki/zh/Control/Switch.md) | ✅ | ✅ |
|
||||
➡️| [**TimePicker** 时间选择框](doc/wiki/zh/Control/TimePicker.md) | ✅ | ✅ |
|
||||
➡️| [**UploadDragger** 拖拽上传](doc/wiki/zh/Control/UploadDragger.md) | ✅ | ❎ |
|
||||
➡️| [**Checkbox** 多选框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Checkbox.md) | ✅ | ✅ |
|
||||
➡️| [**ColorPicker** 颜色选择器](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/ColorPicker.md) | ✅ | ✅ |
|
||||
➡️| [**DatePicker** 日期选择框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/DatePicker.md) | ✅ | ✅ |
|
||||
➡️| [**DatePickerRange** 日期范围选择框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/DatePicker#DatePickerRange.md) | ✅ | ✅ |
|
||||
➡️| [**Input** 输入框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Input.md) | ✅ | ✅ |
|
||||
➡️| [**InputNumber** 数字输入框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Input#InputNumber.md) | ✅ | ✅ |
|
||||
➡️| [**Radio** 单选框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Radio.md) | ✅ | ✅ |
|
||||
➡️| [**Rate** 评分](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Rate.md) | ✅ | ❎ |
|
||||
➡️| [**Select** 选择器](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Select.md) | ✅ | ✅ |
|
||||
➡️| [**Slider** 滑动输入条](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Slider.md) | ✅ | ❎ |
|
||||
➡️| [**Switch** 开关](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Switch.md) | ✅ | ✅ |
|
||||
➡️| [**TimePicker** 时间选择框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/TimePicker.md) | ✅ | ✅ |
|
||||
➡️| [**UploadDragger** 拖拽上传](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/UploadDragger.md) | ✅ | ❎ |
|
||||
||||
|
||||
⬇️| 数据展示 `17` | 动画 | 禁用 |
|
||||
➡️| [**Avatar** 头像](doc/wiki/zh/Control/Avatar.md) | ❎ | ❎ |
|
||||
➡️| [**Badge** 徽标数](doc/wiki/zh/Control/Badge.md) | ✅ | ❎ |
|
||||
➡️| [**Calendar** 日历](doc/wiki/zh/Control/Calendar.md) | ✅ | ❎ |
|
||||
➡️| [**Panel** 面板](doc/wiki/zh/Control/Panel.md) | ✅ | ❎ |
|
||||
➡️| [**Carousel** 走马灯](doc/wiki/zh/Control/Carousel.md) | ✅ | ❎ |
|
||||
➡️| [**Collapse** 折叠面板](doc/wiki/zh/Control/Collapse.md) | ✅ | ❎ |
|
||||
➡️| [**Preview** 图片预览](doc/wiki/zh/Control/Preview.md) | ✅ | ✅ |
|
||||
➡️| [**Popover** 气泡卡片](doc/wiki/zh/Control/Popover.md) | ✅ | ❎ |
|
||||
➡️| [**Segmented** 分段控制器](doc/wiki/zh/Control/Segmented.md) | ✅ | ✅ |
|
||||
➡️| [**Table** 表格](doc/wiki/zh/Control/Table.md) | ✅ | ❎ |
|
||||
➡️| [**Tabs** 标签页](doc/wiki/zh/Control/Tabs.md) | ✅ | ❎ |
|
||||
➡️| [**Tag** 标签](doc/wiki/zh/Control/Tag.md) | ✅ | ❎ |
|
||||
➡️| [**Timeline** 时间轴](doc/wiki/zh/Control/Timeline.md) | ❎ | ❎ |
|
||||
➡️| [**Tooltip** 文字提示](doc/wiki/zh/Control/Tooltip.md) | ✅ | ❎ |
|
||||
➡️| [**Tree** 树形控件](doc/wiki/zh/Control/Tree.md) | ✅ | ✅ |
|
||||
➡️| [**Label** 文本](doc/wiki/zh/Control/Label.md) | ✅ | ❎ |
|
||||
➡️| [**LabelTime** 时间文本](doc/wiki/zh/Control/LabelTime.md) | ✅ | ❎ |
|
||||
➡️| [**Avatar** 头像](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Avatar.md) | ❎ | ❎ |
|
||||
➡️| [**Badge** 徽标数](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Badge.md) | ✅ | ❎ |
|
||||
➡️| [**Calendar** 日历](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Calendar.md) | ✅ | ❎ |
|
||||
➡️| [**Panel** 面板](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Panel.md) | ✅ | ❎ |
|
||||
➡️| [**Carousel** 走马灯](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Carousel.md) | ✅ | ❎ |
|
||||
➡️| [**Collapse** 折叠面板](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Collapse.md) | ✅ | ❎ |
|
||||
➡️| [**Preview** 图片预览](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Preview.md) | ✅ | ✅ |
|
||||
➡️| [**Popover** 气泡卡片](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Popover.md) | ✅ | ❎ |
|
||||
➡️| [**Segmented** 分段控制器](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Segmented.md) | ✅ | ✅ |
|
||||
➡️| [**Table** 表格](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Table.md) | ✅ | ❎ |
|
||||
➡️| [**Tabs** 标签页](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Tabs.md) | ✅ | ❎ |
|
||||
➡️| [**Tag** 标签](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Tag.md) | ✅ | ❎ |
|
||||
➡️| [**Timeline** 时间轴](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Timeline.md) | ❎ | ❎ |
|
||||
➡️| [**Tooltip** 文字提示](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Tooltip.md) | ✅ | ❎ |
|
||||
➡️| [**Tree** 树形控件](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Tree.md) | ✅ | ✅ |
|
||||
➡️| [**Label** 文本](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Label.md) | ✅ | ❎ |
|
||||
➡️| [**LabelTime** 时间文本](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/LabelTime.md) | ✅ | ❎ |
|
||||
||||
|
||||
⬇️| 反馈 `7` | 动画 | 禁用 |
|
||||
➡️| [**Alert** 警告提示](doc/wiki/zh/Control/Alert.md) | ✅ | ❎ |
|
||||
➡️| [**Drawer** 抽屉](doc/wiki/zh/Control/Drawer.md) | ✅ | ❎ |
|
||||
➡️| [**Message** 全局提示](doc/wiki/zh/Control/Message.md) | ✅ | ❎ |
|
||||
➡️| [**Modal** 对话框](doc/wiki/zh/Control/Modal.md) | ✅ | ❎ |
|
||||
➡️| [**Notification** 通知提醒框](doc/wiki/zh/Control/Notification.md) | ✅ | ❎ |
|
||||
➡️| [**Progress** 进度条](doc/wiki/zh/Control/Progress.md) | ✅ | ❎ |
|
||||
➡️| [**Spin** 加载中](doc/wiki/zh/Control/Spin.md) | ✅ | ❎ |
|
||||
➡️| [**Alert** 警告提示](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Alert.md) | ✅ | ❎ |
|
||||
➡️| [**Drawer** 抽屉](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Drawer.md) | ✅ | ❎ |
|
||||
➡️| [**Message** 全局提示](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Message.md) | ✅ | ❎ |
|
||||
➡️| [**Modal** 对话框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Modal.md) | ✅ | ❎ |
|
||||
➡️| [**Notification** 通知提醒框](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Notification.md) | ✅ | ❎ |
|
||||
➡️| [**Progress** 进度条](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Progress.md) | ✅ | ❎ |
|
||||
➡️| [**Spin** 加载中](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Spin.md) | ✅ | ❎ |
|
||||
||||
|
||||
⬇️| 聊天 `2` | 动画 | 禁用 |
|
||||
➡️| **MsgList** 好友消息列表 | ✅ | ❎ |
|
||||
➡️| **ChatList** 气泡聊天列表 | ✅ | ❎ |
|
||||
||||
|
||||
⬇️| 其他 `5` | 动画 | 禁用 |
|
||||
➡️| [**WindowBar** 窗口栏](doc/wiki/zh/Control/WindowBar.md) | ✅ | ❎ |
|
||||
➡️| [**Battery** 电量](doc/wiki/zh/Control/Battery.md) | ✅ | ❎ |
|
||||
➡️| [**Signal** 信号强度](doc/wiki/zh/Control/Signal.md) | ✅ | ❎ |
|
||||
➡️| [**ContextMenuStrip** 右键菜单](doc/wiki/zh/Control/ContextMenuStrip.md) | ✅ | ❎ |
|
||||
➡️| **Image3D** 图片3D | ✅ | ❎ |
|
||||
|
||||
### 🐿️ 捐赠 🥣💲🐖👚
|
||||

|
||||
|
||||
### 🎨 截图
|
||||
|
||||
#### ChatUI
|
||||
|
||||
> 纯GDI,不是TextBox等拖控件
|
||||
|
||||

|
||||
|
||||
#### 控件
|
||||
|
||||
| **Button** 按钮 | **Badge** 徽标数 |
|
||||
| :--: | :--: |
|
||||
|  |  |
|
||||
| **Carousel** 走马灯 | **Input** 输入框 |
|
||||
|  |  |
|
||||
| **Progress** 进度条 | **Avatar** 头像 |
|
||||
|  |  |
|
||||
| **Checkbox** 多选框 | **Radio** 单选框 |
|
||||
|  |  |
|
||||
| **Tooltip** 提示 | **Panel** 面板 |
|
||||
|  |  |
|
||||
| **Tabs** 标签页 | **Alert** 警告提示 |
|
||||
|  |  |
|
||||
| **Segmented** 分段控制器 | **Menu** 导航菜单 |
|
||||
|  |  |
|
||||
| **Divider** 分割线 | **Slider** 滑动条 |
|
||||
|  |  |
|
||||
| **Message** 全局提示 | **Notification** 通知提醒框 |
|
||||
|  |  |
|
||||
| **Switch** 开关 | **Table** 表格 |
|
||||
|  |  |
|
||||
|
||||
|
||||
## 📢 特别声明
|
||||
|
||||
AntdUI 项目已加入 [dotNET China](https://gitee.com/dotnetchina) 组织。<br/>
|
||||
|
||||

|
||||
|
||||
|
||||
🦦 招募小伙伴一起维护项目
|
||||
➡️| [**WindowBar** 窗口栏](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/WindowBar.md) | ✅ | ❎ |
|
||||
➡️| [**Battery** 电量](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Battery.md) | ✅ | ❎ |
|
||||
➡️| [**Signal** 信号强度](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/Signal.md) | ✅ | ❎ |
|
||||
➡️| [**ContextMenuStrip** 右键菜单](https://gitee.com/antdui/AntdUI/blob/main/doc/wiki/zh/Control/ContextMenuStrip.md) | ✅ | ❎ |
|
||||
➡️| **Image3D** 图片3D | ✅ | ❎ |
|
||||
6
example/Demo/Controls/Alert.Designer.cs
generated
6
example/Demo/Controls/Alert.Designer.cs
generated
@@ -80,6 +80,8 @@ namespace Demo.Controls
|
||||
header1.Description = "警告提示,展现需要关注的信息。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Alert.Description";
|
||||
header1.LocalizationText = "Alert.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -110,6 +112,7 @@ namespace Demo.Controls
|
||||
alert12.Dock = DockStyle.Top;
|
||||
alert12.Font = new Font("楷体", 12F, FontStyle.Bold);
|
||||
alert12.ForeColor = Color.White;
|
||||
alert12.LocalizationText = "Alert.{id}";
|
||||
alert12.Location = new Point(0, 436);
|
||||
alert12.Loop = true;
|
||||
alert12.Name = "alert12";
|
||||
@@ -134,6 +137,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "Alert.{id}";
|
||||
divider3.Location = new Point(0, 384);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -206,6 +210,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Alert.{id}";
|
||||
divider2.Location = new Point(0, 111);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -317,6 +322,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Alert.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
3
example/Demo/Controls/Avatar.Designer.cs
generated
3
example/Demo/Controls/Avatar.Designer.cs
generated
@@ -70,6 +70,8 @@ namespace Demo.Controls
|
||||
header1.Description = "用来代表用户或事物,支持图片、图标或字符展示。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Avatar.Description";
|
||||
header1.LocalizationText = "Avatar.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -126,6 +128,7 @@ namespace Demo.Controls
|
||||
avatar10.Badge = "0";
|
||||
avatar10.Font = new Font("Microsoft YaHei UI", 14F);
|
||||
avatar10.ForeColor = Color.White;
|
||||
avatar10.LocalizationText = "Avatar.{id}";
|
||||
avatar10.Location = new Point(248, 6);
|
||||
avatar10.Name = "avatar10";
|
||||
avatar10.Radius = 10;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
33
example/Demo/Controls/Badge.Designer.cs
generated
33
example/Demo/Controls/Badge.Designer.cs
generated
@@ -49,6 +49,7 @@ namespace Demo.Controls
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
tBadge1 = new AntdUI.Badge();
|
||||
tBadge2 = new AntdUI.Badge();
|
||||
tBadge3 = new AntdUI.Badge();
|
||||
@@ -73,7 +74,6 @@ namespace Demo.Controls
|
||||
tBadge28 = new AntdUI.Badge();
|
||||
tBadge29 = new AntdUI.Badge();
|
||||
tBadge30 = new AntdUI.Badge();
|
||||
header1 = new AntdUI.PageHeader();
|
||||
flowLayoutPanel1 = new FlowLayoutPanel();
|
||||
divider1 = new AntdUI.Divider();
|
||||
label2 = new Label();
|
||||
@@ -84,6 +84,21 @@ namespace Demo.Controls
|
||||
flowLayoutPanel1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// header1
|
||||
//
|
||||
header1.Description = "图标右上角的圆形徽标数字。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Badge.Description";
|
||||
header1.LocalizationText = "Badge.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
header1.Size = new Size(543, 74);
|
||||
header1.TabIndex = 0;
|
||||
header1.Text = "Badge 徽标数";
|
||||
header1.UseTitleFont = true;
|
||||
//
|
||||
// tBadge1
|
||||
//
|
||||
tBadge1.Dock = DockStyle.Top;
|
||||
@@ -328,19 +343,6 @@ namespace Demo.Controls
|
||||
tBadge30.TabIndex = 0;
|
||||
tBadge30.Text = "Success";
|
||||
//
|
||||
// header1
|
||||
//
|
||||
header1.Description = "图标右上角的圆形徽标数字。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
header1.Size = new Size(543, 74);
|
||||
header1.TabIndex = 0;
|
||||
header1.Text = "Badge 徽标数";
|
||||
header1.UseTitleFont = true;
|
||||
//
|
||||
// flowLayoutPanel1
|
||||
//
|
||||
flowLayoutPanel1.AutoScroll = true;
|
||||
@@ -356,6 +358,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Badge.{id}";
|
||||
divider1.Location = new Point(0, 74);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -391,6 +394,7 @@ namespace Demo.Controls
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private AntdUI.Badge tBadge1;
|
||||
private AntdUI.Badge tBadge2;
|
||||
private AntdUI.Badge tBadge3;
|
||||
@@ -415,7 +419,6 @@ namespace Demo.Controls
|
||||
private AntdUI.Badge tBadge28;
|
||||
private AntdUI.Badge tBadge29;
|
||||
private AntdUI.Badge tBadge30;
|
||||
private AntdUI.PageHeader header1;
|
||||
private FlowLayoutPanel flowLayoutPanel1;
|
||||
private AntdUI.Divider divider1;
|
||||
private Label label2;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
9
example/Demo/Controls/Breadcrumb.Designer.cs
generated
9
example/Demo/Controls/Breadcrumb.Designer.cs
generated
@@ -67,6 +67,8 @@ namespace Demo.Controls
|
||||
header1.Description = "显示当前页面在系统层级结构中的位置,并能向上返回。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Breadcrumb.Description";
|
||||
header1.LocalizationText = "Breadcrumb.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -78,9 +80,13 @@ namespace Demo.Controls
|
||||
// breadcrumb1
|
||||
//
|
||||
breadcrumb1.Dock = DockStyle.Top;
|
||||
breadcrumbItem1.ID = null;
|
||||
breadcrumbItem1.Text = "Home";
|
||||
breadcrumbItem2.ID = null;
|
||||
breadcrumbItem2.Text = "Application Center";
|
||||
breadcrumbItem3.ID = null;
|
||||
breadcrumbItem3.Text = "Application List";
|
||||
breadcrumbItem4.ID = null;
|
||||
breadcrumbItem4.Text = "An Application";
|
||||
breadcrumb1.Items.Add(breadcrumbItem1);
|
||||
breadcrumb1.Items.Add(breadcrumbItem2);
|
||||
@@ -97,8 +103,11 @@ namespace Demo.Controls
|
||||
//
|
||||
breadcrumb2.Dock = DockStyle.Top;
|
||||
breadcrumbItem5.IconSvg = "HomeOutlined";
|
||||
breadcrumbItem5.ID = null;
|
||||
breadcrumbItem6.IconSvg = "UserOutlined";
|
||||
breadcrumbItem6.ID = null;
|
||||
breadcrumbItem6.Text = "Application List";
|
||||
breadcrumbItem7.ID = null;
|
||||
breadcrumbItem7.Text = "Application";
|
||||
breadcrumb2.Items.Add(breadcrumbItem5);
|
||||
breadcrumb2.Items.Add(breadcrumbItem6);
|
||||
|
||||
11
example/Demo/Controls/Button.Designer.cs
generated
11
example/Demo/Controls/Button.Designer.cs
generated
@@ -118,6 +118,8 @@ namespace Demo.Controls
|
||||
header1.Description = "按钮用于开始一个即时操作。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Button.Description";
|
||||
header1.LocalizationText = "Button.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -263,6 +265,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider5.Dock = DockStyle.Top;
|
||||
divider5.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider5.LocalizationText = "Button.{id}";
|
||||
divider5.Location = new Point(0, 495);
|
||||
divider5.Name = "divider5";
|
||||
divider5.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -396,6 +399,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider4.Dock = DockStyle.Top;
|
||||
divider4.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider4.LocalizationText = "Button.{id}";
|
||||
divider4.Location = new Point(0, 362);
|
||||
divider4.Name = "divider4";
|
||||
divider4.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -517,6 +521,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "Button.{id}";
|
||||
divider3.Location = new Point(0, 231);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -601,6 +606,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider6.Dock = DockStyle.Top;
|
||||
divider6.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider6.LocalizationText = "Button.{id}";
|
||||
divider6.Location = new Point(0, 154);
|
||||
divider6.Name = "divider6";
|
||||
divider6.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -639,6 +645,7 @@ namespace Demo.Controls
|
||||
//
|
||||
button11.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
button11.IconSvg = "SearchOutlined";
|
||||
button11.LocalizationText = "Button.Search";
|
||||
button11.Location = new Point(56, 3);
|
||||
button11.Name = "button11";
|
||||
button11.Size = new Size(95, 47);
|
||||
@@ -664,6 +671,7 @@ namespace Demo.Controls
|
||||
button13.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
button13.BorderWidth = 1F;
|
||||
button13.IconSvg = "SearchOutlined";
|
||||
button13.LocalizationText = "Button.Search";
|
||||
button13.Location = new Point(210, 3);
|
||||
button13.Name = "button13";
|
||||
button13.Size = new Size(95, 47);
|
||||
@@ -688,6 +696,7 @@ namespace Demo.Controls
|
||||
//
|
||||
button15.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
button15.IconSvg = "SearchOutlined";
|
||||
button15.LocalizationText = "Button.Search";
|
||||
button15.Location = new Point(364, 3);
|
||||
button15.Name = "button15";
|
||||
button15.Size = new Size(95, 47);
|
||||
@@ -713,6 +722,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Button.{id}";
|
||||
divider2.Location = new Point(0, 77);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -794,6 +804,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Button.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
2
example/Demo/Controls/Carousel.Designer.cs
generated
2
example/Demo/Controls/Carousel.Designer.cs
generated
@@ -82,6 +82,8 @@ namespace Demo.Controls
|
||||
header1.Description = "旋转木马,一组轮播的区域。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Carousel.Description";
|
||||
header1.LocalizationText = "Carousel.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
2
example/Demo/Controls/Checkbox.Designer.cs
generated
2
example/Demo/Controls/Checkbox.Designer.cs
generated
@@ -71,6 +71,8 @@ namespace Demo.Controls
|
||||
header1.Description = "多选框。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Checkbox.Description";
|
||||
header1.LocalizationText = "Checkbox.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
98
example/Demo/Controls/Collapse.Designer.cs
generated
98
example/Demo/Controls/Collapse.Designer.cs
generated
@@ -52,14 +52,12 @@ namespace Demo.Controls
|
||||
header1 = new AntdUI.PageHeader();
|
||||
collapse1 = new AntdUI.Collapse();
|
||||
collapseItem1 = new AntdUI.CollapseItem();
|
||||
collapseItem2 = new AntdUI.CollapseItem();
|
||||
collapseItem3 = new AntdUI.CollapseItem();
|
||||
label1 = new Label();
|
||||
collapseItem2 = new AntdUI.CollapseItem();
|
||||
label2 = new Label();
|
||||
collapseItem3 = new AntdUI.CollapseItem();
|
||||
label3 = new Label();
|
||||
panel1 = new System.Windows.Forms.Panel();
|
||||
divider1 = new AntdUI.Divider();
|
||||
divider2 = new AntdUI.Divider();
|
||||
collapse2 = new AntdUI.Collapse();
|
||||
collapseItem4 = new AntdUI.CollapseItem();
|
||||
label4 = new Label();
|
||||
@@ -67,6 +65,8 @@ namespace Demo.Controls
|
||||
label5 = new Label();
|
||||
collapseItem6 = new AntdUI.CollapseItem();
|
||||
label6 = new Label();
|
||||
divider2 = new AntdUI.Divider();
|
||||
divider1 = new AntdUI.Divider();
|
||||
collapse1.SuspendLayout();
|
||||
collapseItem1.SuspendLayout();
|
||||
collapseItem2.SuspendLayout();
|
||||
@@ -83,6 +83,8 @@ namespace Demo.Controls
|
||||
header1.Description = "可以折叠/展开的内容区域。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Collapse.Description";
|
||||
header1.LocalizationText = "Collapse.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -93,9 +95,6 @@ namespace Demo.Controls
|
||||
//
|
||||
// collapse1
|
||||
//
|
||||
collapse1.Controls.Add(collapseItem1);
|
||||
collapse1.Controls.Add(collapseItem2);
|
||||
collapse1.Controls.Add(collapseItem3);
|
||||
collapse1.Dock = DockStyle.Top;
|
||||
collapse1.Items.Add(collapseItem1);
|
||||
collapse1.Items.Add(collapseItem2);
|
||||
@@ -115,24 +114,6 @@ namespace Demo.Controls
|
||||
collapseItem1.Text = "This is panel header 1";
|
||||
collapseItem1.Click += collapseItem1_Click;
|
||||
//
|
||||
// collapseItem2
|
||||
//
|
||||
collapseItem2.Controls.Add(label2);
|
||||
collapseItem2.Location = new Point(-702, -48);
|
||||
collapseItem2.Name = "collapseItem2";
|
||||
collapseItem2.Size = new Size(702, 48);
|
||||
collapseItem2.TabIndex = 1;
|
||||
collapseItem2.Text = "This is panel header 2";
|
||||
//
|
||||
// collapseItem3
|
||||
//
|
||||
collapseItem3.Controls.Add(label3);
|
||||
collapseItem3.Location = new Point(-702, -48);
|
||||
collapseItem3.Name = "collapseItem3";
|
||||
collapseItem3.Size = new Size(702, 48);
|
||||
collapseItem3.TabIndex = 2;
|
||||
collapseItem3.Text = "This is panel header 3";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoEllipsis = true;
|
||||
@@ -143,6 +124,15 @@ namespace Demo.Controls
|
||||
label1.TabIndex = 0;
|
||||
label1.Text = "A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.";
|
||||
//
|
||||
// collapseItem2
|
||||
//
|
||||
collapseItem2.Controls.Add(label2);
|
||||
collapseItem2.Location = new Point(-702, -48);
|
||||
collapseItem2.Name = "collapseItem2";
|
||||
collapseItem2.Size = new Size(702, 48);
|
||||
collapseItem2.TabIndex = 1;
|
||||
collapseItem2.Text = "This is panel header 2";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoEllipsis = true;
|
||||
@@ -153,6 +143,15 @@ namespace Demo.Controls
|
||||
label2.TabIndex = 1;
|
||||
label2.Text = "A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.";
|
||||
//
|
||||
// collapseItem3
|
||||
//
|
||||
collapseItem3.Controls.Add(label3);
|
||||
collapseItem3.Location = new Point(-702, -48);
|
||||
collapseItem3.Name = "collapseItem3";
|
||||
collapseItem3.Size = new Size(702, 48);
|
||||
collapseItem3.TabIndex = 2;
|
||||
collapseItem3.Text = "This is panel header 3";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoEllipsis = true;
|
||||
@@ -176,34 +175,9 @@ namespace Demo.Controls
|
||||
panel1.Size = new Size(740, 386);
|
||||
panel1.TabIndex = 0;
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
divider1.Size = new Size(723, 22);
|
||||
divider1.TabIndex = 0;
|
||||
divider1.Text = "常规";
|
||||
//
|
||||
// divider2
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.Location = new Point(0, 470);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
divider2.Size = new Size(723, 22);
|
||||
divider2.TabIndex = 1;
|
||||
divider2.Text = "无边框";
|
||||
//
|
||||
// collapse2
|
||||
//
|
||||
collapse2.BorderWidth = 0F;
|
||||
collapse2.Controls.Add(collapseItem4);
|
||||
collapse2.Controls.Add(collapseItem5);
|
||||
collapse2.Controls.Add(collapseItem6);
|
||||
collapse2.Dock = DockStyle.Top;
|
||||
collapse2.Gap = 8;
|
||||
collapse2.Items.Add(collapseItem4);
|
||||
@@ -273,6 +247,30 @@ namespace Demo.Controls
|
||||
label6.TabIndex = 1;
|
||||
label6.Text = "A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.";
|
||||
//
|
||||
// divider2
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Collapse.{id}";
|
||||
divider2.Location = new Point(0, 470);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
divider2.Size = new Size(723, 22);
|
||||
divider2.TabIndex = 1;
|
||||
divider2.Text = "无边框";
|
||||
//
|
||||
// divider1
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Collapse.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
divider1.Size = new Size(723, 22);
|
||||
divider1.TabIndex = 0;
|
||||
divider1.Text = "常规";
|
||||
//
|
||||
// Collapse
|
||||
//
|
||||
Controls.Add(panel1);
|
||||
|
||||
4
example/Demo/Controls/ColorPicker.Designer.cs
generated
4
example/Demo/Controls/ColorPicker.Designer.cs
generated
@@ -61,6 +61,8 @@ namespace Demo.Controls
|
||||
header1.Description = "提供颜色选取的组件。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "ColorPicker.Description";
|
||||
header1.LocalizationText = "ColorPicker.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -95,7 +97,7 @@ namespace Demo.Controls
|
||||
colorPicker1.Location = new Point(56, 3);
|
||||
colorPicker1.Name = "colorPicker1";
|
||||
colorPicker1.ShowText = true;
|
||||
colorPicker1.Size = new Size(133, 47);
|
||||
colorPicker1.Size = new Size(134, 47);
|
||||
colorPicker1.TabIndex = 26;
|
||||
colorPicker1.Value = Color.FromArgb(22, 119, 255);
|
||||
//
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
19
example/Demo/Controls/DatePicker.Designer.cs
generated
19
example/Demo/Controls/DatePicker.Designer.cs
generated
@@ -77,6 +77,8 @@ namespace Demo.Controls
|
||||
header1.Description = "输入或选择日期的控件。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "DatePicker.Description";
|
||||
header1.LocalizationText = "DatePicker.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -123,10 +125,12 @@ namespace Demo.Controls
|
||||
// datePickerRange4
|
||||
//
|
||||
datePickerRange4.AllowClear = true;
|
||||
datePickerRange4.LocalizationPlaceholderEnd = "DatePicker.PlaceholderE";
|
||||
datePickerRange4.LocalizationPlaceholderStart = "DatePicker.PlaceholderS";
|
||||
datePickerRange4.Location = new Point(271, 16);
|
||||
datePickerRange4.Name = "datePickerRange4";
|
||||
datePickerRange4.PlaceholderEnd = "结束日期";
|
||||
datePickerRange4.PlaceholderStart = "开始日期";
|
||||
datePickerRange4.PlaceholderEnd = "结束时间";
|
||||
datePickerRange4.PlaceholderStart = "开始时间";
|
||||
datePickerRange4.Presets.AddRange(new object[] { "今天", "昨天", "过去7天", "过去39天", "本周", "上周", "本月", "上月", "本季", "上季", "本年", "去年" });
|
||||
datePickerRange4.Size = new Size(286, 44);
|
||||
datePickerRange4.TabIndex = 26;
|
||||
@@ -155,6 +159,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "DatePicker.{id}";
|
||||
divider3.Location = new Point(0, 280);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -181,10 +186,12 @@ namespace Demo.Controls
|
||||
//
|
||||
// inputRange1
|
||||
//
|
||||
inputRange1.LocalizationPlaceholderEnd = "DatePicker.PlaceholderE";
|
||||
inputRange1.LocalizationPlaceholderStart = "DatePicker.PlaceholderS";
|
||||
inputRange1.Location = new Point(19, 15);
|
||||
inputRange1.Name = "inputRange1";
|
||||
inputRange1.PlaceholderEnd = "结束日期";
|
||||
inputRange1.PlaceholderStart = "开始日期";
|
||||
inputRange1.PlaceholderEnd = "结束时间";
|
||||
inputRange1.PlaceholderStart = "开始时间";
|
||||
inputRange1.Size = new Size(300, 40);
|
||||
inputRange1.TabIndex = 24;
|
||||
//
|
||||
@@ -192,6 +199,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "DatePicker.{id}";
|
||||
divider2.Location = new Point(0, 140);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -214,6 +222,7 @@ namespace Demo.Controls
|
||||
//
|
||||
datePicker3.AllowClear = true;
|
||||
datePicker3.DropDownArrow = true;
|
||||
datePicker3.LocalizationPlaceholderText = "DatePicker.PlaceholderText";
|
||||
datePicker3.Location = new Point(19, 56);
|
||||
datePicker3.Name = "datePicker3";
|
||||
datePicker3.PlaceholderText = "请选择日期";
|
||||
@@ -233,6 +242,7 @@ namespace Demo.Controls
|
||||
//
|
||||
// datePicker1
|
||||
//
|
||||
datePicker1.LocalizationPlaceholderText = "DatePicker.PlaceholderText";
|
||||
datePicker1.Location = new Point(19, 6);
|
||||
datePicker1.Name = "datePicker1";
|
||||
datePicker1.PlaceholderText = "请选择日期";
|
||||
@@ -243,6 +253,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "DatePicker.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
3
example/Demo/Controls/Divider.Designer.cs
generated
3
example/Demo/Controls/Divider.Designer.cs
generated
@@ -66,6 +66,8 @@ namespace Demo.Controls
|
||||
header1.Description = "区隔内容的分割线。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Divider.Description";
|
||||
header1.LocalizationText = "Divider.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -136,6 +138,7 @@ namespace Demo.Controls
|
||||
//
|
||||
// divider3
|
||||
//
|
||||
divider3.LocalizationText = "Divider.Text";
|
||||
divider3.Location = new Point(521, 3);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Size = new Size(29, 317);
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
13
example/Demo/Controls/Drawer.Designer.cs
generated
13
example/Demo/Controls/Drawer.Designer.cs
generated
@@ -69,6 +69,8 @@ namespace Demo.Controls
|
||||
header1.Description = "屏幕边缘滑出的浮层面板。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Divider.Description";
|
||||
header1.LocalizationText = "Divider.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -116,7 +118,7 @@ namespace Demo.Controls
|
||||
radio2.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
radio2.Checked = true;
|
||||
radio2.Dock = DockStyle.Left;
|
||||
radio2.Location = new Point(256, 0);
|
||||
radio2.Location = new Point(258, 0);
|
||||
radio2.Name = "radio2";
|
||||
radio2.Size = new Size(86, 46);
|
||||
radio2.TabIndex = 1;
|
||||
@@ -127,7 +129,7 @@ namespace Demo.Controls
|
||||
radio4.AutoCheck = true;
|
||||
radio4.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
radio4.Dock = DockStyle.Left;
|
||||
radio4.Location = new Point(182, 0);
|
||||
radio4.Location = new Point(184, 0);
|
||||
radio4.Name = "radio4";
|
||||
radio4.Size = new Size(74, 46);
|
||||
radio4.TabIndex = 3;
|
||||
@@ -138,9 +140,9 @@ namespace Demo.Controls
|
||||
radio3.AutoCheck = true;
|
||||
radio3.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
radio3.Dock = DockStyle.Left;
|
||||
radio3.Location = new Point(75, 0);
|
||||
radio3.Location = new Point(76, 0);
|
||||
radio3.Name = "radio3";
|
||||
radio3.Size = new Size(107, 46);
|
||||
radio3.Size = new Size(108, 46);
|
||||
radio3.TabIndex = 2;
|
||||
radio3.Text = "bottom";
|
||||
//
|
||||
@@ -151,7 +153,7 @@ namespace Demo.Controls
|
||||
radio1.Dock = DockStyle.Left;
|
||||
radio1.Location = new Point(0, 0);
|
||||
radio1.Name = "radio1";
|
||||
radio1.Size = new Size(75, 46);
|
||||
radio1.Size = new Size(76, 46);
|
||||
radio1.TabIndex = 0;
|
||||
radio1.Text = "top";
|
||||
//
|
||||
@@ -170,6 +172,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Drawer.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Margin = new Padding(10);
|
||||
divider1.Name = "divider1";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
29
example/Demo/Controls/Dropdown.Designer.cs
generated
29
example/Demo/Controls/Dropdown.Designer.cs
generated
@@ -59,7 +59,7 @@ namespace Demo.Controls
|
||||
button5 = new AntdUI.Dropdown();
|
||||
button3 = new AntdUI.Dropdown();
|
||||
button8 = new AntdUI.Dropdown();
|
||||
divider3 = new AntdUI.Divider();
|
||||
divider2 = new AntdUI.Divider();
|
||||
panel4 = new FlowLayoutPanel();
|
||||
button17 = new AntdUI.Dropdown();
|
||||
button19 = new AntdUI.Dropdown();
|
||||
@@ -75,6 +75,8 @@ namespace Demo.Controls
|
||||
header1.Description = "向下弹出的列表。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Dropdown.Description";
|
||||
header1.LocalizationText = "Dropdown.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -100,7 +102,7 @@ namespace Demo.Controls
|
||||
//
|
||||
panel3.AutoScroll = true;
|
||||
panel3.Controls.Add(panel1);
|
||||
panel3.Controls.Add(divider3);
|
||||
panel3.Controls.Add(divider2);
|
||||
panel3.Controls.Add(panel4);
|
||||
panel3.Controls.Add(divider1);
|
||||
panel3.Dock = DockStyle.Fill;
|
||||
@@ -206,16 +208,17 @@ namespace Demo.Controls
|
||||
button8.Text = "topLeft";
|
||||
button8.Type = AntdUI.TTypeMini.Primary;
|
||||
//
|
||||
// divider3
|
||||
// divider2
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.Location = new Point(0, 95);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
divider3.Size = new Size(1300, 22);
|
||||
divider3.TabIndex = 7;
|
||||
divider3.Text = "六种方向";
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Dropdown.{id}";
|
||||
divider2.Location = new Point(0, 95);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
divider2.Size = new Size(1300, 22);
|
||||
divider2.TabIndex = 7;
|
||||
divider2.Text = "六种方向";
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
@@ -258,6 +261,7 @@ namespace Demo.Controls
|
||||
// dropdown1
|
||||
//
|
||||
dropdown1.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
dropdown1.LocalizationText = "Dropdown.{id}";
|
||||
dropdown1.Location = new Point(265, 3);
|
||||
dropdown1.Name = "dropdown1";
|
||||
dropdown1.Size = new Size(100, 47);
|
||||
@@ -270,6 +274,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Dropdown.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -302,7 +307,7 @@ namespace Demo.Controls
|
||||
private AntdUI.Dropdown button19;
|
||||
private AntdUI.Dropdown button17;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Divider divider3;
|
||||
private AntdUI.Divider divider2;
|
||||
private AntdUI.Dropdown button4;
|
||||
private AntdUI.Dropdown button6;
|
||||
private AntdUI.Dropdown button2;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
19
example/Demo/Controls/Icon.Designer.cs
generated
19
example/Demo/Controls/Icon.Designer.cs
generated
@@ -49,9 +49,8 @@ namespace Demo.Controls
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.SegmentedItem segmentedItem1 = new AntdUI.SegmentedItem();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Icon));
|
||||
AntdUI.SegmentedItem segmentedItem2 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem3 = new AntdUI.SegmentedItem();
|
||||
AntdUI.SegmentedItem segmentedItem4 = new AntdUI.SegmentedItem();
|
||||
header1 = new AntdUI.PageHeader();
|
||||
segmented1 = new AntdUI.Segmented();
|
||||
panel1 = new System.Windows.Forms.Panel();
|
||||
@@ -65,6 +64,8 @@ namespace Demo.Controls
|
||||
header1.Description = "语义化的矢量图形。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Icon.Description";
|
||||
header1.LocalizationText = "Icon.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -77,12 +78,11 @@ namespace Demo.Controls
|
||||
//
|
||||
segmented1.Dock = DockStyle.Left;
|
||||
segmented1.IconAlign = AntdUI.TAlignMini.Left;
|
||||
segmentedItem1.IconSvg = resources.GetString("segmentedItem1.IconSvg");
|
||||
segmentedItem1.Text = "线框风格";
|
||||
segmentedItem2.IconSvg = "<svg viewBox=\"0 0 1024 1024\"><path d=\"M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53 0 96-43 96-96V160c0-53-43-96-96-96z\"></path></svg>";
|
||||
segmentedItem2.Text = "实底风格";
|
||||
segmented1.Items.Add(segmentedItem1);
|
||||
segmented1.Items.Add(segmentedItem2);
|
||||
segmentedItem3.Text = "线框风格";
|
||||
segmentedItem4.IconSvg = "<svg viewBox=\"0 0 1024 1024\"><path d=\"M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53 0 96-43 96-96V160c0-53-43-96-96-96z\"></path></svg>";
|
||||
segmentedItem4.Text = "实底风格";
|
||||
segmented1.Items.Add(segmentedItem3);
|
||||
segmented1.Items.Add(segmentedItem4);
|
||||
segmented1.Location = new Point(10, 0);
|
||||
segmented1.Name = "segmented1";
|
||||
segmented1.SelectIndex = 0;
|
||||
@@ -104,6 +104,7 @@ namespace Demo.Controls
|
||||
// txt_search
|
||||
//
|
||||
txt_search.Dock = DockStyle.Right;
|
||||
txt_search.LocalizationPlaceholderText = "Icon.PlaceholderText";
|
||||
txt_search.Location = new Point(505, 0);
|
||||
txt_search.Name = "txt_search";
|
||||
txt_search.PlaceholderText = "在此搜索图标,点击图标可复制代码";
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace Demo.Controls
|
||||
{
|
||||
form = _form;
|
||||
InitializeComponent();
|
||||
segmented1.Items[0].Text = AntdUI.Localization.Get("Outlined", "线框风格");
|
||||
segmented1.Items[1].Text = AntdUI.Localization.Get("Filled", "实底风格");
|
||||
LoadData();
|
||||
}
|
||||
|
||||
@@ -64,38 +66,38 @@ namespace Demo.Controls
|
||||
{
|
||||
if (it.Key == "QuestionOutlined")
|
||||
{
|
||||
dir.Add("方向性图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Directional", "方向性图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "EditOutlined")
|
||||
{
|
||||
dir.Add("提示建议性图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Suggested", "提示建议性图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "AreaChartOutlined")
|
||||
{
|
||||
dir.Add("编辑类图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Editor", "编辑类图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "AndroidOutlined")
|
||||
{
|
||||
dir.Add("数据类图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Data", "数据类图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "AccountBookOutlined")
|
||||
{
|
||||
dir.Add("品牌和标识", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Logos", "品牌和标识"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "StepBackwardFilled")
|
||||
{
|
||||
dir.Add("网站通用图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Application", "网站通用图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
return dir;
|
||||
}
|
||||
tmp.Add(new VItem(it.Key, it.Value));
|
||||
}
|
||||
dir.Add("网站通用图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Application", "网站通用图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else
|
||||
@@ -106,32 +108,32 @@ namespace Demo.Controls
|
||||
if (it.Key == "StepBackwardFilled") isadd = true;
|
||||
else if (it.Key == "QuestionCircleFilled")
|
||||
{
|
||||
dir.Add("方向性图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Directional", "方向性图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "EditFilled")
|
||||
{
|
||||
dir.Add("提示建议性图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Suggested", "提示建议性图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "PieChartFilled")
|
||||
{
|
||||
dir.Add("编辑类图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Editor", "编辑类图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "AndroidFilled")
|
||||
{
|
||||
dir.Add("数据类图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Data", "数据类图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
else if (it.Key == "AccountBookFilled")
|
||||
{
|
||||
dir.Add("品牌和标识", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Logos", "品牌和标识"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
if (isadd) tmp.Add(new VItem(it.Key, it.Value));
|
||||
}
|
||||
dir.Add("网站通用图标", new List<VItem>(tmp));
|
||||
dir.Add(AntdUI.Localization.Get("Icon.Application", "网站通用图标"), new List<VItem>(tmp));
|
||||
tmp.Clear();
|
||||
}
|
||||
return dir;
|
||||
@@ -230,8 +232,8 @@ namespace Demo.Controls
|
||||
{
|
||||
if (e.Item is VItem item)
|
||||
{
|
||||
if (AntdUI.Helper.ClipboardSetText(this, item.Key)) AntdUI.Message.success(form, item.Key + " 复制成功");
|
||||
else AntdUI.Message.error(form, item.Key + " 复制失败");
|
||||
if (AntdUI.Helper.ClipboardSetText(this, item.Key)) AntdUI.Message.success(form, item.Key + " " + AntdUI.Localization.Get("CopyOK", "复制成功"));
|
||||
else AntdUI.Message.error(form, item.Key + " " + AntdUI.Localization.Get("CopyFailed", "复制失败"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
@@ -117,7 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="segmentedItem1.IconSvg" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 1024 1024"><path d="M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53 0 96-43 96-96V160c0-53-43-96-96-96z m-12 800H172c-6.6 0-12-5.4-12-12V172c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v680c0 6.6-5.4 12-12 12z"></path></svg></value>
|
||||
</data>
|
||||
</root>
|
||||
10
example/Demo/Controls/Input.Designer.cs
generated
10
example/Demo/Controls/Input.Designer.cs
generated
@@ -96,6 +96,7 @@ namespace Demo.Controls
|
||||
//
|
||||
// input3
|
||||
//
|
||||
input3.LocalizationPlaceholderText = "Input.{id}";
|
||||
input3.Location = new Point(244, 6);
|
||||
input3.Name = "input3";
|
||||
input3.PlaceholderText = "请输入账号";
|
||||
@@ -137,6 +138,8 @@ namespace Demo.Controls
|
||||
header1.Description = "通过鼠标或键盘输入内容,是最基础的表单域的包装。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Input.Description";
|
||||
header1.LocalizationText = "Input.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -183,6 +186,7 @@ namespace Demo.Controls
|
||||
//
|
||||
input8.Dock = DockStyle.Fill;
|
||||
input8.JoinLeft = true;
|
||||
input8.LocalizationPlaceholderText = "Input.{id}";
|
||||
input8.Location = new Point(59, 0);
|
||||
input8.Name = "input8";
|
||||
input8.PlaceholderText = "输入点什么搜索";
|
||||
@@ -194,6 +198,7 @@ namespace Demo.Controls
|
||||
button1.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
button1.Dock = DockStyle.Left;
|
||||
button1.JoinRight = true;
|
||||
button1.LocalizationText = "Input.Search";
|
||||
button1.Location = new Point(0, 0);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(59, 50);
|
||||
@@ -216,6 +221,7 @@ namespace Demo.Controls
|
||||
//
|
||||
input9.Dock = DockStyle.Fill;
|
||||
input9.JoinRight = true;
|
||||
input9.LocalizationPlaceholderText = "Input.{id}";
|
||||
input9.Location = new Point(0, 0);
|
||||
input9.Name = "input9";
|
||||
input9.PlaceholderText = "输入点什么搜索";
|
||||
@@ -248,6 +254,7 @@ namespace Demo.Controls
|
||||
//
|
||||
input7.Dock = DockStyle.Fill;
|
||||
input7.JoinRight = true;
|
||||
input7.LocalizationPlaceholderText = "Input.{id}";
|
||||
input7.Location = new Point(0, 0);
|
||||
input7.Name = "input7";
|
||||
input7.PlaceholderText = "输入点什么搜索";
|
||||
@@ -259,6 +266,7 @@ namespace Demo.Controls
|
||||
button3.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
button3.Dock = DockStyle.Right;
|
||||
button3.JoinLeft = true;
|
||||
button3.LocalizationText = "Input.Search";
|
||||
button3.Location = new Point(161, 0);
|
||||
button3.Name = "button3";
|
||||
button3.Size = new Size(59, 50);
|
||||
@@ -271,6 +279,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Input.{id}";
|
||||
divider2.Location = new Point(0, 184);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -297,6 +306,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Input.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
34
example/Demo/Controls/InputNumber.Designer.cs
generated
34
example/Demo/Controls/InputNumber.Designer.cs
generated
@@ -49,13 +49,13 @@ namespace Demo.Controls
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
header1 = new AntdUI.PageHeader();
|
||||
input1 = new AntdUI.InputNumber();
|
||||
input2 = new AntdUI.InputNumber();
|
||||
input3 = new AntdUI.InputNumber();
|
||||
input4 = new AntdUI.InputNumber();
|
||||
input5 = new AntdUI.InputNumber();
|
||||
input6 = new AntdUI.InputNumber();
|
||||
header1 = new AntdUI.PageHeader();
|
||||
panel1 = new System.Windows.Forms.Panel();
|
||||
panel2 = new System.Windows.Forms.Panel();
|
||||
divider1 = new AntdUI.Divider();
|
||||
@@ -63,6 +63,21 @@ namespace Demo.Controls
|
||||
panel2.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// header1
|
||||
//
|
||||
header1.Description = "通过鼠标或键盘,输入范围内的数值。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "InputNumber.Description";
|
||||
header1.LocalizationText = "InputNumber.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
header1.Size = new Size(555, 74);
|
||||
header1.TabIndex = 0;
|
||||
header1.Text = "InputNumber 数字输入框";
|
||||
header1.UseTitleFont = true;
|
||||
//
|
||||
// input1
|
||||
//
|
||||
input1.Location = new Point(18, 6);
|
||||
@@ -85,6 +100,7 @@ namespace Demo.Controls
|
||||
//
|
||||
// input3
|
||||
//
|
||||
input3.LocalizationPlaceholderText = "InputNumber.{id}";
|
||||
input3.Location = new Point(244, 6);
|
||||
input3.Name = "input3";
|
||||
input3.PlaceholderText = "请输入数字";
|
||||
@@ -126,19 +142,6 @@ namespace Demo.Controls
|
||||
input6.Text = "1";
|
||||
input6.Value = new decimal(new int[] { 1, 0, 0, 0 });
|
||||
//
|
||||
// header1
|
||||
//
|
||||
header1.Description = "通过鼠标或键盘,输入范围内的数值。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
header1.Size = new Size(555, 74);
|
||||
header1.TabIndex = 0;
|
||||
header1.Text = "InputNumber 数字输入框";
|
||||
header1.UseTitleFont = true;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
panel1.AutoScroll = true;
|
||||
@@ -168,6 +171,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "InputNumber.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -190,13 +194,13 @@ namespace Demo.Controls
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.PageHeader header1;
|
||||
private AntdUI.InputNumber input1;
|
||||
private AntdUI.InputNumber input2;
|
||||
private AntdUI.InputNumber input3;
|
||||
private AntdUI.InputNumber input4;
|
||||
private AntdUI.InputNumber input5;
|
||||
private AntdUI.InputNumber input6;
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private AntdUI.Divider divider1;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
6
example/Demo/Controls/Menu.Designer.cs
generated
6
example/Demo/Controls/Menu.Designer.cs
generated
@@ -51,7 +51,6 @@ namespace Demo.Controls
|
||||
{
|
||||
AntdUI.MenuItem menuItem1 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem2 = new AntdUI.MenuItem();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Menu));
|
||||
AntdUI.MenuItem menuItem3 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem4 = new AntdUI.MenuItem();
|
||||
AntdUI.MenuItem menuItem5 = new AntdUI.MenuItem();
|
||||
@@ -69,6 +68,8 @@ namespace Demo.Controls
|
||||
header1.Description = "为页面和功能提供导航的菜单列表。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Menu.Description";
|
||||
header1.LocalizationText = "Menu.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -82,12 +83,9 @@ namespace Demo.Controls
|
||||
menu1.Dock = DockStyle.Left;
|
||||
menu1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
menuItem1.PARENTITEM = null;
|
||||
menuItem2.IconSvg = resources.GetString("menuItem2.IconSvg");
|
||||
menuItem2.PARENTITEM = menuItem1;
|
||||
menuItem2.Text = "Option 1";
|
||||
menuItem3.IconSvg = resources.GetString("menuItem3.IconSvg");
|
||||
menuItem3.PARENTITEM = menuItem1;
|
||||
menuItem4.IconSvg = resources.GetString("menuItem4.IconSvg");
|
||||
menuItem4.PARENTITEM = menuItem3;
|
||||
menuItem4.Text = "Sub2 1";
|
||||
menuItem5.PARENTITEM = menuItem3;
|
||||
|
||||
@@ -117,13 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="menuItem2.IconSvg" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 1024 1024"><path d="M742.72 888.912H281.28a112.672 112.672 0 0 1-112.672-112.656V247.728a112.672 112.672 0 0 1 112.656-112.672h399.904l174.096 172.064v469.12a112.672 112.672 0 0 1-112.528 112.672z" fill="#42B4FA"></path><path d="M681.296 135.056v137.456a38 38 0 0 0 38 38h136.096v-3.392L681.312 135.04z" fill="#92DBFF"></path><path d="M307.856 742.768c13.6 13.184 35.2 13.184 48.784 0l135.664-134.336a38.56 38.56 0 0 0 10.64-26.592 30.608 30.608 0 0 0-8.864-25.712l-135.68-136.56a35.024 35.024 0 0 0-48.768 0c-6.416 6.832-9.92 15.904-9.76 25.28a33.264 33.264 0 0 0 9.76 24.384l110.848 111.28-112.624 112.608a33.264 33.264 0 0 0-9.744 24.384c-0.16 9.376 3.328 18.448 9.76 25.28zM537.088 770.272h106.848a35.472 35.472 0 0 0 0-70.944h-106.848a35.472 35.472 0 0 0 0 70.944z" fill="#FFFFFF"></path></svg></value>
|
||||
</data>
|
||||
<data name="menuItem3.IconSvg" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 1024 1024"><path d="M84 662c0-103.824 84.176-188 188-188s188 84.176 188 188-84.176 188-188 188-188-84.176-188-188z m264.672 29.872a12.496 12.496 0 0 0-9.568-4.448h-44.16a12.32 12.32 0 1 1 0-24.672h44.112a12.56 12.56 0 0 0 12.336-14.64c-1.008-6.128-6.8-10.4-13.04-10.4h-22.464a6.288 6.288 0 0 1-4.48-10.72l24.048-24.496a12.528 12.528 0 0 0-1.808-19.04c-5.12-3.616-12.208-2.448-16.576 2l-37.392 38.144a12.56 12.56 0 0 1-17.712 0.16L222.24 584.8a12.544 12.544 0 0 0-19.04 1.808c-3.616 5.072-2.48 12.16 1.968 16.528l24.256 23.792a6.288 6.288 0 0 1-4.4 10.784h-24.096a12.56 12.56 0 0 0-12.336 14.656c1.008 6.16 6.8 10.448 13.056 10.448h43.52a12.32 12.32 0 1 1 0 24.672h-44.24a12.56 12.56 0 0 0-12.336 14.64c1.008 6.128 6.8 10.4 13.056 10.4h43.392c6.88 0 12.464 5.6 12.464 12.48v24.88a12.56 12.56 0 0 0 14.64 12.336c6.16-1.008 10.448-6.8 10.448-13.056v-24.16a12.48 12.48 0 0 1 12.464-12.48h43.36c6.24 0 12.032-4.272 13.04-10.432a12.464 12.464 0 0 0-2.768-10.208z" fill="#92DBFF"></path><path d="M843.2 340.8l75.2 132.8s25.6 36.8 27.2 67.2v166.4c0 19.2-14.4 33.6-33.6 33.6h-33.6c-8-57.6-57.6-100.8-116.8-100.8-59.2 0-108.8 43.2-116.8 100.8h-124.8c11.2-27.2 16-57.6 16-88 0-140.8-115.2-256-256-256-49.6 0-96 14.4-136 38.4V209.6c0-19.2 14.4-33.6 33.6-33.6h465.6c19.2 0 33.6 16 33.6 33.6v99.2h116.8c20.736 0 30.496 10.96 43.248 25.28l3.152 3.52c0.992 0 1.36 0.608 1.888 1.456 0.32 0.528 0.704 1.12 1.312 1.744z m-132.8 200h171.2c4.8 0 8-4.8 6.4-9.6l-78.4-142.4c-4.8-9.6-12.8-14.4-22.4-14.4h-76.8v166.4z" fill="#42B4FA"></path><path d="M678.4 756.832c0-46.4 36.8-83.2 83.2-83.2 44.8 0 83.2 36.8 83.2 83.2 0 46.4-36.8 83.2-83.2 83.2-46.4 0-83.2-36.8-83.2-83.2z" fill="#42B4FA"></path></svg></value>
|
||||
</data>
|
||||
<data name="menuItem4.IconSvg" xml:space="preserve">
|
||||
<value><svg viewBox="0 0 1024 1024"><path d="M182.032 128h659.936c35.2 0 66 30.8 66 66v461.952c0 35.2-30.8 65.984-66 65.984H182.032c-35.2 0-66-30.784-66-65.984V194C116.032 158.8 146.832 128 182.032 128z m57.2 299.168l105.584 114.4 52.8-48.4-74.8-83.6 74.8-83.584-57.2-52.8-39.6 44-65.984 74.784v4.4c-4.4 0-4.4 4.4-4.4 4.4v17.6c4.4 0 4.4 4.4 4.4 4.4l4.4 4.4z m206.768 118.784h70.4l70.4-263.968h-70.4l-70.4 263.968z m343.168-123.184s4.4-4.4 4.4-8.8v-13.2c-4.4 0-4.4-4.4-4.4-4.4L723.2 321.6l-39.6-44-52.8 48.4 70.4 83.584-74.8 83.6 52.8 48.384 105.6-114.384c4.384 0 4.384-4.4 4.384-4.4z"></path><path d="M182.032 896h659.936c35.2 0 66-30.8 66-66s-30.8-65.984-66-65.984H182.032c-35.2 0-66 30.8-66 65.984 0 35.2 30.8 66 66 66z"></path></svg></value>
|
||||
</data>
|
||||
</root>
|
||||
4
example/Demo/Controls/Message.Designer.cs
generated
4
example/Demo/Controls/Message.Designer.cs
generated
@@ -73,6 +73,8 @@ namespace Demo.Controls
|
||||
header1.Description = "全局展示操作反馈信息。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Message.Description";
|
||||
header1.LocalizationText = "Message.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -154,6 +156,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Message.{id}";
|
||||
divider2.Location = new Point(0, 85);
|
||||
divider2.Margin = new Padding(10);
|
||||
divider2.Name = "divider2";
|
||||
@@ -218,6 +221,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Message.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Margin = new Padding(10);
|
||||
divider1.Name = "divider1";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
3
example/Demo/Controls/Modal.Designer.cs
generated
3
example/Demo/Controls/Modal.Designer.cs
generated
@@ -66,6 +66,8 @@ namespace Demo.Controls
|
||||
header1.Description = "模态对话框。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Modal.Description";
|
||||
header1.LocalizationText = "Modal.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -141,6 +143,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Modal.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Margin = new Padding(10);
|
||||
divider1.Name = "divider1";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
4
example/Demo/Controls/Notification.Designer.cs
generated
4
example/Demo/Controls/Notification.Designer.cs
generated
@@ -75,6 +75,8 @@ namespace Demo.Controls
|
||||
header1.Description = "全局展示通知提醒信息。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Notification.Description";
|
||||
header1.LocalizationText = "Notification.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -156,6 +158,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Notification.{id}";
|
||||
divider2.Location = new Point(0, 217);
|
||||
divider2.Margin = new Padding(10);
|
||||
divider2.Name = "divider2";
|
||||
@@ -255,6 +258,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Notification.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Margin = new Padding(10);
|
||||
divider1.Name = "divider1";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
5
example/Demo/Controls/PageHeader.Designer.cs
generated
5
example/Demo/Controls/PageHeader.Designer.cs
generated
@@ -65,6 +65,8 @@ namespace Demo.Controls
|
||||
header1.Description = "页头位于页容器中,页容器顶部,起到了内容概览和引导页级操作的作用。包括由面包屑、标题、页面内容简介、页面级操作等、页面级导航组成。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "PageHeader.Description";
|
||||
header1.LocalizationText = "PageHeader.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -88,6 +90,7 @@ namespace Demo.Controls
|
||||
// button1
|
||||
//
|
||||
button1.Dock = DockStyle.Right;
|
||||
button1.LocalizationText = "PageHeader.Type";
|
||||
button1.Location = new Point(657, 0);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(75, 36);
|
||||
@@ -100,6 +103,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "PageHeader.{id}";
|
||||
divider1.Location = new Point(0, 74);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -136,6 +140,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "PageHeader.{id}";
|
||||
divider2.Location = new Point(0, 192);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
2
example/Demo/Controls/Pagination.Designer.cs
generated
2
example/Demo/Controls/Pagination.Designer.cs
generated
@@ -61,6 +61,8 @@ namespace Demo.Controls
|
||||
header1.Description = "采用分页的形式分隔长列表,每次只加载一个页面。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Pagination.Description";
|
||||
header1.LocalizationText = "Pagination.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
2
example/Demo/Controls/Panel.Designer.cs
generated
2
example/Demo/Controls/Panel.Designer.cs
generated
@@ -85,6 +85,8 @@ namespace Demo.Controls
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.LocalizationDescription = "Panel.Description";
|
||||
header1.LocalizationText = "Panel.Text";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
header1.Size = new Size(835, 74);
|
||||
header1.TabIndex = 0;
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
54
example/Demo/Controls/Popover.Designer.cs
generated
54
example/Demo/Controls/Popover.Designer.cs
generated
@@ -64,11 +64,11 @@ namespace Demo.Controls
|
||||
buttonTop = new AntdUI.Button();
|
||||
buttonBL = new AntdUI.Button();
|
||||
buttonTL = new AntdUI.Button();
|
||||
divider1 = new AntdUI.Divider();
|
||||
divider2 = new AntdUI.Divider();
|
||||
panel2 = new System.Windows.Forms.Panel();
|
||||
button2 = new AntdUI.Button();
|
||||
button1 = new AntdUI.Button();
|
||||
divider3 = new AntdUI.Divider();
|
||||
divider1 = new AntdUI.Divider();
|
||||
panel1.SuspendLayout();
|
||||
panel3.SuspendLayout();
|
||||
panel2.SuspendLayout();
|
||||
@@ -79,6 +79,8 @@ namespace Demo.Controls
|
||||
header1.Description = "弹出气泡式的卡片浮层。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Popover.Description";
|
||||
header1.LocalizationText = "Popover.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -91,9 +93,9 @@ namespace Demo.Controls
|
||||
//
|
||||
panel1.AutoScroll = true;
|
||||
panel1.Controls.Add(panel3);
|
||||
panel1.Controls.Add(divider1);
|
||||
panel1.Controls.Add(divider2);
|
||||
panel1.Controls.Add(panel2);
|
||||
panel1.Controls.Add(divider3);
|
||||
panel1.Controls.Add(divider1);
|
||||
panel1.Dock = DockStyle.Fill;
|
||||
panel1.Location = new Point(0, 74);
|
||||
panel1.Name = "panel1";
|
||||
@@ -240,16 +242,17 @@ namespace Demo.Controls
|
||||
buttonTL.Text = "TL";
|
||||
buttonTL.Click += buttonTL_Click;
|
||||
//
|
||||
// divider1
|
||||
// divider2
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.Location = new Point(0, 218);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
divider1.Size = new Size(840, 22);
|
||||
divider1.TabIndex = 11;
|
||||
divider1.Text = "位置";
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Popover.{id}";
|
||||
divider2.Location = new Point(0, 218);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
divider2.Size = new Size(840, 22);
|
||||
divider2.TabIndex = 11;
|
||||
divider2.Text = "位置";
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
@@ -264,6 +267,7 @@ namespace Demo.Controls
|
||||
// button2
|
||||
//
|
||||
button2.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
button2.LocalizationText = "Popover.{id}";
|
||||
button2.Location = new Point(145, 17);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new Size(182, 47);
|
||||
@@ -275,6 +279,7 @@ namespace Demo.Controls
|
||||
// button1
|
||||
//
|
||||
button1.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
button1.LocalizationText = "Popover.{id}";
|
||||
button1.Location = new Point(14, 17);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(100, 47);
|
||||
@@ -283,16 +288,17 @@ namespace Demo.Controls
|
||||
button1.Type = AntdUI.TTypeMini.Primary;
|
||||
button1.Click += button1_Click;
|
||||
//
|
||||
// divider3
|
||||
// divider1
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.Location = new Point(0, 0);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
divider3.Size = new Size(840, 22);
|
||||
divider3.TabIndex = 9;
|
||||
divider3.Text = "常规";
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Popover.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
divider1.Size = new Size(840, 22);
|
||||
divider1.TabIndex = 9;
|
||||
divider1.Text = "常规";
|
||||
//
|
||||
// Popover
|
||||
//
|
||||
@@ -312,9 +318,9 @@ namespace Demo.Controls
|
||||
private AntdUI.PageHeader header1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private AntdUI.Divider divider1;
|
||||
private AntdUI.Divider divider2;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private AntdUI.Divider divider3;
|
||||
private AntdUI.Divider divider1;
|
||||
private AntdUI.Button button1;
|
||||
private AntdUI.Button button2;
|
||||
private AntdUI.Button buttonRB;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
5
example/Demo/Controls/Preview.Designer.cs
generated
5
example/Demo/Controls/Preview.Designer.cs
generated
@@ -62,6 +62,8 @@ namespace Demo.Controls
|
||||
header1.Description = "图片预览框。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Preview.Description";
|
||||
header1.LocalizationText = "Preview.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -83,6 +85,7 @@ namespace Demo.Controls
|
||||
// button2
|
||||
//
|
||||
button2.BorderWidth = 1F;
|
||||
button2.LocalizationText = "Preview.{id}";
|
||||
button2.Location = new Point(169, 3);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new Size(160, 41);
|
||||
@@ -93,6 +96,7 @@ namespace Demo.Controls
|
||||
// button1
|
||||
//
|
||||
button1.BorderWidth = 1F;
|
||||
button1.LocalizationText = "Preview.{id}";
|
||||
button1.Location = new Point(3, 3);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(160, 41);
|
||||
@@ -104,6 +108,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Preview.{id}";
|
||||
divider1.Location = new Point(0, 74);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
@@ -42,6 +42,15 @@ namespace Demo.Controls
|
||||
{
|
||||
Btns = new AntdUI.Preview.Btn[] {
|
||||
new AntdUI.Preview.Btn("download","<svg viewBox=\"64 64 896 896\"><path d=\"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z\"></path></svg>")
|
||||
},
|
||||
OnBtns = (id, config) =>
|
||||
{
|
||||
switch (id)
|
||||
{
|
||||
case "download":
|
||||
//<2F>ҵ<EFBFBD><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>ť
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
7
example/Demo/Controls/Progress.Designer.cs
generated
7
example/Demo/Controls/Progress.Designer.cs
generated
@@ -89,6 +89,8 @@ namespace Demo.Controls
|
||||
header1.Description = "展示操作的当前进度。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Progress.Description";
|
||||
header1.LocalizationText = "Progress.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -183,6 +185,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider4.Dock = DockStyle.Top;
|
||||
divider4.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider4.LocalizationText = "Progress.{id}";
|
||||
divider4.Location = new Point(0, 142);
|
||||
divider4.Margin = new Padding(10);
|
||||
divider4.Name = "divider4";
|
||||
@@ -231,6 +234,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Progress.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Margin = new Padding(10);
|
||||
divider1.Name = "divider1";
|
||||
@@ -243,6 +247,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "Progress.{id}";
|
||||
divider3.Location = new Point(0, 154);
|
||||
divider3.Margin = new Padding(10);
|
||||
divider3.Name = "divider3";
|
||||
@@ -255,6 +260,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Progress.{id}";
|
||||
divider2.Location = new Point(0, 0);
|
||||
divider2.Margin = new Padding(10);
|
||||
divider2.Name = "divider2";
|
||||
@@ -339,6 +345,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider5.Dock = DockStyle.Top;
|
||||
divider5.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider5.LocalizationText = "Progress.{id}";
|
||||
divider5.Location = new Point(0, 234);
|
||||
divider5.Margin = new Padding(10);
|
||||
divider5.Name = "divider5";
|
||||
|
||||
2
example/Demo/Controls/Radio.Designer.cs
generated
2
example/Demo/Controls/Radio.Designer.cs
generated
@@ -71,6 +71,8 @@ namespace Demo.Controls
|
||||
header1.Description = "单选框。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Radio.Description";
|
||||
header1.LocalizationText = "Radio.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
61
example/Demo/Controls/Rate.Designer.cs
generated
61
example/Demo/Controls/Rate.Designer.cs
generated
@@ -49,15 +49,14 @@ namespace Demo.Controls
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Rate));
|
||||
header1 = new AntdUI.PageHeader();
|
||||
panel1 = new System.Windows.Forms.Panel();
|
||||
rate6 = new AntdUI.Rate();
|
||||
rate5 = new AntdUI.Rate();
|
||||
rate4 = new AntdUI.Rate();
|
||||
rate3 = new AntdUI.Rate();
|
||||
rate2 = new AntdUI.Rate();
|
||||
rate1 = new AntdUI.Rate();
|
||||
rate5 = new AntdUI.Rate();
|
||||
rate6 = new AntdUI.Rate();
|
||||
panel1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
@@ -66,6 +65,8 @@ namespace Demo.Controls
|
||||
header1.Description = "评分组件。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Rate.Description";
|
||||
header1.LocalizationText = "Rate.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -89,10 +90,36 @@ namespace Demo.Controls
|
||||
panel1.Size = new Size(614, 372);
|
||||
panel1.TabIndex = 0;
|
||||
//
|
||||
// rate6
|
||||
//
|
||||
rate6.AllowHalf = true;
|
||||
rate6.Character = "牛皮";
|
||||
rate6.Dock = DockStyle.Top;
|
||||
rate6.Fill = Color.FromArgb(3, 169, 244);
|
||||
rate6.LocalizationCharacter = "Rate.{id}";
|
||||
rate6.Location = new Point(0, 189);
|
||||
rate6.Name = "rate6";
|
||||
rate6.Size = new Size(614, 75);
|
||||
rate6.TabIndex = 5;
|
||||
rate6.Text = "rate6";
|
||||
rate6.Value = 2.5F;
|
||||
//
|
||||
// rate5
|
||||
//
|
||||
rate5.Character = "好";
|
||||
rate5.Dock = DockStyle.Top;
|
||||
rate5.Fill = Color.FromArgb(255, 87, 34);
|
||||
rate5.LocalizationCharacter = "Rate.{id}";
|
||||
rate5.Location = new Point(0, 136);
|
||||
rate5.Name = "rate5";
|
||||
rate5.Size = new Size(614, 53);
|
||||
rate5.TabIndex = 4;
|
||||
rate5.Text = "rate5";
|
||||
rate5.Value = 2F;
|
||||
//
|
||||
// rate4
|
||||
//
|
||||
rate4.AllowHalf = true;
|
||||
rate4.Character = resources.GetString("rate4.Character");
|
||||
rate4.Dock = DockStyle.Top;
|
||||
rate4.Fill = Color.Salmon;
|
||||
rate4.Location = new Point(0, 90);
|
||||
@@ -115,7 +142,6 @@ namespace Demo.Controls
|
||||
//
|
||||
// rate2
|
||||
//
|
||||
rate2.Character = resources.GetString("rate2.Character");
|
||||
rate2.Dock = DockStyle.Top;
|
||||
rate2.Location = new Point(0, 30);
|
||||
rate2.Name = "rate2";
|
||||
@@ -133,31 +159,6 @@ namespace Demo.Controls
|
||||
rate1.TabIndex = 0;
|
||||
rate1.Text = "rate1";
|
||||
//
|
||||
// rate5
|
||||
//
|
||||
rate5.Character = "好";
|
||||
rate5.Dock = DockStyle.Top;
|
||||
rate5.Fill = Color.FromArgb(255, 87, 34);
|
||||
rate5.Location = new Point(0, 136);
|
||||
rate5.Name = "rate5";
|
||||
rate5.Size = new Size(614, 53);
|
||||
rate5.TabIndex = 4;
|
||||
rate5.Text = "rate5";
|
||||
rate5.Value = 2F;
|
||||
//
|
||||
// rate6
|
||||
//
|
||||
rate6.AllowHalf = true;
|
||||
rate6.Character = "牛皮";
|
||||
rate6.Dock = DockStyle.Top;
|
||||
rate6.Fill = Color.FromArgb(3, 169, 244);
|
||||
rate6.Location = new Point(0, 189);
|
||||
rate6.Name = "rate6";
|
||||
rate6.Size = new Size(614, 75);
|
||||
rate6.TabIndex = 5;
|
||||
rate6.Text = "rate6";
|
||||
rate6.Value = 2.5F;
|
||||
//
|
||||
// Rate
|
||||
//
|
||||
Controls.Add(panel1);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
@@ -117,10 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="rate4.Character" xml:space="preserve">
|
||||
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="fire" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z"></path></svg></value>
|
||||
</data>
|
||||
<data name="rate2.Character" xml:space="preserve">
|
||||
<value><svg viewBox="64 64 896 896" focusable="false" data-icon="heart" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-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.5a258.44 258.44 0 00-56.9 82.8c-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.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"></path></svg></value>
|
||||
</data>
|
||||
</root>
|
||||
2
example/Demo/Controls/Result.Designer.cs
generated
2
example/Demo/Controls/Result.Designer.cs
generated
@@ -62,6 +62,8 @@ namespace Demo.Controls
|
||||
header1.Description = "用于反馈一系列操作任务的处理结果。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Result.Description";
|
||||
header1.LocalizationText = "Result.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
2
example/Demo/Controls/Segmented.Designer.cs
generated
2
example/Demo/Controls/Segmented.Designer.cs
generated
@@ -77,6 +77,8 @@ namespace Demo.Controls
|
||||
header1.Description = "分段控制器。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Segmented.Description";
|
||||
header1.LocalizationText = "Segmented.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
13
example/Demo/Controls/Select.Designer.cs
generated
13
example/Demo/Controls/Select.Designer.cs
generated
@@ -49,6 +49,7 @@ namespace Demo.Controls
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.DividerSelectItem dividerSelectItem1 = new AntdUI.DividerSelectItem();
|
||||
header1 = new AntdUI.PageHeader();
|
||||
panel1 = new System.Windows.Forms.Panel();
|
||||
panel4 = new System.Windows.Forms.Panel();
|
||||
@@ -83,6 +84,8 @@ namespace Demo.Controls
|
||||
header1.Description = "下拉选择器。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Select.Description";
|
||||
header1.LocalizationText = "Select.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -119,9 +122,10 @@ namespace Demo.Controls
|
||||
// select8
|
||||
//
|
||||
select8.DropDownArrow = true;
|
||||
select8.Items.AddRange(new AntdUI.ISelectItem[] { new AntdUI.SelectItem(0, "Lucy"), new AntdUI.SelectItem(1, "Tom"), new AntdUI.SelectItem(1, "AduSkin"), new AntdUI.DividerSelectItem(), new AntdUI.SelectItem(0, "WangLi"), new AntdUI.SelectItem(0, "HUAWEI"), new AntdUI.SelectItem(0, "XIAOMI") });
|
||||
select8.Items.AddRange(new object[] { dividerSelectItem1 });
|
||||
select8.List = true;
|
||||
select8.ListAutoWidth = true;
|
||||
select8.LocalizationPlaceholderText = "Select.{id}";
|
||||
select8.Location = new Point(18, 20);
|
||||
select8.Margin = new Padding(2, 3, 2, 3);
|
||||
select8.Name = "select8";
|
||||
@@ -142,6 +146,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider3.LocalizationText = "Select.{id}";
|
||||
divider3.Location = new Point(0, 257);
|
||||
divider3.Name = "divider3";
|
||||
divider3.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -177,6 +182,7 @@ namespace Demo.Controls
|
||||
select7.Dock = DockStyle.Fill;
|
||||
select7.Items.AddRange(new object[] { "Lucy", "Tom", "AduSkin", "WangLi", "HUAWEI", "XIAOMI" });
|
||||
select7.JoinRight = true;
|
||||
select7.LocalizationPlaceholderText = "Select.{id}";
|
||||
select7.Location = new Point(0, 0);
|
||||
select7.Name = "select7";
|
||||
select7.PlaceholderText = "输入点什么搜索";
|
||||
@@ -210,6 +216,7 @@ namespace Demo.Controls
|
||||
select6.Dock = DockStyle.Fill;
|
||||
select6.Items.AddRange(new object[] { "Lucy", "Tom", "AduSkin", "WangLi", "HUAWEI", "XIAOMI" });
|
||||
select6.JoinRight = true;
|
||||
select6.LocalizationPlaceholderText = "Select.{id}";
|
||||
select6.Location = new Point(0, 0);
|
||||
select6.Name = "select6";
|
||||
select6.PlaceholderText = "输入点什么搜索";
|
||||
@@ -231,6 +238,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Select.{id}";
|
||||
divider2.Location = new Point(0, 135);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -270,6 +278,7 @@ namespace Demo.Controls
|
||||
select4.AllowClear = true;
|
||||
select4.Items.AddRange(new object[] { "Lucy", "Tom", "AduSkin", "WangLi", "HUAWEI", "XIAOMI" });
|
||||
select4.List = true;
|
||||
select4.LocalizationPlaceholderText = "Select.{id}";
|
||||
select4.Location = new Point(390, 12);
|
||||
select4.Name = "select4";
|
||||
select4.PlaceholderText = "无文本";
|
||||
@@ -293,6 +302,7 @@ namespace Demo.Controls
|
||||
select5.AllowClear = true;
|
||||
select5.DropDownArrow = true;
|
||||
select5.Items.AddRange(new object[] { "Lucy", "Tom", "AduSkin", "WangLi", "HUAWEI", "XIAOMI" });
|
||||
select5.LocalizationPlaceholderText = "Select.{id}";
|
||||
select5.Location = new Point(18, 59);
|
||||
select5.Name = "select5";
|
||||
select5.PlaceholderText = "带箭头的";
|
||||
@@ -314,6 +324,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Select.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
@@ -117,14 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="txt_search.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>763, 0</value>
|
||||
</data>
|
||||
<data name="txt_search.PlaceholderText" xml:space="preserve">
|
||||
<value>Keywords to search</value>
|
||||
</data>
|
||||
<data name="txt_search.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>203, 40</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
4
example/Demo/Controls/Slider.Designer.cs
generated
4
example/Demo/Controls/Slider.Designer.cs
generated
@@ -118,6 +118,8 @@ namespace Demo.Controls
|
||||
header1.Description = "滑动型输入器,展示当前值和可选范围。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Slider.Description";
|
||||
header1.LocalizationText = "Slider.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -372,6 +374,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Slider.{id}";
|
||||
divider2.Location = new Point(0, 76);
|
||||
divider2.Name = "divider2";
|
||||
divider2.Orientation = AntdUI.TOrientation.Left;
|
||||
@@ -423,6 +426,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Slider.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
2
example/Demo/Controls/Steps.Designer.cs
generated
2
example/Demo/Controls/Steps.Designer.cs
generated
@@ -89,6 +89,8 @@ namespace Demo.Controls
|
||||
//
|
||||
header1.Description = "引导用户按照流程完成任务的导航条。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.LocalizationDescription = "Steps.Description";
|
||||
header1.LocalizationText = "Steps.Text";
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
|
||||
2
example/Demo/Controls/Switch.Designer.cs
generated
2
example/Demo/Controls/Switch.Designer.cs
generated
@@ -63,6 +63,8 @@ namespace Demo.Controls
|
||||
// header1
|
||||
//
|
||||
header1.Description = "开关选择器。";
|
||||
header1.LocalizationDescription = "Switch.Description";
|
||||
header1.LocalizationText = "Switch.Text";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.Location = new Point(0, 0);
|
||||
|
||||
50
example/Demo/Controls/Table.Designer.cs
generated
50
example/Demo/Controls/Table.Designer.cs
generated
@@ -49,7 +49,7 @@ namespace Demo.Controls
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.Tabs.StyleLine styleLine2 = new AntdUI.Tabs.StyleLine();
|
||||
AntdUI.Tabs.StyleLine styleLine1 = new AntdUI.Tabs.StyleLine();
|
||||
header1 = new AntdUI.PageHeader();
|
||||
pagination1 = new AntdUI.Pagination();
|
||||
table2 = new AntdUI.Table();
|
||||
@@ -76,6 +76,8 @@ namespace Demo.Controls
|
||||
header1.Description = "展示行列数据。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Table.Description";
|
||||
header1.LocalizationText = "Table.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -119,7 +121,6 @@ namespace Demo.Controls
|
||||
table1.Radius = 6;
|
||||
table1.Size = new Size(1288, 508);
|
||||
table1.TabIndex = 0;
|
||||
table1.Text = "table1";
|
||||
table1.CellClick += table1_CellClick;
|
||||
table1.CellButtonClick += table1_CellButtonClick;
|
||||
//
|
||||
@@ -134,8 +135,8 @@ namespace Demo.Controls
|
||||
tabs1.Pages.Add(tabPage1);
|
||||
tabs1.Pages.Add(tabPage2);
|
||||
tabs1.Size = new Size(1300, 602);
|
||||
styleLine2.Radius = 2;
|
||||
tabs1.Style = styleLine2;
|
||||
styleLine1.Radius = 2;
|
||||
tabs1.Style = styleLine1;
|
||||
tabs1.TabIndex = 0;
|
||||
//
|
||||
// tabPage1
|
||||
@@ -171,11 +172,13 @@ namespace Demo.Controls
|
||||
// checkVisibleHeader
|
||||
//
|
||||
checkVisibleHeader.AutoCheck = true;
|
||||
checkVisibleHeader.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkVisibleHeader.Checked = true;
|
||||
checkVisibleHeader.Dock = DockStyle.Left;
|
||||
checkVisibleHeader.Location = new Point(777, 0);
|
||||
checkVisibleHeader.LocalizationText = "Table.{id}";
|
||||
checkVisibleHeader.Location = new Point(781, 0);
|
||||
checkVisibleHeader.Name = "checkVisibleHeader";
|
||||
checkVisibleHeader.Size = new Size(116, 43);
|
||||
checkVisibleHeader.Size = new Size(115, 43);
|
||||
checkVisibleHeader.TabIndex = 6;
|
||||
checkVisibleHeader.Text = "显示表头";
|
||||
checkVisibleHeader.CheckedChanged += checkVisibleHeader_CheckedChanged;
|
||||
@@ -183,10 +186,12 @@ namespace Demo.Controls
|
||||
// checkEnableHeaderResizing
|
||||
//
|
||||
checkEnableHeaderResizing.AutoCheck = true;
|
||||
checkEnableHeaderResizing.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkEnableHeaderResizing.Dock = DockStyle.Left;
|
||||
checkEnableHeaderResizing.Location = new Point(599, 0);
|
||||
checkEnableHeaderResizing.LocalizationText = "Table.{id}";
|
||||
checkEnableHeaderResizing.Location = new Point(600, 0);
|
||||
checkEnableHeaderResizing.Name = "checkEnableHeaderResizing";
|
||||
checkEnableHeaderResizing.Size = new Size(178, 43);
|
||||
checkEnableHeaderResizing.Size = new Size(181, 43);
|
||||
checkEnableHeaderResizing.TabIndex = 5;
|
||||
checkEnableHeaderResizing.Text = "手动调整列头宽度";
|
||||
checkEnableHeaderResizing.CheckedChanged += checkEnableHeaderResizing_CheckedChanged;
|
||||
@@ -194,10 +199,12 @@ namespace Demo.Controls
|
||||
// checkSortOrder
|
||||
//
|
||||
checkSortOrder.AutoCheck = true;
|
||||
checkSortOrder.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkSortOrder.Dock = DockStyle.Left;
|
||||
checkSortOrder.Location = new Point(483, 0);
|
||||
checkSortOrder.LocalizationText = "Table.{id}";
|
||||
checkSortOrder.Location = new Point(485, 0);
|
||||
checkSortOrder.Name = "checkSortOrder";
|
||||
checkSortOrder.Size = new Size(116, 43);
|
||||
checkSortOrder.Size = new Size(115, 43);
|
||||
checkSortOrder.TabIndex = 4;
|
||||
checkSortOrder.Text = "年龄排序";
|
||||
checkSortOrder.CheckedChanged += checkSortOrder_CheckedChanged;
|
||||
@@ -205,10 +212,12 @@ namespace Demo.Controls
|
||||
// checkSetRowStyle
|
||||
//
|
||||
checkSetRowStyle.AutoCheck = true;
|
||||
checkSetRowStyle.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkSetRowStyle.Dock = DockStyle.Left;
|
||||
checkSetRowStyle.Location = new Point(386, 0);
|
||||
checkSetRowStyle.LocalizationText = "Table.{id}";
|
||||
checkSetRowStyle.Location = new Point(387, 0);
|
||||
checkSetRowStyle.Name = "checkSetRowStyle";
|
||||
checkSetRowStyle.Size = new Size(97, 43);
|
||||
checkSetRowStyle.Size = new Size(98, 43);
|
||||
checkSetRowStyle.TabIndex = 3;
|
||||
checkSetRowStyle.Text = "奇偶列";
|
||||
checkSetRowStyle.CheckedChanged += checkSetRowStyle_CheckedChanged;
|
||||
@@ -216,10 +225,12 @@ namespace Demo.Controls
|
||||
// checkBordered
|
||||
//
|
||||
checkBordered.AutoCheck = true;
|
||||
checkBordered.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkBordered.Dock = DockStyle.Left;
|
||||
checkBordered.Location = new Point(259, 0);
|
||||
checkBordered.LocalizationText = "Table.{id}";
|
||||
checkBordered.Location = new Point(256, 0);
|
||||
checkBordered.Name = "checkBordered";
|
||||
checkBordered.Size = new Size(127, 43);
|
||||
checkBordered.Size = new Size(131, 43);
|
||||
checkBordered.TabIndex = 2;
|
||||
checkBordered.Text = "显示列边框";
|
||||
checkBordered.CheckedChanged += checkBordered_CheckedChanged;
|
||||
@@ -227,10 +238,12 @@ namespace Demo.Controls
|
||||
// checkColumnDragSort
|
||||
//
|
||||
checkColumnDragSort.AutoCheck = true;
|
||||
checkColumnDragSort.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkColumnDragSort.Dock = DockStyle.Left;
|
||||
checkColumnDragSort.Location = new Point(126, 0);
|
||||
checkColumnDragSort.LocalizationText = "Table.{id}";
|
||||
checkColumnDragSort.Location = new Point(125, 0);
|
||||
checkColumnDragSort.Name = "checkColumnDragSort";
|
||||
checkColumnDragSort.Size = new Size(133, 43);
|
||||
checkColumnDragSort.Size = new Size(131, 43);
|
||||
checkColumnDragSort.TabIndex = 1;
|
||||
checkColumnDragSort.Text = "列拖拽排序";
|
||||
checkColumnDragSort.CheckedChanged += checkColumnDragSort_CheckedChanged;
|
||||
@@ -238,11 +251,13 @@ namespace Demo.Controls
|
||||
// checkFixedHeader
|
||||
//
|
||||
checkFixedHeader.AutoCheck = true;
|
||||
checkFixedHeader.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkFixedHeader.Checked = true;
|
||||
checkFixedHeader.Dock = DockStyle.Left;
|
||||
checkFixedHeader.LocalizationText = "Table.{id}";
|
||||
checkFixedHeader.Location = new Point(10, 0);
|
||||
checkFixedHeader.Name = "checkFixedHeader";
|
||||
checkFixedHeader.Size = new Size(116, 43);
|
||||
checkFixedHeader.Size = new Size(115, 43);
|
||||
checkFixedHeader.TabIndex = 0;
|
||||
checkFixedHeader.Text = "固定表头";
|
||||
checkFixedHeader.CheckedChanged += checkFixedHeader_CheckedChanged;
|
||||
@@ -269,6 +284,7 @@ namespace Demo.Controls
|
||||
tabs1.ResumeLayout(false);
|
||||
tabPage1.ResumeLayout(false);
|
||||
panel1.ResumeLayout(false);
|
||||
panel1.PerformLayout();
|
||||
tabPage2.ResumeLayout(false);
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace Demo.Controls
|
||||
{
|
||||
form = _form;
|
||||
InitializeComponent();
|
||||
tabPage1.Text = AntdUI.Localization.Get("Table.Tab1", "<22><><EFBFBD><EFBFBD>");
|
||||
tabPage2.Text = AntdUI.Localization.Get("Table.Tab2", "<22><>ҳ");
|
||||
|
||||
#region Table 1
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
44
example/Demo/Controls/TableAOT.Designer.cs
generated
44
example/Demo/Controls/TableAOT.Designer.cs
generated
@@ -76,6 +76,8 @@ namespace Demo.Controls
|
||||
header1.Description = "展示行列数据。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Table.Description";
|
||||
header1.LocalizationText = "Table.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -119,7 +121,6 @@ namespace Demo.Controls
|
||||
table1.Radius = 6;
|
||||
table1.Size = new Size(1288, 508);
|
||||
table1.TabIndex = 0;
|
||||
table1.Text = "table1";
|
||||
table1.CellClick += table1_CellClick;
|
||||
table1.CellButtonClick += table1_CellButtonClick;
|
||||
//
|
||||
@@ -171,11 +172,13 @@ namespace Demo.Controls
|
||||
// checkVisibleHeader
|
||||
//
|
||||
checkVisibleHeader.AutoCheck = true;
|
||||
checkVisibleHeader.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkVisibleHeader.Checked = true;
|
||||
checkVisibleHeader.Dock = DockStyle.Left;
|
||||
checkVisibleHeader.Location = new Point(777, 0);
|
||||
checkVisibleHeader.LocalizationText = "Table.{id}";
|
||||
checkVisibleHeader.Location = new Point(781, 0);
|
||||
checkVisibleHeader.Name = "checkVisibleHeader";
|
||||
checkVisibleHeader.Size = new Size(116, 43);
|
||||
checkVisibleHeader.Size = new Size(115, 43);
|
||||
checkVisibleHeader.TabIndex = 6;
|
||||
checkVisibleHeader.Text = "显示表头";
|
||||
checkVisibleHeader.CheckedChanged += checkVisibleHeader_CheckedChanged;
|
||||
@@ -183,10 +186,12 @@ namespace Demo.Controls
|
||||
// checkEnableHeaderResizing
|
||||
//
|
||||
checkEnableHeaderResizing.AutoCheck = true;
|
||||
checkEnableHeaderResizing.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkEnableHeaderResizing.Dock = DockStyle.Left;
|
||||
checkEnableHeaderResizing.Location = new Point(599, 0);
|
||||
checkEnableHeaderResizing.LocalizationText = "Table.{id}";
|
||||
checkEnableHeaderResizing.Location = new Point(600, 0);
|
||||
checkEnableHeaderResizing.Name = "checkEnableHeaderResizing";
|
||||
checkEnableHeaderResizing.Size = new Size(178, 43);
|
||||
checkEnableHeaderResizing.Size = new Size(181, 43);
|
||||
checkEnableHeaderResizing.TabIndex = 5;
|
||||
checkEnableHeaderResizing.Text = "手动调整列头宽度";
|
||||
checkEnableHeaderResizing.CheckedChanged += checkEnableHeaderResizing_CheckedChanged;
|
||||
@@ -194,10 +199,12 @@ namespace Demo.Controls
|
||||
// checkSortOrder
|
||||
//
|
||||
checkSortOrder.AutoCheck = true;
|
||||
checkSortOrder.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkSortOrder.Dock = DockStyle.Left;
|
||||
checkSortOrder.Location = new Point(483, 0);
|
||||
checkSortOrder.LocalizationText = "Table.{id}";
|
||||
checkSortOrder.Location = new Point(485, 0);
|
||||
checkSortOrder.Name = "checkSortOrder";
|
||||
checkSortOrder.Size = new Size(116, 43);
|
||||
checkSortOrder.Size = new Size(115, 43);
|
||||
checkSortOrder.TabIndex = 4;
|
||||
checkSortOrder.Text = "年龄排序";
|
||||
checkSortOrder.CheckedChanged += checkSortOrder_CheckedChanged;
|
||||
@@ -205,10 +212,12 @@ namespace Demo.Controls
|
||||
// checkSetRowStyle
|
||||
//
|
||||
checkSetRowStyle.AutoCheck = true;
|
||||
checkSetRowStyle.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkSetRowStyle.Dock = DockStyle.Left;
|
||||
checkSetRowStyle.Location = new Point(386, 0);
|
||||
checkSetRowStyle.LocalizationText = "Table.{id}";
|
||||
checkSetRowStyle.Location = new Point(387, 0);
|
||||
checkSetRowStyle.Name = "checkSetRowStyle";
|
||||
checkSetRowStyle.Size = new Size(97, 43);
|
||||
checkSetRowStyle.Size = new Size(98, 43);
|
||||
checkSetRowStyle.TabIndex = 3;
|
||||
checkSetRowStyle.Text = "奇偶列";
|
||||
checkSetRowStyle.CheckedChanged += checkSetRowStyle_CheckedChanged;
|
||||
@@ -216,10 +225,12 @@ namespace Demo.Controls
|
||||
// checkBordered
|
||||
//
|
||||
checkBordered.AutoCheck = true;
|
||||
checkBordered.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkBordered.Dock = DockStyle.Left;
|
||||
checkBordered.Location = new Point(259, 0);
|
||||
checkBordered.LocalizationText = "Table.{id}";
|
||||
checkBordered.Location = new Point(256, 0);
|
||||
checkBordered.Name = "checkBordered";
|
||||
checkBordered.Size = new Size(127, 43);
|
||||
checkBordered.Size = new Size(131, 43);
|
||||
checkBordered.TabIndex = 2;
|
||||
checkBordered.Text = "显示列边框";
|
||||
checkBordered.CheckedChanged += checkBordered_CheckedChanged;
|
||||
@@ -227,10 +238,12 @@ namespace Demo.Controls
|
||||
// checkColumnDragSort
|
||||
//
|
||||
checkColumnDragSort.AutoCheck = true;
|
||||
checkColumnDragSort.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkColumnDragSort.Dock = DockStyle.Left;
|
||||
checkColumnDragSort.Location = new Point(126, 0);
|
||||
checkColumnDragSort.LocalizationText = "Table.{id}";
|
||||
checkColumnDragSort.Location = new Point(125, 0);
|
||||
checkColumnDragSort.Name = "checkColumnDragSort";
|
||||
checkColumnDragSort.Size = new Size(133, 43);
|
||||
checkColumnDragSort.Size = new Size(131, 43);
|
||||
checkColumnDragSort.TabIndex = 1;
|
||||
checkColumnDragSort.Text = "列拖拽排序";
|
||||
checkColumnDragSort.CheckedChanged += checkColumnDragSort_CheckedChanged;
|
||||
@@ -238,11 +251,13 @@ namespace Demo.Controls
|
||||
// checkFixedHeader
|
||||
//
|
||||
checkFixedHeader.AutoCheck = true;
|
||||
checkFixedHeader.AutoSizeMode = AntdUI.TAutoSize.Width;
|
||||
checkFixedHeader.Checked = true;
|
||||
checkFixedHeader.Dock = DockStyle.Left;
|
||||
checkFixedHeader.LocalizationText = "Table.{id}";
|
||||
checkFixedHeader.Location = new Point(10, 0);
|
||||
checkFixedHeader.Name = "checkFixedHeader";
|
||||
checkFixedHeader.Size = new Size(116, 43);
|
||||
checkFixedHeader.Size = new Size(115, 43);
|
||||
checkFixedHeader.TabIndex = 0;
|
||||
checkFixedHeader.Text = "固定表头";
|
||||
checkFixedHeader.CheckedChanged += checkFixedHeader_CheckedChanged;
|
||||
@@ -269,6 +284,7 @@ namespace Demo.Controls
|
||||
tabs1.ResumeLayout(false);
|
||||
tabPage1.ResumeLayout(false);
|
||||
panel1.ResumeLayout(false);
|
||||
panel1.PerformLayout();
|
||||
tabPage2.ResumeLayout(false);
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace Demo.Controls
|
||||
{
|
||||
form = _form;
|
||||
InitializeComponent();
|
||||
tabPage1.Text = AntdUI.Localization.Get("Table.Tab1", "<22><><EFBFBD><EFBFBD>");
|
||||
tabPage2.Text = AntdUI.Localization.Get("Table.Tab2", "<22><>ҳ");
|
||||
table1.EditMode = table2.EditMode = AntdUI.TEditMode.DoubleClick;
|
||||
|
||||
#region Table 1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
2
example/Demo/Controls/Tabs.Designer.cs
generated
2
example/Demo/Controls/Tabs.Designer.cs
generated
@@ -90,6 +90,8 @@ namespace Demo.Controls
|
||||
header1.Description = "选项卡切换组件。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Tabs.Description";
|
||||
header1.LocalizationText = "Tabs.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
6
example/Demo/Controls/Tag.Designer.cs
generated
6
example/Demo/Controls/Tag.Designer.cs
generated
@@ -86,6 +86,8 @@ namespace Demo.Controls
|
||||
header1.Description = "进行标记和分类的小标签";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Tag.Description";
|
||||
header1.LocalizationText = "Tag.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -124,6 +126,7 @@ namespace Demo.Controls
|
||||
tag16.BackColor = Color.FromArgb(59, 89, 153);
|
||||
tag16.ForeColor = Color.White;
|
||||
tag16.Image = Properties.Resources.img1;
|
||||
tag16.LocalizationText = "Tag.{id}";
|
||||
tag16.Location = new Point(13, 13);
|
||||
tag16.Name = "tag16";
|
||||
tag16.Size = new Size(107, 27);
|
||||
@@ -133,6 +136,7 @@ namespace Demo.Controls
|
||||
// divider3
|
||||
//
|
||||
divider3.Dock = DockStyle.Top;
|
||||
divider3.LocalizationText = "Tag.{id}";
|
||||
divider3.Location = new Point(0, 191);
|
||||
divider3.Margin = new Padding(10);
|
||||
divider3.Name = "divider3";
|
||||
@@ -265,6 +269,7 @@ namespace Demo.Controls
|
||||
// divider2
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.LocalizationText = "Tag.{id}";
|
||||
divider2.Location = new Point(0, 81);
|
||||
divider2.Margin = new Padding(10);
|
||||
divider2.Name = "divider2";
|
||||
@@ -352,6 +357,7 @@ namespace Demo.Controls
|
||||
// divider1
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.LocalizationText = "Tag.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Margin = new Padding(10);
|
||||
divider1.Name = "divider1";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
3
example/Demo/Controls/TimePicker.Designer.cs
generated
3
example/Demo/Controls/TimePicker.Designer.cs
generated
@@ -65,6 +65,8 @@ namespace Demo.Controls
|
||||
header1.Description = "输入或选择时间的控件。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "TimePicker.Description";
|
||||
header1.LocalizationText = "TimePicker.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -129,6 +131,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "TimePicker.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Name = "divider1";
|
||||
divider1.Orientation = AntdUI.TOrientation.Left;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
2
example/Demo/Controls/Timeline.Designer.cs
generated
2
example/Demo/Controls/Timeline.Designer.cs
generated
@@ -71,6 +71,8 @@ namespace Demo.Controls
|
||||
header1.Description = "垂直展示的时间流信息。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Timeline.Description";
|
||||
header1.LocalizationText = "Timeline.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
13
example/Demo/Controls/Tooltip.Designer.cs
generated
13
example/Demo/Controls/Tooltip.Designer.cs
generated
@@ -67,7 +67,7 @@ namespace Demo.Controls
|
||||
divider2 = new AntdUI.Divider();
|
||||
panel2 = new System.Windows.Forms.Panel();
|
||||
tooltip1 = new AntdUI.Tooltip();
|
||||
label4 = new Label();
|
||||
label4 = new AntdUI.Label();
|
||||
divider1 = new AntdUI.Divider();
|
||||
tooltipComponent1 = new AntdUI.TooltipComponent();
|
||||
tooltipTL = new AntdUI.TooltipComponent();
|
||||
@@ -92,6 +92,8 @@ namespace Demo.Controls
|
||||
header1.Description = "简单的文字提示气泡框。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Tooltip.Description";
|
||||
header1.LocalizationText = "Tooltip.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -257,6 +259,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider2.Dock = DockStyle.Top;
|
||||
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider2.LocalizationText = "Tooltip.{id}";
|
||||
divider2.Location = new Point(0, 84);
|
||||
divider2.Margin = new Padding(10);
|
||||
divider2.Name = "divider2";
|
||||
@@ -287,10 +290,11 @@ namespace Demo.Controls
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
||||
label4.LocalizationText = "Tooltip.{id}";
|
||||
label4.Location = new Point(12, 10);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new Size(106, 21);
|
||||
label4.Size = new Size(105, 23);
|
||||
label4.TabIndex = 0;
|
||||
label4.Text = "最简单的用法";
|
||||
tooltipComponent1.SetTip(label4, "prompt text");
|
||||
@@ -299,6 +303,7 @@ namespace Demo.Controls
|
||||
//
|
||||
divider1.Dock = DockStyle.Top;
|
||||
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
||||
divider1.LocalizationText = "Tooltip.{id}";
|
||||
divider1.Location = new Point(0, 0);
|
||||
divider1.Margin = new Padding(10);
|
||||
divider1.Name = "divider1";
|
||||
@@ -389,7 +394,7 @@ namespace Demo.Controls
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private AntdUI.Divider divider1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private Label label4;
|
||||
private AntdUI.Label label4;
|
||||
private AntdUI.TooltipComponent tooltipComponent1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private AntdUI.Divider divider2;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
2
example/Demo/Controls/Tree.Designer.cs
generated
2
example/Demo/Controls/Tree.Designer.cs
generated
@@ -59,6 +59,8 @@ namespace Demo.Controls
|
||||
header1.Description = "多层次的结构列表。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "Tree.Description";
|
||||
header1.LocalizationText = "Tree.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
3
example/Demo/Controls/VirtualPanel.Designer.cs
generated
3
example/Demo/Controls/VirtualPanel.Designer.cs
generated
@@ -65,6 +65,8 @@ namespace Demo.Controls
|
||||
header1.Description = "内容区域。";
|
||||
header1.Dock = DockStyle.Top;
|
||||
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
header1.LocalizationDescription = "VirtualPanel.Description";
|
||||
header1.LocalizationText = "VirtualPanel.Text";
|
||||
header1.Location = new Point(0, 0);
|
||||
header1.Name = "header1";
|
||||
header1.Padding = new Padding(0, 0, 0, 10);
|
||||
@@ -98,6 +100,7 @@ namespace Demo.Controls
|
||||
// checkbox1
|
||||
//
|
||||
checkbox1.AutoCheck = true;
|
||||
checkbox1.LocalizationText = "VirtualPanel.{id}";
|
||||
checkbox1.Location = new Point(229, 54);
|
||||
checkbox1.Name = "checkbox1";
|
||||
checkbox1.Size = new Size(91, 30);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
|
||||
@@ -43,6 +43,13 @@ namespace Demo
|
||||
|
||||
#region DEMO
|
||||
|
||||
case "Overview.txt_search"://<2F><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD><D8BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...
|
||||
return "Keywords to search";
|
||||
case "CopyOK":
|
||||
return "copied";
|
||||
case "CopyFailed":
|
||||
return "copy failed";
|
||||
|
||||
case "General":
|
||||
return "General";
|
||||
case "Layout":
|
||||
@@ -59,6 +66,433 @@ namespace Demo
|
||||
case "Setting":
|
||||
return "Setting";
|
||||
|
||||
//Alert ----------------------------
|
||||
case "Alert.Text":
|
||||
return "Alert";
|
||||
case "Alert.Description":
|
||||
return "Display warning messages that require attention.";
|
||||
case "Alert.divider1":
|
||||
return "More types";
|
||||
case "Alert.divider2":
|
||||
return "Description";
|
||||
case "Alert.divider3":
|
||||
return "Loop Banner";
|
||||
case "Alert.alert12":
|
||||
return "Nike Just Do It";
|
||||
|
||||
//Avatar ----------------------------
|
||||
case "Avatar.Text":
|
||||
return "Avatar";
|
||||
case "Avatar.Description":
|
||||
return "Used to represent users or things, supporting the display of images, icons, or characters.";
|
||||
case "Avatar.avatar10":
|
||||
return "N";
|
||||
|
||||
//Badge ----------------------------
|
||||
case "Badge.Text":
|
||||
return "Badge";
|
||||
case "Badge.Description":
|
||||
return "Small numerical value or status descriptor for UI elements.";
|
||||
case "Badge.divider1":
|
||||
return "Basic";
|
||||
|
||||
//Breadcrumb ----------------------------
|
||||
case "Breadcrumb.Text":
|
||||
return "Breadcrumb";
|
||||
case "Breadcrumb.Description":
|
||||
return "Description";
|
||||
|
||||
//Button ----------------------------
|
||||
case "Button.Text":
|
||||
return "Button";
|
||||
case "Button.Description":
|
||||
return "To trigger an operation.";
|
||||
case "Button.Search":
|
||||
return "Search";
|
||||
case "Button.divider1":
|
||||
return "Color & Type";
|
||||
case "Button.divider2":
|
||||
return "Icon";
|
||||
case "Button.divider3":
|
||||
return "Link";
|
||||
case "Button.divider4":
|
||||
return "IconPosition";
|
||||
case "Button.divider5":
|
||||
return "Multiple Buttons";
|
||||
case "Button.divider6":
|
||||
return "Shape";
|
||||
|
||||
//Carousel ----------------------------
|
||||
case "Carousel.Text":
|
||||
return "Carousel";
|
||||
case "Carousel.Description":
|
||||
return "A set of carousel areas.";
|
||||
|
||||
//Checkbox ----------------------------
|
||||
case "Checkbox.Text":
|
||||
return "Checkbox";
|
||||
case "Checkbox.Description":
|
||||
return "Collect user's choices.";
|
||||
|
||||
//Collapse ----------------------------
|
||||
case "Collapse.Text":
|
||||
return "Collapse";
|
||||
case "Collapse.Description":
|
||||
return "A content area which can be collapsed and expanded.";
|
||||
case "Collapse.divider1":
|
||||
return "Collapse";
|
||||
case "Collapse.divider2":
|
||||
return "Borderless";
|
||||
|
||||
//ColorPicker ----------------------------
|
||||
case "ColorPicker.Text":
|
||||
return "ColorPicker";
|
||||
case "ColorPicker.Description":
|
||||
return "Used for color selection.";
|
||||
|
||||
//DatePicker ----------------------------
|
||||
case "DatePicker.Text":
|
||||
return "DatePicker";
|
||||
case "DatePicker.Description":
|
||||
return "To select or input a date.";
|
||||
case "DatePicker.divider1":
|
||||
return "Basic";
|
||||
case "DatePicker.divider2":
|
||||
return "Range Picker";
|
||||
case "DatePicker.divider3":
|
||||
return "Time/Preset";
|
||||
case "DatePicker.PlaceholderText":
|
||||
return "Select a date";
|
||||
case "DatePicker.PlaceholderS":
|
||||
return "Start date";
|
||||
case "DatePicker.PlaceholderE":
|
||||
return "End date";
|
||||
|
||||
//Divider ----------------------------
|
||||
case "Divider.Text":
|
||||
return "Divider";
|
||||
case "Divider.Description":
|
||||
return "A divider line separates different content.";
|
||||
|
||||
//Drawer ----------------------------
|
||||
case "Drawer.Text":
|
||||
return "Drawer";
|
||||
case "Drawer.Description":
|
||||
return "A panel that slides out from the edge of the screen.";
|
||||
case "Drawer.divider1":
|
||||
return "Basic";
|
||||
|
||||
//Dropdown ----------------------------
|
||||
case "Dropdown.Text":
|
||||
return "Dropdown";
|
||||
case "Dropdown.Description":
|
||||
return "A dropdown list.";
|
||||
case "Dropdown.divider1":
|
||||
return "Type";
|
||||
case "Dropdown.divider2":
|
||||
return "Placement";
|
||||
case "Dropdown.dropdown1":
|
||||
return "Subs menu";
|
||||
|
||||
//Icon ----------------------------
|
||||
case "Icon.Text":
|
||||
return "Icon";
|
||||
case "Icon.Description":
|
||||
return "Semantic vector graphics.";
|
||||
case "Icon.PlaceholderText":
|
||||
return "Search icons here, click icon to copy code";
|
||||
case "Outlined": return "Outlined";
|
||||
case "Filled": return "Filled";
|
||||
case "Icon.Directional": return "Directional Icons";
|
||||
case "Icon.Suggested": return "Suggested Icons";
|
||||
case "Icon.Editor": return "Editor Icons";
|
||||
case "Icon.Data": return "Data Icons";
|
||||
case "Icon.Logos": return "Brand and Logos";
|
||||
case "Icon.Application": return "Application Icons";
|
||||
|
||||
//Input ----------------------------
|
||||
case "Input.Text":
|
||||
return "Input";
|
||||
case "Input.Description":
|
||||
return "Through mouse or keyboard input content, it is the most basic form field wrapper.";
|
||||
case "Input.Search":
|
||||
return "Search";
|
||||
case "Input.divider1":
|
||||
return "Basic";
|
||||
case "Input.divider2":
|
||||
return "Combination";
|
||||
case "Input.input3":
|
||||
return "Enter your username";
|
||||
case "Input.input7":
|
||||
case "Input.input8":
|
||||
case "Input.input9":
|
||||
return "input search text";
|
||||
|
||||
//InputNumber ----------------------------
|
||||
case "InputNumber.Text":
|
||||
return "InputNumber";
|
||||
case "InputNumber.Description":
|
||||
return "Enter a number within certain range with the mouse or keyboard.";
|
||||
case "InputNumber.divider1":
|
||||
return "Basic";
|
||||
case "InputNumber.input3":
|
||||
return "Enter number";
|
||||
|
||||
//Menu ----------------------------
|
||||
case "Menu.Text":
|
||||
return "Menu";
|
||||
case "Menu.Description":
|
||||
return "A versatile menu for navigation.";
|
||||
|
||||
//Message ----------------------------
|
||||
case "Message.Text":
|
||||
return "Message";
|
||||
case "Message.Description":
|
||||
return "Display global messages as feedback in response to user operations.";
|
||||
case "Message.divider1":
|
||||
return "More types";
|
||||
case "Message.divider2":
|
||||
return "Message with loading indicator";
|
||||
|
||||
//Modal ----------------------------
|
||||
case "Modal.Text":
|
||||
return "Modal";
|
||||
case "Modal.Description":
|
||||
return "Display a modal dialog box, providing a title, content area, and action buttons.";
|
||||
case "Modal.divider1":
|
||||
return "Basic";
|
||||
|
||||
//Notification ----------------------------
|
||||
case "Notification.Text":
|
||||
return "Notification";
|
||||
case "Notification.Description":
|
||||
return "Prompt notification message globally.";
|
||||
case "Notification.divider1":
|
||||
return "Placement";
|
||||
case "Notification.divider2":
|
||||
return "More types";
|
||||
|
||||
//PageHeader ----------------------------
|
||||
case "PageHeader.Text":
|
||||
return "PageHeader";
|
||||
case "PageHeader.Description":
|
||||
return "A header with common actions and design elements built in.";
|
||||
case "PageHeader.Type":
|
||||
return "ShowBack";
|
||||
case "PageHeader.divider1":
|
||||
return "Basic";
|
||||
case "PageHeader.divider2":
|
||||
return "CloseButton";
|
||||
|
||||
//Pagination ----------------------------
|
||||
case "Pagination.Text":
|
||||
return "Pagination";
|
||||
case "Pagination.Description":
|
||||
return "A long list can be divided into several pages, and only one page will be loaded at a time.";
|
||||
|
||||
//Panel ----------------------------
|
||||
case "Panel.Text":
|
||||
return "Panel";
|
||||
case "Panel.Description":
|
||||
return "A container for displaying information.";
|
||||
|
||||
//Popover ----------------------------
|
||||
case "Popover.Text":
|
||||
return "Popover";
|
||||
case "Popover.Description":
|
||||
return "The floating card pops up when clicking/mouse hovering over an element.";
|
||||
case "Popover.divider1":
|
||||
return "Basic";
|
||||
case "Popover.divider2":
|
||||
return "Placement";
|
||||
case "Popover.button1":
|
||||
return "Normal";
|
||||
case "Popover.button2":
|
||||
return "Custom Control Content";
|
||||
|
||||
//Preview ----------------------------
|
||||
case "Preview.Text":
|
||||
return "Preview";
|
||||
case "Preview.Description":
|
||||
return "Picture preview box.";
|
||||
case "Preview.divider1":
|
||||
return "Basic";
|
||||
case "Preview.button1":
|
||||
return "Single Image";
|
||||
case "Preview.button2":
|
||||
return "Multiple Images";
|
||||
|
||||
//Progress ----------------------------
|
||||
case "Progress.Text":
|
||||
return "Progress";
|
||||
case "Progress.Description":
|
||||
return "Display the current progress of the operation.";
|
||||
case "Progress.divider1":
|
||||
return "Standard progress bar";
|
||||
case "Progress.divider2":
|
||||
return "Circular progress bar";
|
||||
case "Progress.divider3":
|
||||
return "Mini size progress bar";
|
||||
case "Progress.divider4":
|
||||
return "Responsive circular progress bar";
|
||||
case "Progress.divider5":
|
||||
return "Progress bar with steps";
|
||||
|
||||
//Radio ----------------------------
|
||||
case "Radio.Text":
|
||||
return "Radio";
|
||||
case "Radio.Description":
|
||||
return "Used to select a single state from multiple options.";
|
||||
|
||||
//Rate ----------------------------
|
||||
case "Rate.Text":
|
||||
return "Rate";
|
||||
case "Rate.Description":
|
||||
return "Used for rating operation on something.";
|
||||
case "Rate.rate5":
|
||||
return "A";
|
||||
case "Rate.rate6":
|
||||
return "NB";
|
||||
|
||||
//Result ----------------------------
|
||||
case "Result.Text":
|
||||
return "Result";
|
||||
case "Result.Description":
|
||||
return "Used to feedback the processing results of a series of operations.";
|
||||
|
||||
//Segmented ----------------------------
|
||||
case "Segmented.Text":
|
||||
return "Segmented";
|
||||
case "Segmented.Description":
|
||||
return "Display multiple options and allow users to select a single option.";
|
||||
|
||||
//Select ----------------------------
|
||||
case "Select.Text":
|
||||
return "Select";
|
||||
case "Select.Description":
|
||||
return "A dropdown menu for displaying choices.";
|
||||
case "Select.divider1":
|
||||
return "Basic";
|
||||
case "Select.divider2":
|
||||
return "Combination";
|
||||
case "Select.divider3":
|
||||
return "More";
|
||||
case "Select.select4":
|
||||
return "No text";
|
||||
case "Select.select5":
|
||||
return "Show Arrow";
|
||||
case "Select.select6":
|
||||
case "Select.select7":
|
||||
return "Enter search freely";
|
||||
case "Select.select8":
|
||||
return "(Select)";
|
||||
|
||||
//Slider ----------------------------
|
||||
case "Slider.Text":
|
||||
return "Slider";
|
||||
case "Slider.Description":
|
||||
return "A Slider component for displaying current value and intervals in range.";
|
||||
case "Slider.divider1":
|
||||
return "Basic";
|
||||
case "Slider.divider2":
|
||||
return "Mark Dot";
|
||||
|
||||
//Steps ----------------------------
|
||||
case "Steps.Text":
|
||||
return "Steps";
|
||||
case "Steps.Description":
|
||||
return "A navigation bar that guides users through the steps of a task.";
|
||||
|
||||
//Switch ----------------------------
|
||||
case "Switch.Text":
|
||||
return "Switch";
|
||||
case "Switch.Description":
|
||||
return "Used to toggle between two states.";
|
||||
|
||||
//Table ----------------------------
|
||||
case "Table.Text":
|
||||
return "Table";
|
||||
case "Table.Description":
|
||||
return "A table displays rows of data.";
|
||||
case "Table.Tab1":
|
||||
return "Basic";
|
||||
case "Table.Tab2":
|
||||
return "Pagination";
|
||||
case "Table.checkFixedHeader":
|
||||
return "FixedHeader";
|
||||
case "Table.checkColumnDragSort":
|
||||
return "ColumnDragSort";
|
||||
case "Table.checkBordered":
|
||||
return "Bordered";
|
||||
case "Table.checkSetRowStyle":
|
||||
return "SetRowStyle";
|
||||
case "Table.checkSortOrder":
|
||||
return "SortOrder";
|
||||
case "Table.checkEnableHeaderResizing":
|
||||
return "EnableHeaderResizing";
|
||||
case "Table.checkVisibleHeader":
|
||||
return "VisibleHeader";
|
||||
|
||||
//Tabs ----------------------------
|
||||
case "Tabs.Text":
|
||||
return "Tabs";
|
||||
case "Tabs.Description":
|
||||
return "Tabs make it easy to explore and switch between different views.";
|
||||
|
||||
//Tag ----------------------------
|
||||
case "Tag.Text":
|
||||
return "Tag";
|
||||
case "Tag.Description":
|
||||
return "Used for marking and categorization.";
|
||||
case "Tag.divider1":
|
||||
return "Basic";
|
||||
case "Tag.divider2":
|
||||
return "Colorful Tag";
|
||||
case "Tag.divider3":
|
||||
return "Icon";
|
||||
case "Tag.tag16":
|
||||
return "Custom Icon";
|
||||
|
||||
//Timeline ----------------------------
|
||||
case "Timeline.Text":
|
||||
return "Timeline";
|
||||
case "Timeline.Description":
|
||||
return "Vertical display timeline.";
|
||||
|
||||
//TimePicker ----------------------------
|
||||
case "TimePicker.Text":
|
||||
return "TimePicker";
|
||||
case "TimePicker.Description":
|
||||
return "To select/input a time.";
|
||||
case "TimePicker.divider1":
|
||||
return "Basic";
|
||||
|
||||
//Tooltip ----------------------------
|
||||
case "Tooltip.Text":
|
||||
return "Tooltip";
|
||||
case "Tooltip.Description":
|
||||
return "Simple text popup box.";
|
||||
case "Tooltip.divider1":
|
||||
return "Basic";
|
||||
case "Tooltip.divider2":
|
||||
return "Placement";
|
||||
case "Tooltip.label4":
|
||||
return "Simplest usage";
|
||||
|
||||
//Tree ----------------------------
|
||||
case "Tree.Text":
|
||||
return "Tree";
|
||||
case "Tree.Description":
|
||||
return "Multiple-level structure list.";
|
||||
|
||||
//VirtualPanel ----------------------------
|
||||
case "VirtualPanel.Text":
|
||||
return "VirtualPanel";
|
||||
case "VirtualPanel.Description":
|
||||
return "Layout container detached from Winform framework.";
|
||||
case "VirtualPanel.checkbox1":
|
||||
return "Waterfall";
|
||||
|
||||
#endregion
|
||||
|
||||
default:
|
||||
|
||||
50
example/Demo/Overview.Designer.cs
generated
50
example/Demo/Overview.Designer.cs
generated
@@ -49,7 +49,6 @@ namespace Demo
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Overview));
|
||||
btn_mode = new AntdUI.Button();
|
||||
btn_global = new AntdUI.Dropdown();
|
||||
btn_setting = new AntdUI.Button();
|
||||
@@ -62,50 +61,62 @@ namespace Demo
|
||||
//
|
||||
// btn_mode
|
||||
//
|
||||
resources.ApplyResources(btn_mode, "btn_mode");
|
||||
btn_mode.Dock = DockStyle.Right;
|
||||
btn_mode.Ghost = true;
|
||||
btn_mode.IconSvg = "SunOutlined";
|
||||
btn_mode.Location = new Point(1006, 0);
|
||||
btn_mode.Name = "btn_mode";
|
||||
btn_mode.Radius = 0;
|
||||
btn_mode.Size = new Size(50, 40);
|
||||
btn_mode.TabIndex = 6;
|
||||
btn_mode.ToggleIconSvg = "MoonOutlined";
|
||||
btn_mode.WaveSize = 0;
|
||||
btn_mode.Click += btn_mode_Click;
|
||||
//
|
||||
// btn_global
|
||||
//
|
||||
resources.ApplyResources(btn_global, "btn_global");
|
||||
btn_global.Dock = DockStyle.Right;
|
||||
btn_global.DropDownRadius = 6;
|
||||
btn_global.Ghost = true;
|
||||
btn_global.IconSvg = "GlobalOutlined";
|
||||
btn_global.Location = new Point(1056, 0);
|
||||
btn_global.Name = "btn_global";
|
||||
btn_global.Placement = AntdUI.TAlignFrom.BR;
|
||||
btn_global.Radius = 0;
|
||||
btn_global.Size = new Size(50, 40);
|
||||
btn_global.TabIndex = 7;
|
||||
btn_global.WaveSize = 0;
|
||||
btn_global.SelectedValueChanged += btn_global_Changed;
|
||||
//
|
||||
// btn_setting
|
||||
//
|
||||
resources.ApplyResources(btn_setting, "btn_setting");
|
||||
btn_setting.Dock = DockStyle.Right;
|
||||
btn_setting.Ghost = true;
|
||||
btn_setting.IconSvg = "SettingOutlined";
|
||||
btn_setting.Location = new Point(1106, 0);
|
||||
btn_setting.Name = "btn_setting";
|
||||
btn_setting.Radius = 0;
|
||||
btn_setting.Size = new Size(50, 40);
|
||||
btn_setting.TabIndex = 8;
|
||||
btn_setting.WaveSize = 0;
|
||||
btn_setting.Click += btn_setting_Click;
|
||||
//
|
||||
// virtualPanel
|
||||
//
|
||||
resources.ApplyResources(virtualPanel, "virtualPanel");
|
||||
virtualPanel.Dock = DockStyle.Fill;
|
||||
virtualPanel.JustifyContent = AntdUI.TJustifyContent.SpaceEvenly;
|
||||
virtualPanel.Location = new Point(0, 40);
|
||||
virtualPanel.Name = "virtualPanel";
|
||||
virtualPanel.Shadow = 20;
|
||||
virtualPanel.ShadowOpacityAnimation = true;
|
||||
virtualPanel.Size = new Size(1300, 680);
|
||||
virtualPanel.TabIndex = 2;
|
||||
virtualPanel.Waterfall = true;
|
||||
virtualPanel.ItemClick += ItemClick;
|
||||
//
|
||||
// windowBar
|
||||
//
|
||||
resources.ApplyResources(windowBar, "windowBar");
|
||||
windowBar.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
windowBar.Controls.Add(txt_search);
|
||||
windowBar.Controls.Add(colorTheme);
|
||||
windowBar.Controls.Add(btn_mode);
|
||||
@@ -113,34 +124,55 @@ namespace Demo
|
||||
windowBar.Controls.Add(btn_setting);
|
||||
windowBar.DividerMargin = 3;
|
||||
windowBar.DividerShow = true;
|
||||
windowBar.Dock = DockStyle.Top;
|
||||
windowBar.Font = new Font("Microsoft YaHei UI", 12F);
|
||||
windowBar.Icon = Properties.Resources.logo;
|
||||
windowBar.Location = new Point(0, 0);
|
||||
windowBar.Name = "windowBar";
|
||||
windowBar.ShowButton = true;
|
||||
windowBar.ShowIcon = true;
|
||||
windowBar.Size = new Size(1300, 40);
|
||||
windowBar.SubText = "Overview";
|
||||
windowBar.TabIndex = 0;
|
||||
windowBar.Text = "AntdUI";
|
||||
windowBar.BackClick += btn_back_Click;
|
||||
//
|
||||
// txt_search
|
||||
//
|
||||
resources.ApplyResources(txt_search, "txt_search");
|
||||
txt_search.Dock = DockStyle.Right;
|
||||
txt_search.LocalizationPlaceholderText = "Overview.{id}";
|
||||
txt_search.Location = new Point(796, 0);
|
||||
txt_search.Name = "txt_search";
|
||||
txt_search.Padding = new Padding(0, 2, 0, 2);
|
||||
txt_search.PlaceholderText = "输入关键字搜索...";
|
||||
txt_search.PrefixSvg = "SearchOutlined";
|
||||
txt_search.Size = new Size(170, 40);
|
||||
txt_search.TabIndex = 9;
|
||||
txt_search.PrefixClick += txt_search_PrefixClick;
|
||||
txt_search.TextChanged += txt_search_TextChanged;
|
||||
//
|
||||
// colorTheme
|
||||
//
|
||||
resources.ApplyResources(colorTheme, "colorTheme");
|
||||
colorTheme.Dock = DockStyle.Right;
|
||||
colorTheme.Location = new Point(966, 0);
|
||||
colorTheme.Name = "colorTheme";
|
||||
colorTheme.Padding = new Padding(5);
|
||||
colorTheme.Size = new Size(40, 40);
|
||||
colorTheme.TabIndex = 8;
|
||||
colorTheme.Value = Color.FromArgb(22, 119, 255);
|
||||
//
|
||||
// Overview
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
BackColor = Color.White;
|
||||
ClientSize = new Size(1300, 720);
|
||||
Controls.Add(virtualPanel);
|
||||
Controls.Add(windowBar);
|
||||
Font = new Font("Microsoft YaHei UI", 12F);
|
||||
ForeColor = Color.Black;
|
||||
MinimumSize = new Size(660, 400);
|
||||
Name = "Overview";
|
||||
StartPosition = FormStartPosition.CenterScreen;
|
||||
Text = "AntdUI Overview";
|
||||
windowBar.ResumeLayout(false);
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -1,340 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name=">>btn_mode.Type" xml:space="preserve">
|
||||
<value>AntdUI.Button, AntdUI, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>btn_global.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="txt_search.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>796, 0</value>
|
||||
</data>
|
||||
<data name=">>windowBar.Type" xml:space="preserve">
|
||||
<value>AntdUI.PageHeader, AntdUI, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name="txt_search.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>170, 40</value>
|
||||
</data>
|
||||
<data name=">>txt_search.Type" xml:space="preserve">
|
||||
<value>AntdUI.Input, AntdUI, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="btn_mode.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>virtualPanel.Type" xml:space="preserve">
|
||||
<value>AntdUI.VirtualPanel, AntdUI, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name="btn_global.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>1056, 0</value>
|
||||
</data>
|
||||
<data name="windowBar.Text" xml:space="preserve">
|
||||
<value>AntdUI</value>
|
||||
</data>
|
||||
<data name="btn_mode.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>1006, 0</value>
|
||||
</data>
|
||||
<data name=">>colorTheme.Name" xml:space="preserve">
|
||||
<value>colorTheme</value>
|
||||
</data>
|
||||
<data name="btn_mode.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>50, 40</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1300, 720</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>Overview</value>
|
||||
</data>
|
||||
<data name=">>btn_mode.Parent" xml:space="preserve">
|
||||
<value>windowBar</value>
|
||||
</data>
|
||||
<data name="colorTheme.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>40, 40</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="colorTheme.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Right</value>
|
||||
</data>
|
||||
<data name=">>btn_global.Parent" xml:space="preserve">
|
||||
<value>windowBar</value>
|
||||
</data>
|
||||
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Microsoft YaHei UI, 12pt</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>AntdUI.Window, AntdUI, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name="btn_setting.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>50, 40</value>
|
||||
</data>
|
||||
<data name=">>btn_mode.Name" xml:space="preserve">
|
||||
<value>btn_mode</value>
|
||||
</data>
|
||||
<data name="btn_global.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name=">>colorTheme.Type" xml:space="preserve">
|
||||
<value>AntdUI.ColorPicker, AntdUI, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>btn_setting.Name" xml:space="preserve">
|
||||
<value>btn_setting</value>
|
||||
</data>
|
||||
<data name="btn_global.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Right</value>
|
||||
</data>
|
||||
<data name="txt_search.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name=">>windowBar.Name" xml:space="preserve">
|
||||
<value>windowBar</value>
|
||||
</data>
|
||||
<data name=">>btn_setting.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="txt_search.PlaceholderText" xml:space="preserve">
|
||||
<value>输入关键字搜索...</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="txt_search.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>0, 2, 0, 2</value>
|
||||
</data>
|
||||
<data name="windowBar.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1300, 40</value>
|
||||
</data>
|
||||
<data name="colorTheme.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name=">>colorTheme.Parent" xml:space="preserve">
|
||||
<value>windowBar</value>
|
||||
</data>
|
||||
<data name="windowBar.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Microsoft YaHei UI, 12pt</value>
|
||||
</data>
|
||||
<data name=">>btn_setting.Parent" xml:space="preserve">
|
||||
<value>windowBar</value>
|
||||
</data>
|
||||
<data name="virtualPanel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name=">>txt_search.Parent" xml:space="preserve">
|
||||
<value>windowBar</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>AntdUI Overview</value>
|
||||
</data>
|
||||
<data name="btn_global.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>50, 40</value>
|
||||
</data>
|
||||
<data name=">>colorTheme.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterScreen</value>
|
||||
</data>
|
||||
<data name="windowBar.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Top</value>
|
||||
</data>
|
||||
<data name=">>virtualPanel.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name="colorTheme.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>966, 0</value>
|
||||
</data>
|
||||
<data name=">>btn_setting.Type" xml:space="preserve">
|
||||
<value>AntdUI.Button, AntdUI, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>txt_search.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="windowBar.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
|
||||
<value>Stretch</value>
|
||||
</data>
|
||||
<data name="btn_setting.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name=">>txt_search.Name" xml:space="preserve">
|
||||
<value>txt_search</value>
|
||||
</data>
|
||||
<data name=">>btn_global.Type" xml:space="preserve">
|
||||
<value>AntdUI.Dropdown, AntdUI, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name="virtualPanel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1300, 680</value>
|
||||
</data>
|
||||
<data name=">>virtualPanel.Name" xml:space="preserve">
|
||||
<value>virtualPanel</value>
|
||||
</data>
|
||||
<data name=">>virtualPanel.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="windowBar.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>btn_mode.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>660, 400</value>
|
||||
</data>
|
||||
<data name="btn_setting.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Right</value>
|
||||
</data>
|
||||
<data name="virtualPanel.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="windowBar.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name=">>windowBar.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name="txt_search.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Right</value>
|
||||
</data>
|
||||
<data name="btn_setting.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>1106, 0</value>
|
||||
</data>
|
||||
<data name="windowBar.SubText" xml:space="preserve">
|
||||
<value>Overview</value>
|
||||
</data>
|
||||
<data name="virtualPanel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 40</value>
|
||||
</data>
|
||||
<data name="colorTheme.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>5, 5, 5, 5</value>
|
||||
</data>
|
||||
<data name="btn_mode.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Right</value>
|
||||
</data>
|
||||
<data name=">>btn_global.Name" xml:space="preserve">
|
||||
<value>btn_global</value>
|
||||
</data>
|
||||
<data name=">>windowBar.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<metadata name="$this.Language" type="System.Globalization.CultureInfo, System.Private.CoreLib, Culture=neutral, PublicKeyToken=7cec85d7bea7798e">
|
||||
<value>en-US</value>
|
||||
</metadata>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -32,6 +32,9 @@ namespace Demo
|
||||
{
|
||||
ComWrappers.RegisterForMarshalling(WinFormsComInterop.WinFormsComWrappers.Instance);
|
||||
var command = string.Join(" ", arge);
|
||||
AntdUI.Localization.DefaultLanguage = "zh-CN";
|
||||
var lang = AntdUI.Localization.CurrentLanguage;
|
||||
if (lang.StartsWith("en")) AntdUI.Localization.Provider = new Localizer();
|
||||
AntdUI.Config.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
|
||||
Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
Reference in New Issue
Block a user