add DragWindow
This commit is contained in:
1 parent
7417a1715b
commit
004ae9422b
11 files changed
+341
-188
No files matched your search
@@ -0,0 +1,71 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace HandyControl.Controls
|
||||
{
|
||||
/// <summary>
|
||||
/// Enable drag for a control
|
||||
/// </summary>
|
||||
public static class DragWindows
|
||||
{
|
||||
public static readonly DependencyProperty EnableDragProperty = DependencyProperty.RegisterAttached(
|
||||
"EnableDrag",
|
||||
typeof(bool),
|
||||
typeof(DragWindows),
|
||||
new PropertyMetadata(default(bool), OnLoaded));
|
||||
|
||||
private static void OnLoaded(DependencyObject dependencyObject,
|
||||
DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
|
||||
{
|
||||
var uiElement = dependencyObject as UIElement;
|
||||
if (uiElement == null || (dependencyPropertyChangedEventArgs.NewValue is bool) == false)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ((bool)dependencyPropertyChangedEventArgs.NewValue)
|
||||
{
|
||||
uiElement.MouseMove += UiElementOnMouseMove;
|
||||
}
|
||||
else
|
||||
{
|
||||
uiElement.MouseMove -= UiElementOnMouseMove;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void UiElementOnMouseMove(object sender, MouseEventArgs mouseEventArgs)
|
||||
{
|
||||
if (sender is UIElement uiElement && mouseEventArgs.LeftButton == MouseButtonState.Pressed)
|
||||
{
|
||||
DependencyObject parent = uiElement;
|
||||
int avoidInfiniteLoop = 0;
|
||||
// Search up the visual tree to find the first parent window.
|
||||
while ((parent is Window) == false)
|
||||
{
|
||||
parent = VisualTreeHelper.GetParent(parent);
|
||||
avoidInfiniteLoop++;
|
||||
if (avoidInfiniteLoop == 1000)
|
||||
{
|
||||
// Something is wrong - we could not find the parent window.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
var window = parent as Window;
|
||||
window.DragMove();
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetEnableDrag(DependencyObject element, bool value)
|
||||
{
|
||||
element.SetValue(EnableDragProperty, value);
|
||||
}
|
||||
|
||||
public static bool GetEnableDrag(DependencyObject element)
|
||||
{
|
||||
return (bool)element.GetValue(EnableDragProperty);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -114,6 +114,7 @@
|
||||
</When>
|
||||
</Choose>
|
||||
<ItemGroup>
|
||||
<Compile Include="Controls\Attach\DragWindows.cs" />
|
||||
<Compile Include="Controls\Attach\LinkElement.cs" />
|
||||
<Compile Include="Controls\Attach\PanelElement.cs" />
|
||||
<Compile Include="Controls\Attach\VisualElement.cs" />
|
||||
|
||||
@@ -64,6 +64,8 @@
|
||||
|
||||
public static readonly string BlurWindow = nameof(BlurWindow);
|
||||
|
||||
public static readonly string NoClientDragableWindow = nameof(NoClientDragableWindow);
|
||||
|
||||
public static readonly string RateDemoCtl = nameof(RateDemoCtl);
|
||||
|
||||
public static readonly string ShieldDemoCtl = nameof(ShieldDemoCtl);
|
||||
|
||||
@@ -35,6 +35,7 @@ var controlList = new List<string>
|
||||
"FlipClockDemoCtl",
|
||||
"QQGroupView",
|
||||
"BlurWindow",
|
||||
"NoClientDragableWindow",
|
||||
"RateDemoCtl",
|
||||
"ShieldDemoCtl",
|
||||
"WaterfallPanelDemoCtl",
|
||||
|
||||
@@ -328,6 +328,9 @@
|
||||
<Compile Include="Window\CustomNonClientAreaWindow.xaml.cs">
|
||||
<DependentUpon>CustomNonClientAreaWindow.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Window\NoClientDragableWindow.xaml.cs">
|
||||
<DependentUpon>NoClientDragableWindow.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
@@ -664,6 +667,10 @@
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Window\NoClientDragableWindow.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
|
||||
+136
-127
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -13,12 +13,12 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// 此类是由 StronglyTypedResourceBuilder
|
||||
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
@@ -33,7 +33,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
@@ -47,8 +47,8 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 使用此强类型资源类,为所有资源查找
|
||||
/// 重写当前线程的 CurrentUICulture 属性。
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
@@ -61,7 +61,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 关于 的本地化字符串。
|
||||
/// Looks up a localized string similar to 关于.
|
||||
/// </summary>
|
||||
public static string About {
|
||||
get {
|
||||
@@ -70,7 +70,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 动画路径 的本地化字符串。
|
||||
/// Looks up a localized string similar to 动画路径.
|
||||
/// </summary>
|
||||
public static string AnimationPath {
|
||||
get {
|
||||
@@ -79,7 +79,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 询问 的本地化字符串。
|
||||
/// Looks up a localized string similar to 询问.
|
||||
/// </summary>
|
||||
public static string Ask {
|
||||
get {
|
||||
@@ -88,7 +88,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 填写基本信息 的本地化字符串。
|
||||
/// Looks up a localized string similar to 填写基本信息.
|
||||
/// </summary>
|
||||
public static string BasicInfo {
|
||||
get {
|
||||
@@ -97,7 +97,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 博客 的本地化字符串。
|
||||
/// Looks up a localized string similar to 博客.
|
||||
/// </summary>
|
||||
public static string Blog {
|
||||
get {
|
||||
@@ -106,7 +106,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 边框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 边框.
|
||||
/// </summary>
|
||||
public static string Border1 {
|
||||
get {
|
||||
@@ -115,7 +115,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 画刷 的本地化字符串。
|
||||
/// Looks up a localized string similar to 画刷.
|
||||
/// </summary>
|
||||
public static string Brush {
|
||||
get {
|
||||
@@ -124,7 +124,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 按钮 的本地化字符串。
|
||||
/// Looks up a localized string similar to 按钮.
|
||||
/// </summary>
|
||||
public static string Button {
|
||||
get {
|
||||
@@ -133,7 +133,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 透明按钮 的本地化字符串。
|
||||
/// Looks up a localized string similar to 透明按钮.
|
||||
/// </summary>
|
||||
public static string ButtonOpacity {
|
||||
get {
|
||||
@@ -142,7 +142,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 日历 的本地化字符串。
|
||||
/// Looks up a localized string similar to 日历.
|
||||
/// </summary>
|
||||
public static string Calendar {
|
||||
get {
|
||||
@@ -151,7 +151,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 带时钟的日历 的本地化字符串。
|
||||
/// Looks up a localized string similar to 带时钟的日历.
|
||||
/// </summary>
|
||||
public static string CalendarWithClock {
|
||||
get {
|
||||
@@ -160,7 +160,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 轮播 的本地化字符串。
|
||||
/// Looks up a localized string similar to 轮播.
|
||||
/// </summary>
|
||||
public static string Carousel {
|
||||
get {
|
||||
@@ -169,7 +169,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 是否重启以更改语言? 的本地化字符串。
|
||||
/// Looks up a localized string similar to 是否重启以更改语言?.
|
||||
/// </summary>
|
||||
public static string ChangeLangAsk {
|
||||
get {
|
||||
@@ -178,7 +178,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 讨论室 的本地化字符串。
|
||||
/// Looks up a localized string similar to 讨论室.
|
||||
/// </summary>
|
||||
public static string Chatroom {
|
||||
get {
|
||||
@@ -187,7 +187,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 复选框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 复选框.
|
||||
/// </summary>
|
||||
public static string CheckBox {
|
||||
get {
|
||||
@@ -196,7 +196,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 圆形布局 的本地化字符串。
|
||||
/// Looks up a localized string similar to 圆形布局.
|
||||
/// </summary>
|
||||
public static string CirclePanel {
|
||||
get {
|
||||
@@ -205,7 +205,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 圆形进度条 的本地化字符串。
|
||||
/// Looks up a localized string similar to 圆形进度条.
|
||||
/// </summary>
|
||||
public static string CircleProgressBar {
|
||||
get {
|
||||
@@ -214,7 +214,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 清空 的本地化字符串。
|
||||
/// Looks up a localized string similar to 清空.
|
||||
/// </summary>
|
||||
public static string Clear {
|
||||
get {
|
||||
@@ -223,7 +223,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 时钟 的本地化字符串。
|
||||
/// Looks up a localized string similar to 时钟.
|
||||
/// </summary>
|
||||
public static string Clock {
|
||||
get {
|
||||
@@ -232,7 +232,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 颜色拾取器 的本地化字符串。
|
||||
/// Looks up a localized string similar to 颜色拾取器.
|
||||
/// </summary>
|
||||
public static string ColorPicker {
|
||||
get {
|
||||
@@ -241,7 +241,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 组合框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 组合框.
|
||||
/// </summary>
|
||||
public static string ComboBox {
|
||||
get {
|
||||
@@ -250,7 +250,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 一般 的本地化字符串。
|
||||
/// Looks up a localized string similar to 一般.
|
||||
/// </summary>
|
||||
public static string Common {
|
||||
get {
|
||||
@@ -259,7 +259,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 对比滑块 的本地化字符串。
|
||||
/// Looks up a localized string similar to 对比滑块.
|
||||
/// </summary>
|
||||
public static string CompareSlider {
|
||||
get {
|
||||
@@ -268,7 +268,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 完成 的本地化字符串。
|
||||
/// Looks up a localized string similar to 完成.
|
||||
/// </summary>
|
||||
public static string Complete {
|
||||
get {
|
||||
@@ -277,7 +277,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 这是内容 的本地化字符串。
|
||||
/// Looks up a localized string similar to 这是内容.
|
||||
/// </summary>
|
||||
public static string ContentDemoStr {
|
||||
get {
|
||||
@@ -286,7 +286,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 贡献者 的本地化字符串。
|
||||
/// Looks up a localized string similar to 贡献者.
|
||||
/// </summary>
|
||||
public static string Contributors {
|
||||
get {
|
||||
@@ -295,7 +295,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 控件 的本地化字符串。
|
||||
/// Looks up a localized string similar to 控件.
|
||||
/// </summary>
|
||||
public static string Controls {
|
||||
get {
|
||||
@@ -304,7 +304,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 封面流 的本地化字符串。
|
||||
/// Looks up a localized string similar to 封面流.
|
||||
/// </summary>
|
||||
public static string CoverFlow {
|
||||
get {
|
||||
@@ -313,7 +313,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 封面视图 的本地化字符串。
|
||||
/// Looks up a localized string similar to 封面视图.
|
||||
/// </summary>
|
||||
public static string CoverView {
|
||||
get {
|
||||
@@ -322,7 +322,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 危险 的本地化字符串。
|
||||
/// Looks up a localized string similar to 危险.
|
||||
/// </summary>
|
||||
public static string Danger {
|
||||
get {
|
||||
@@ -331,7 +331,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 数据表格 的本地化字符串。
|
||||
/// Looks up a localized string similar to 数据表格.
|
||||
/// </summary>
|
||||
public static string DataGrid {
|
||||
get {
|
||||
@@ -340,7 +340,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 日期选择器 的本地化字符串。
|
||||
/// Looks up a localized string similar to 日期选择器.
|
||||
/// </summary>
|
||||
public static string DatePicker {
|
||||
get {
|
||||
@@ -349,7 +349,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 日期时间选择器 的本地化字符串。
|
||||
/// Looks up a localized string similar to 日期时间选择器.
|
||||
/// </summary>
|
||||
public static string DateTimePicker {
|
||||
get {
|
||||
@@ -358,7 +358,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 默认 的本地化字符串。
|
||||
/// Looks up a localized string similar to 默认.
|
||||
/// </summary>
|
||||
public static string Default {
|
||||
get {
|
||||
@@ -367,7 +367,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 邮箱 的本地化字符串。
|
||||
/// Looks up a localized string similar to 邮箱.
|
||||
/// </summary>
|
||||
public static string Email {
|
||||
get {
|
||||
@@ -376,7 +376,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 错误 的本地化字符串。
|
||||
/// Looks up a localized string similar to 错误.
|
||||
/// </summary>
|
||||
public static string Error {
|
||||
get {
|
||||
@@ -385,7 +385,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 展开框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 展开框.
|
||||
/// </summary>
|
||||
public static string Expander {
|
||||
get {
|
||||
@@ -394,7 +394,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 严重 的本地化字符串。
|
||||
/// Looks up a localized string similar to 严重.
|
||||
/// </summary>
|
||||
public static string Fatal {
|
||||
get {
|
||||
@@ -403,7 +403,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 翻页时钟 的本地化字符串。
|
||||
/// Looks up a localized string similar to 翻页时钟.
|
||||
/// </summary>
|
||||
public static string FlipClock {
|
||||
get {
|
||||
@@ -412,7 +412,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 Gif图片 的本地化字符串。
|
||||
/// Looks up a localized string similar to Gif图片.
|
||||
/// </summary>
|
||||
public static string GifImage {
|
||||
get {
|
||||
@@ -421,7 +421,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 分组框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 分组框.
|
||||
/// </summary>
|
||||
public static string GroupBox {
|
||||
get {
|
||||
@@ -430,7 +430,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 组数 的本地化字符串。
|
||||
/// Looks up a localized string similar to 组数.
|
||||
/// </summary>
|
||||
public static string Groups {
|
||||
get {
|
||||
@@ -439,7 +439,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 信息通知 的本地化字符串。
|
||||
/// Looks up a localized string similar to 信息通知.
|
||||
/// </summary>
|
||||
public static string Growl {
|
||||
get {
|
||||
@@ -448,7 +448,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 检测到有新版本!是否更新? 的本地化字符串。
|
||||
/// Looks up a localized string similar to 检测到有新版本!是否更新?.
|
||||
/// </summary>
|
||||
public static string GrowlAsk {
|
||||
get {
|
||||
@@ -457,7 +457,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 连接失败,请检查网络! 的本地化字符串。
|
||||
/// Looks up a localized string similar to 连接失败,请检查网络!.
|
||||
/// </summary>
|
||||
public static string GrowlError {
|
||||
get {
|
||||
@@ -466,7 +466,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 程序已崩溃~~~ 的本地化字符串。
|
||||
/// Looks up a localized string similar to 程序已崩溃~~~.
|
||||
/// </summary>
|
||||
public static string GrowlFatal {
|
||||
get {
|
||||
@@ -475,7 +475,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 今天的天气不错~~~ 的本地化字符串。
|
||||
/// Looks up a localized string similar to 今天的天气不错~~~.
|
||||
/// </summary>
|
||||
public static string GrowlInfo {
|
||||
get {
|
||||
@@ -484,7 +484,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 文件保存成功! 的本地化字符串。
|
||||
/// Looks up a localized string similar to 文件保存成功!.
|
||||
/// </summary>
|
||||
public static string GrowlSuccess {
|
||||
get {
|
||||
@@ -493,7 +493,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 磁盘空间快要满了! 的本地化字符串。
|
||||
/// Looks up a localized string similar to 磁盘空间快要满了!.
|
||||
/// </summary>
|
||||
public static string GrowlWarning {
|
||||
get {
|
||||
@@ -502,7 +502,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 忽略 的本地化字符串。
|
||||
/// Looks up a localized string similar to 忽略.
|
||||
/// </summary>
|
||||
public static string Ignore {
|
||||
get {
|
||||
@@ -511,7 +511,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 图片浏览器 的本地化字符串。
|
||||
/// Looks up a localized string similar to 图片浏览器.
|
||||
/// </summary>
|
||||
public static string ImageBrowser {
|
||||
get {
|
||||
@@ -520,7 +520,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 索引 的本地化字符串。
|
||||
/// Looks up a localized string similar to 索引.
|
||||
/// </summary>
|
||||
public static string Index {
|
||||
get {
|
||||
@@ -529,7 +529,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 信息 的本地化字符串。
|
||||
/// Looks up a localized string similar to 信息.
|
||||
/// </summary>
|
||||
public static string Info {
|
||||
get {
|
||||
@@ -538,7 +538,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 不是手机号码 的本地化字符串。
|
||||
/// Looks up a localized string similar to 不是手机号码.
|
||||
/// </summary>
|
||||
public static string IsNotPhone {
|
||||
get {
|
||||
@@ -547,7 +547,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 列表框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 列表框.
|
||||
/// </summary>
|
||||
public static string ListBox {
|
||||
get {
|
||||
@@ -556,7 +556,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 列表视图 的本地化字符串。
|
||||
/// Looks up a localized string similar to 列表视图.
|
||||
/// </summary>
|
||||
public static string ListView {
|
||||
get {
|
||||
@@ -565,7 +565,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 加载条 的本地化字符串。
|
||||
/// Looks up a localized string similar to 加载条.
|
||||
/// </summary>
|
||||
public static string Loading {
|
||||
get {
|
||||
@@ -574,7 +574,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 菜单 的本地化字符串。
|
||||
/// Looks up a localized string similar to 菜单.
|
||||
/// </summary>
|
||||
public static string Menu {
|
||||
get {
|
||||
@@ -583,7 +583,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 名称 的本地化字符串。
|
||||
/// Looks up a localized string similar to 名称.
|
||||
/// </summary>
|
||||
public static string Name {
|
||||
get {
|
||||
@@ -592,7 +592,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 下一步 的本地化字符串。
|
||||
/// Looks up a localized string similar to 下一步.
|
||||
/// </summary>
|
||||
public static string Next {
|
||||
get {
|
||||
@@ -601,7 +601,16 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 数值选择控件 的本地化字符串。
|
||||
/// Looks up a localized string similar to open noClient dragable window.
|
||||
/// </summary>
|
||||
public static string NoClientDragableWindow {
|
||||
get {
|
||||
return ResourceManager.GetString("NoClientDragableWindow", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 数值选择控件.
|
||||
/// </summary>
|
||||
public static string NumericUpDown {
|
||||
get {
|
||||
@@ -610,7 +619,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 点击打开背景模糊窗口 的本地化字符串。
|
||||
/// Looks up a localized string similar to 点击打开背景模糊窗口.
|
||||
/// </summary>
|
||||
public static string OpenBlurWindow {
|
||||
get {
|
||||
@@ -619,7 +628,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 点击打开常规窗口 的本地化字符串。
|
||||
/// Looks up a localized string similar to 点击打开常规窗口.
|
||||
/// </summary>
|
||||
public static string OpenCommonWindow {
|
||||
get {
|
||||
@@ -628,7 +637,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 点击打开自定义内容窗口 的本地化字符串。
|
||||
/// Looks up a localized string similar to 点击打开自定义内容窗口.
|
||||
/// </summary>
|
||||
public static string OpenCustomContentWindow {
|
||||
get {
|
||||
@@ -637,7 +646,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 点击打开自定义非客户端区域窗口 的本地化字符串。
|
||||
/// Looks up a localized string similar to 点击打开自定义非客户端区域窗口.
|
||||
/// </summary>
|
||||
public static string OpenCustomNonClientAreaWindow {
|
||||
get {
|
||||
@@ -646,7 +655,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 点击打开图片浏览器 的本地化字符串。
|
||||
/// Looks up a localized string similar to 点击打开图片浏览器.
|
||||
/// </summary>
|
||||
public static string OpenImageBrowser {
|
||||
get {
|
||||
@@ -655,7 +664,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 点击打开消息窗口 的本地化字符串。
|
||||
/// Looks up a localized string similar to 点击打开消息窗口.
|
||||
/// </summary>
|
||||
public static string OpenMessageWindow {
|
||||
get {
|
||||
@@ -664,7 +673,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 点击打开鼠标跟随窗口 的本地化字符串。
|
||||
/// Looks up a localized string similar to 点击打开鼠标跟随窗口.
|
||||
/// </summary>
|
||||
public static string OpenMouseFollowWindow {
|
||||
get {
|
||||
@@ -673,7 +682,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 轮廓文本 的本地化字符串。
|
||||
/// Looks up a localized string similar to 轮廓文本.
|
||||
/// </summary>
|
||||
public static string OutlineText {
|
||||
get {
|
||||
@@ -682,7 +691,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 页码条 的本地化字符串。
|
||||
/// Looks up a localized string similar to 页码条.
|
||||
/// </summary>
|
||||
public static string Pagination {
|
||||
get {
|
||||
@@ -691,7 +700,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 密码框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 密码框.
|
||||
/// </summary>
|
||||
public static string PasswordBox {
|
||||
get {
|
||||
@@ -700,7 +709,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 请输入内容 的本地化字符串。
|
||||
/// Looks up a localized string similar to 请输入内容.
|
||||
/// </summary>
|
||||
public static string PlsEnterContent {
|
||||
get {
|
||||
@@ -709,7 +718,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 请输入邮箱 的本地化字符串。
|
||||
/// Looks up a localized string similar to 请输入邮箱.
|
||||
/// </summary>
|
||||
public static string PlsEnterEmail {
|
||||
get {
|
||||
@@ -718,7 +727,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 上一步 的本地化字符串。
|
||||
/// Looks up a localized string similar to 上一步.
|
||||
/// </summary>
|
||||
public static string Prev {
|
||||
get {
|
||||
@@ -727,7 +736,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 预览滑块 的本地化字符串。
|
||||
/// Looks up a localized string similar to 预览滑块.
|
||||
/// </summary>
|
||||
public static string PreviewSlider {
|
||||
get {
|
||||
@@ -736,7 +745,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 主要 的本地化字符串。
|
||||
/// Looks up a localized string similar to 主要.
|
||||
/// </summary>
|
||||
public static string Primary {
|
||||
get {
|
||||
@@ -745,7 +754,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 进度条 的本地化字符串。
|
||||
/// Looks up a localized string similar to 进度条.
|
||||
/// </summary>
|
||||
public static string ProgressBar {
|
||||
get {
|
||||
@@ -754,7 +763,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 QQ群 的本地化字符串。
|
||||
/// Looks up a localized string similar to QQ群.
|
||||
/// </summary>
|
||||
public static string QQGroup {
|
||||
get {
|
||||
@@ -763,7 +772,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 单选按钮 的本地化字符串。
|
||||
/// Looks up a localized string similar to 单选按钮.
|
||||
/// </summary>
|
||||
public static string RadioButton {
|
||||
get {
|
||||
@@ -772,7 +781,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 评分 的本地化字符串。
|
||||
/// Looks up a localized string similar to 评分.
|
||||
/// </summary>
|
||||
public static string Rate {
|
||||
get {
|
||||
@@ -781,7 +790,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 注册 的本地化字符串。
|
||||
/// Looks up a localized string similar to 注册.
|
||||
/// </summary>
|
||||
public static string Register {
|
||||
get {
|
||||
@@ -790,7 +799,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 备注 的本地化字符串。
|
||||
/// Looks up a localized string similar to 备注.
|
||||
/// </summary>
|
||||
public static string Remark {
|
||||
get {
|
||||
@@ -799,7 +808,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 代码仓库 的本地化字符串。
|
||||
/// Looks up a localized string similar to 代码仓库.
|
||||
/// </summary>
|
||||
public static string Repository {
|
||||
get {
|
||||
@@ -808,7 +817,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 富文本框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 富文本框.
|
||||
/// </summary>
|
||||
public static string RichTextBox {
|
||||
get {
|
||||
@@ -817,7 +826,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 在这里右击 的本地化字符串。
|
||||
/// Looks up a localized string similar to 在这里右击.
|
||||
/// </summary>
|
||||
public static string RightClickHere {
|
||||
get {
|
||||
@@ -826,7 +835,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 滚动视图 的本地化字符串。
|
||||
/// Looks up a localized string similar to 滚动视图.
|
||||
/// </summary>
|
||||
public static string ScrollViewer {
|
||||
get {
|
||||
@@ -835,7 +844,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 搜索栏 的本地化字符串。
|
||||
/// Looks up a localized string similar to 搜索栏.
|
||||
/// </summary>
|
||||
public static string SearchBar {
|
||||
get {
|
||||
@@ -844,7 +853,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 选中 的本地化字符串。
|
||||
/// Looks up a localized string similar to 选中.
|
||||
/// </summary>
|
||||
public static string Selected {
|
||||
get {
|
||||
@@ -853,7 +862,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 徽章 的本地化字符串。
|
||||
/// Looks up a localized string similar to 徽章.
|
||||
/// </summary>
|
||||
public static string Shield {
|
||||
get {
|
||||
@@ -862,7 +871,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 显示行号 的本地化字符串。
|
||||
/// Looks up a localized string similar to 显示行号.
|
||||
/// </summary>
|
||||
public static string ShowRowNumber {
|
||||
get {
|
||||
@@ -871,7 +880,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 滑块 的本地化字符串。
|
||||
/// Looks up a localized string similar to 滑块.
|
||||
/// </summary>
|
||||
public static string Slider {
|
||||
get {
|
||||
@@ -880,7 +889,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 步骤 的本地化字符串。
|
||||
/// Looks up a localized string similar to 步骤.
|
||||
/// </summary>
|
||||
public static string Step {
|
||||
get {
|
||||
@@ -889,7 +898,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 步骤条 的本地化字符串。
|
||||
/// Looks up a localized string similar to 步骤条.
|
||||
/// </summary>
|
||||
public static string StepBar {
|
||||
get {
|
||||
@@ -898,7 +907,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 样式模板 的本地化字符串。
|
||||
/// Looks up a localized string similar to 样式模板.
|
||||
/// </summary>
|
||||
public static string Styles {
|
||||
get {
|
||||
@@ -907,7 +916,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 子标题 的本地化字符串。
|
||||
/// Looks up a localized string similar to 子标题.
|
||||
/// </summary>
|
||||
public static string SubTitle {
|
||||
get {
|
||||
@@ -916,7 +925,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 成功 的本地化字符串。
|
||||
/// Looks up a localized string similar to 成功.
|
||||
/// </summary>
|
||||
public static string Success {
|
||||
get {
|
||||
@@ -925,7 +934,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 选项卡控件 的本地化字符串。
|
||||
/// Looks up a localized string similar to 选项卡控件.
|
||||
/// </summary>
|
||||
public static string TabControl {
|
||||
get {
|
||||
@@ -934,7 +943,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 标签 的本地化字符串。
|
||||
/// Looks up a localized string similar to 标签.
|
||||
/// </summary>
|
||||
public static string Tag {
|
||||
get {
|
||||
@@ -943,7 +952,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 正文 的本地化字符串。
|
||||
/// Looks up a localized string similar to 正文.
|
||||
/// </summary>
|
||||
public static string Text {
|
||||
get {
|
||||
@@ -952,7 +961,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 文本块 的本地化字符串。
|
||||
/// Looks up a localized string similar to 文本块.
|
||||
/// </summary>
|
||||
public static string TextBlock {
|
||||
get {
|
||||
@@ -961,7 +970,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 文本框 的本地化字符串。
|
||||
/// Looks up a localized string similar to 文本框.
|
||||
/// </summary>
|
||||
public static string TextBox {
|
||||
get {
|
||||
@@ -970,7 +979,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 时间条 的本地化字符串。
|
||||
/// Looks up a localized string similar to 时间条.
|
||||
/// </summary>
|
||||
public static string TimeBar {
|
||||
get {
|
||||
@@ -979,7 +988,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 时间选择器 的本地化字符串。
|
||||
/// Looks up a localized string similar to 时间选择器.
|
||||
/// </summary>
|
||||
public static string TimePicker {
|
||||
get {
|
||||
@@ -988,7 +997,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 标题 的本地化字符串。
|
||||
/// Looks up a localized string similar to 标题.
|
||||
/// </summary>
|
||||
public static string Title {
|
||||
get {
|
||||
@@ -997,7 +1006,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 这是标题 的本地化字符串。
|
||||
/// Looks up a localized string similar to 这是标题.
|
||||
/// </summary>
|
||||
public static string TitleDemoStr1 {
|
||||
get {
|
||||
@@ -1006,7 +1015,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 此项必填 的本地化字符串。
|
||||
/// Looks up a localized string similar to 此项必填.
|
||||
/// </summary>
|
||||
public static string TitleDemoStr2 {
|
||||
get {
|
||||
@@ -1015,7 +1024,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 标题在左侧 的本地化字符串。
|
||||
/// Looks up a localized string similar to 标题在左侧.
|
||||
/// </summary>
|
||||
public static string TitleDemoStr3 {
|
||||
get {
|
||||
@@ -1024,7 +1033,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 切换按钮 的本地化字符串。
|
||||
/// Looks up a localized string similar to 切换按钮.
|
||||
/// </summary>
|
||||
public static string ToggleButton {
|
||||
get {
|
||||
@@ -1033,7 +1042,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 工具条 的本地化字符串。
|
||||
/// Looks up a localized string similar to 工具条.
|
||||
/// </summary>
|
||||
public static string ToolBar {
|
||||
get {
|
||||
@@ -1042,7 +1051,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 树视图 的本地化字符串。
|
||||
/// Looks up a localized string similar to 树视图.
|
||||
/// </summary>
|
||||
public static string TreeView {
|
||||
get {
|
||||
@@ -1051,7 +1060,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 类型 的本地化字符串。
|
||||
/// Looks up a localized string similar to 类型.
|
||||
/// </summary>
|
||||
public static string Type {
|
||||
get {
|
||||
@@ -1060,7 +1069,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 上传文件 的本地化字符串。
|
||||
/// Looks up a localized string similar to 上传文件.
|
||||
/// </summary>
|
||||
public static string UploadFile {
|
||||
get {
|
||||
@@ -1069,7 +1078,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 警告 的本地化字符串。
|
||||
/// Looks up a localized string similar to 警告.
|
||||
/// </summary>
|
||||
public static string Warning {
|
||||
get {
|
||||
@@ -1078,7 +1087,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 瀑布流 的本地化字符串。
|
||||
/// Looks up a localized string similar to 瀑布流.
|
||||
/// </summary>
|
||||
public static string WaterfallPanel {
|
||||
get {
|
||||
@@ -1087,7 +1096,7 @@ namespace HandyControlDemo.Properties.Langs {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 窗口 的本地化字符串。
|
||||
/// Looks up a localized string similar to 窗口.
|
||||
/// </summary>
|
||||
public static string Window {
|
||||
get {
|
||||
|
||||
@@ -462,4 +462,7 @@
|
||||
<data name="CoverFlow" xml:space="preserve">
|
||||
<value>CoverFlow</value>
|
||||
</data>
|
||||
<data name="NoClientDragableWindow" xml:space="preserve">
|
||||
<value>open noClient dragable window</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1,76 +1,96 @@
|
||||
<?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
|
||||
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.
|
||||
|
||||
Version 1.3
|
||||
|
||||
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">1.3</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1">this is my long string</data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
[base64 mime encoded serialized .NET Framework object]
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
[base64 mime encoded string representing a byte array form of the .NET Framework object]
|
||||
</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.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.
|
||||
-->
|
||||
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" msdata:Ordinal="1" />
|
||||
<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">
|
||||
@@ -89,13 +109,13 @@
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>1.3</value>
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<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=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Controls" xml:space="preserve">
|
||||
<value>控件</value>
|
||||
@@ -442,4 +462,7 @@
|
||||
<data name="CoverFlow" xml:space="preserve">
|
||||
<value>封面流</value>
|
||||
</data>
|
||||
<data name="NoClientDragableWindow" xml:space="preserve">
|
||||
<value>open noClient dragable window</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -7,13 +7,14 @@
|
||||
DataContext="{Binding WindowDemo,Source={StaticResource Locator}}"
|
||||
Background="{DynamicResource RegionBrush}">
|
||||
<controls:TransitioningContentControl>
|
||||
<UniformGrid Margin="32" Columns="3" Rows="2" Height="200">
|
||||
<UniformGrid Margin="32" Columns="3" Rows="3" Height="200">
|
||||
<Button Command="{Binding OpenWindowCmd}" CommandParameter="{x:Static data:MessageToken.CommonWindow}" Content="{x:Static langs:Lang.OpenCommonWindow}"/>
|
||||
<Button Command="{Binding OpenWindowCmd}" CommandParameter="{x:Static data:MessageToken.BlurWindow}" Content="{x:Static langs:Lang.OpenBlurWindow}"/>
|
||||
<Button Command="{Binding OpenWindowCmd}" CommandParameter="{x:Static data:MessageToken.CustomNonClientAreaWindow}" Content="{x:Static langs:Lang.OpenCustomNonClientAreaWindow}"/>
|
||||
<Button Click="ButtonMessage_OnClick" Content="{x:Static langs:Lang.OpenMessageWindow}"/>
|
||||
<Button Click="ButtonCustomContent_OnClick" Content="{x:Static langs:Lang.OpenCustomContentWindow}"/>
|
||||
<Button Name="ButtonMouseFollow" Click="ButtonMouseFollow_OnClick" Content="{x:Static langs:Lang.OpenMouseFollowWindow}"/>
|
||||
<Button Command="{Binding OpenWindowCmd}" CommandParameter="{x:Static data:MessageToken.NoClientDragableWindow}" Content="{x:Static langs:Lang.NoClientDragableWindow}"/>
|
||||
</UniformGrid>
|
||||
</controls:TransitioningContentControl>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,22 @@
|
||||
<controls:BlurWindow x:Class="HandyControlDemo.Window.NoClientDragableWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
|
||||
mc:Ignorable="d"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
ShowTitle="True"
|
||||
Style="{StaticResource WindowBlur}"
|
||||
Icon="/HandyControlDemo;component/Resources/Img/icon.ico"
|
||||
ShowNonClientArea="False"
|
||||
controls:DragWindows.EnableDrag="{Binding ElementName=dragCheck, Path=IsChecked}"
|
||||
Title="NoClientDragableWindow" Height="450" Width="800">
|
||||
<StackPanel Background="Transparent" Margin="0,40" VerticalAlignment="Top">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Label Content="IsDragable" Margin="5,5"/>
|
||||
<ToggleButton IsChecked="True" Name="dragCheck" VerticalAlignment="Center" Style="{StaticResource ToggleButtonSwitch}"/>
|
||||
</StackPanel>
|
||||
<Button Content="Close Window" Command="SystemCommands.CloseWindowCommand"/>
|
||||
</StackPanel>
|
||||
</controls:BlurWindow>
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace HandyControlDemo.Window
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for NoClientDragableWindow.xaml
|
||||
/// </summary>
|
||||
public partial class NoClientDragableWindow
|
||||
{
|
||||
public NoClientDragableWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user