chore: use file-scoped namespace
This commit is contained in:
1 parent
99d2fafb72
commit
bbf1b7d4c6
748 files changed
+2678
-3427
No files matched your search
@@ -15,10 +15,10 @@ using HandyControlDemo.Data;
|
|||||||
using HandyControlDemo.Properties.Langs;
|
using HandyControlDemo.Properties.Langs;
|
||||||
using HandyControlDemo.Tools;
|
using HandyControlDemo.Tools;
|
||||||
|
|
||||||
namespace HandyControlDemo
|
namespace HandyControlDemo;
|
||||||
|
|
||||||
|
public partial class App
|
||||||
{
|
{
|
||||||
public partial class App
|
|
||||||
{
|
|
||||||
#pragma warning disable IDE0052
|
#pragma warning disable IDE0052
|
||||||
[SuppressMessage("ReSharper", "NotAccessedField.Local")]
|
[SuppressMessage("ReSharper", "NotAccessedField.Local")]
|
||||||
private static Mutex AppMutex;
|
private static Mutex AppMutex;
|
||||||
@@ -136,5 +136,4 @@ namespace HandyControlDemo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
internal class AppConfig
|
||||||
{
|
{
|
||||||
internal class AppConfig
|
|
||||||
{
|
|
||||||
public static readonly string SavePath = $"{AppDomain.CurrentDomain.BaseDirectory}AppConfig.json";
|
public static readonly string SavePath = $"{AppDomain.CurrentDomain.BaseDirectory}AppConfig.json";
|
||||||
|
|
||||||
public string Lang { get; set; } = "zh-cn";
|
public string Lang { get; set; } = "zh-cn";
|
||||||
|
|
||||||
public SkinType Skin { get; set; }
|
public SkinType Skin { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public enum DemoType
|
||||||
{
|
{
|
||||||
public enum DemoType
|
|
||||||
{
|
|
||||||
Type1 = 1,
|
Type1 = 1,
|
||||||
Type2,
|
Type2,
|
||||||
Type3,
|
Type3,
|
||||||
Type4,
|
Type4,
|
||||||
Type5,
|
Type5,
|
||||||
Type6
|
Type6
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
internal class GlobalData
|
||||||
{
|
{
|
||||||
internal class GlobalData
|
|
||||||
{
|
|
||||||
public static void Init()
|
public static void Init()
|
||||||
{
|
{
|
||||||
if (File.Exists(AppConfig.SavePath))
|
if (File.Exists(AppConfig.SavePath))
|
||||||
@@ -34,5 +34,4 @@ namespace HandyControlDemo.Data
|
|||||||
public static AppConfig Config { get; set; }
|
public static AppConfig Config { get; set; }
|
||||||
|
|
||||||
public static bool NotifyIconIsShow { get; set; }
|
public static bool NotifyIconIsShow { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class MessageToken
|
||||||
{
|
{
|
||||||
public class MessageToken
|
|
||||||
{
|
|
||||||
public static readonly string LoadShowContent = nameof(LoadShowContent);
|
public static readonly string LoadShowContent = nameof(LoadShowContent);
|
||||||
|
|
||||||
public static readonly string FullSwitch = nameof(FullSwitch);
|
public static readonly string FullSwitch = nameof(FullSwitch);
|
||||||
@@ -54,5 +54,4 @@
|
|||||||
|
|
||||||
public static readonly string SkinUpdated = nameof(SkinUpdated);
|
public static readonly string SkinUpdated = nameof(SkinUpdated);
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class AvatarModel
|
||||||
{
|
{
|
||||||
public class AvatarModel
|
|
||||||
{
|
|
||||||
public string DisplayName { get; set; }
|
public string DisplayName { get; set; }
|
||||||
|
|
||||||
public string Link { get; set; }
|
public string Link { get; set; }
|
||||||
|
|
||||||
public string AvatarUri { get; set; }
|
public string AvatarUri { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class CardModel
|
||||||
{
|
{
|
||||||
public class CardModel
|
|
||||||
{
|
|
||||||
public string Header { get; set; }
|
public string Header { get; set; }
|
||||||
|
|
||||||
public string Content { get; set; }
|
public string Content { get; set; }
|
||||||
|
|
||||||
public string Footer { get; set; }
|
public string Footer { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public struct ChatInfoModel
|
||||||
{
|
{
|
||||||
public struct ChatInfoModel
|
|
||||||
{
|
|
||||||
public object Message { get; set; }
|
public object Message { get; set; }
|
||||||
|
|
||||||
public string SenderId { get; set; }
|
public string SenderId { get; set; }
|
||||||
@@ -13,5 +13,4 @@ namespace HandyControlDemo.Data
|
|||||||
public ChatMessageType Type { get; set; }
|
public ChatMessageType Type { get; set; }
|
||||||
|
|
||||||
public object Enclosure { get; set; }
|
public object Enclosure { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class CoverViewDemoModel
|
||||||
{
|
{
|
||||||
public class CoverViewDemoModel
|
|
||||||
{
|
|
||||||
public string ImgPath { get; set; }
|
public string ImgPath { get; set; }
|
||||||
|
|
||||||
public string BackgroundToken { get; set; }
|
public string BackgroundToken { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class DemoDataModel
|
||||||
{
|
{
|
||||||
public class DemoDataModel
|
|
||||||
{
|
|
||||||
public int Index { get; set; }
|
public int Index { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
@@ -18,5 +18,4 @@ namespace HandyControlDemo.Data
|
|||||||
public string ImgPath { get; set; }
|
public string ImgPath { get; set; }
|
||||||
|
|
||||||
public List<DemoDataModel> DataList { get; set; }
|
public List<DemoDataModel> DataList { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using GalaSoft.MvvmLight;
|
using GalaSoft.MvvmLight;
|
||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class DemoInfoModel : ViewModelBase
|
||||||
{
|
{
|
||||||
public class DemoInfoModel : ViewModelBase
|
|
||||||
{
|
|
||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
|
|
||||||
private string _title;
|
private string _title;
|
||||||
@@ -34,5 +34,4 @@ namespace HandyControlDemo.Data
|
|||||||
public bool IsGroupEnabled { get; set; }
|
public bool IsGroupEnabled { get; set; }
|
||||||
|
|
||||||
public IList<DemoItemModel> DemoItemList { get; set; }
|
public IList<DemoItemModel> DemoItemList { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using GalaSoft.MvvmLight;
|
using GalaSoft.MvvmLight;
|
||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class DemoItemModel : ObservableObject
|
||||||
{
|
{
|
||||||
public class DemoItemModel : ObservableObject
|
|
||||||
{
|
|
||||||
private bool _isVisible = true;
|
private bool _isVisible = true;
|
||||||
private string _queriesText = string.Empty;
|
private string _queriesText = string.Empty;
|
||||||
|
|
||||||
@@ -36,5 +36,4 @@ namespace HandyControlDemo.Data
|
|||||||
set => Set(ref _isVisible, value);
|
set => Set(ref _isVisible, value);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class GeometryItemModel
|
||||||
{
|
{
|
||||||
public class GeometryItemModel
|
|
||||||
{
|
|
||||||
public Geometry Data { get; set; }
|
public Geometry Data { get; set; }
|
||||||
|
|
||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
|
|
||||||
public bool Line { get; set; }
|
public bool Line { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
|
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class PropertyGridDemoModel
|
||||||
{
|
{
|
||||||
public class PropertyGridDemoModel
|
|
||||||
{
|
|
||||||
[Category("Category1")]
|
[Category("Category1")]
|
||||||
public string String { get; set; }
|
public string String { get; set; }
|
||||||
|
|
||||||
@@ -23,11 +23,10 @@ namespace HandyControlDemo.Data
|
|||||||
public VerticalAlignment VerticalAlignment { get; set; }
|
public VerticalAlignment VerticalAlignment { get; set; }
|
||||||
|
|
||||||
public ImageSource ImageSource { get; set; }
|
public ImageSource ImageSource { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum Gender
|
public enum Gender
|
||||||
{
|
{
|
||||||
Male,
|
Male,
|
||||||
Female
|
Female
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class StepBarDemoModel
|
||||||
{
|
{
|
||||||
public class StepBarDemoModel
|
|
||||||
{
|
|
||||||
public string Header { get; set; }
|
public string Header { get; set; }
|
||||||
|
|
||||||
public string Content { get; set; }
|
public string Content { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data;
|
||||||
|
|
||||||
|
public class TabControlDemoModel
|
||||||
{
|
{
|
||||||
public class TabControlDemoModel
|
|
||||||
{
|
|
||||||
public string Header { get; set; }
|
public string Header { get; set; }
|
||||||
|
|
||||||
public string BackgroundToken { get; set; }
|
public string BackgroundToken { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -10,10 +10,10 @@ using HandyControlDemo.Tools;
|
|||||||
using HandyControlDemo.UserControl;
|
using HandyControlDemo.UserControl;
|
||||||
using HandyControlDemo.ViewModel;
|
using HandyControlDemo.ViewModel;
|
||||||
|
|
||||||
namespace HandyControlDemo
|
namespace HandyControlDemo;
|
||||||
|
|
||||||
|
public partial class MainWindow
|
||||||
{
|
{
|
||||||
public partial class MainWindow
|
|
||||||
{
|
|
||||||
public MainWindow() => InitializeComponent();
|
public MainWindow() => InitializeComponent();
|
||||||
|
|
||||||
protected override void OnContentRendered(EventArgs e)
|
protected override void OnContentRendered(EventArgs e)
|
||||||
@@ -50,5 +50,4 @@ namespace HandyControlDemo
|
|||||||
base.OnClosing(e);
|
base.OnClosing(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,10 @@ using System.Windows;
|
|||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using HandyControl.Tools;
|
using HandyControl.Tools;
|
||||||
|
|
||||||
namespace HandyControlDemo.Properties.Langs
|
namespace HandyControlDemo.Properties.Langs;
|
||||||
|
|
||||||
|
public class LangProvider : INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
public class LangProvider : INotifyPropertyChanged
|
|
||||||
{
|
|
||||||
internal static LangProvider Instance { get; } = ResourceHelper.GetResource<LangProvider>("DemoLangs");
|
internal static LangProvider Instance { get; } = ResourceHelper.GetResource<LangProvider>("DemoLangs");
|
||||||
|
|
||||||
private static string CultureInfoStr;
|
private static string CultureInfoStr;
|
||||||
@@ -1412,10 +1412,10 @@ namespace HandyControlDemo.Properties.Langs
|
|||||||
|
|
||||||
protected virtual void OnPropertyChanged(string propertyName) =>
|
protected virtual void OnPropertyChanged(string propertyName) =>
|
||||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LangKeys
|
public class LangKeys
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查找类似 关于 的本地化字符串。
|
/// 查找类似 关于 的本地化字符串。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -2556,5 +2556,4 @@ namespace HandyControlDemo.Properties.Langs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static string Window = nameof(Window);
|
public static string Window = nameof(Window);
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,10 @@ using HandyControl.Data;
|
|||||||
using HandyControl.Themes;
|
using HandyControl.Themes;
|
||||||
using HandyControl.Tools;
|
using HandyControl.Tools;
|
||||||
|
|
||||||
namespace HandyControlDemo.Resources
|
namespace HandyControlDemo.Resources;
|
||||||
|
|
||||||
|
public class DemoTheme : Theme
|
||||||
{
|
{
|
||||||
public class DemoTheme : Theme
|
|
||||||
{
|
|
||||||
public override ResourceDictionary GetSkin(SkinType skinType) =>
|
public override ResourceDictionary GetSkin(SkinType skinType) =>
|
||||||
ResourceHelper.GetSkin(typeof(App).Assembly, "Resources/Themes", skinType);
|
ResourceHelper.GetSkin(typeof(App).Assembly, "Resources/Themes", skinType);
|
||||||
|
|
||||||
@@ -15,5 +15,4 @@ namespace HandyControlDemo.Resources
|
|||||||
{
|
{
|
||||||
Source = new Uri("pack://application:,,,/HandyControlDemo;component/Resources/Themes/Theme.xaml")
|
Source = new Uri("pack://application:,,,/HandyControlDemo;component/Resources/Themes/Theme.xaml")
|
||||||
};
|
};
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -12,10 +12,10 @@ using HandyControlDemo.Properties.Langs;
|
|||||||
using HandyControlDemo.Tools.Converter;
|
using HandyControlDemo.Tools.Converter;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace HandyControlDemo.Service
|
namespace HandyControlDemo.Service;
|
||||||
|
|
||||||
|
public class DataService
|
||||||
{
|
{
|
||||||
public class DataService
|
|
||||||
{
|
|
||||||
internal ObservableCollection<TabControlDemoModel> GetTabControlDemoDataList()
|
internal ObservableCollection<TabControlDemoModel> GetTabControlDemoDataList()
|
||||||
{
|
{
|
||||||
return new()
|
return new()
|
||||||
@@ -438,5 +438,4 @@ namespace HandyControlDemo.Service
|
|||||||
: "ghost1372";
|
: "ghost1372";
|
||||||
return $"https://{domainName}.github.io/handycontrol/{key}/{demoItem.Name[0].ToString().ToLower()}{demoItem.Name.Substring(1)}";
|
return $"https://{domainName}.github.io/handycontrol/{key}/{demoItem.Name[0].ToString().ToLower()}{demoItem.Name.Substring(1)}";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -5,10 +5,10 @@ using System.Windows.Media;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using HandyControl.Tools;
|
using HandyControl.Tools;
|
||||||
|
|
||||||
namespace HandyControlDemo.Tools.Converter
|
namespace HandyControlDemo.Tools.Converter;
|
||||||
|
|
||||||
|
public class HatchBrushConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public class HatchBrushConverter : IValueConverter
|
|
||||||
{
|
|
||||||
private readonly HatchBrushGenerator _brushGenerator;
|
private readonly HatchBrushGenerator _brushGenerator;
|
||||||
|
|
||||||
public HatchBrushConverter()
|
public HatchBrushConverter()
|
||||||
@@ -29,5 +29,4 @@ namespace HandyControlDemo.Tools.Converter
|
|||||||
{
|
{
|
||||||
throw new NotSupportedException();
|
throw new NotSupportedException();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,10 @@ using System.Windows.Data;
|
|||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using HandyControl.Tools;
|
using HandyControl.Tools;
|
||||||
|
|
||||||
namespace HandyControlDemo.Tools.Converter
|
namespace HandyControlDemo.Tools.Converter;
|
||||||
|
|
||||||
|
public class String2BrushConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public class String2BrushConverter : IValueConverter
|
|
||||||
{
|
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
return value is string str ? ResourceHelper.GetResource<Brush>(str) : default;
|
return value is string str ? ResourceHelper.GetResource<Brush>(str) : default;
|
||||||
@@ -17,5 +17,4 @@ namespace HandyControlDemo.Tools.Converter
|
|||||||
{
|
{
|
||||||
throw new NotSupportedException();
|
throw new NotSupportedException();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -3,10 +3,10 @@ using System.Globalization;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
|
|
||||||
namespace HandyControlDemo.Tools.Converter
|
namespace HandyControlDemo.Tools.Converter;
|
||||||
|
|
||||||
|
public class StringRepeatConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public class StringRepeatConverter : IValueConverter
|
|
||||||
{
|
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
if (value is string strValue)
|
if (value is string strValue)
|
||||||
@@ -41,5 +41,4 @@ namespace HandyControlDemo.Tools.Converter
|
|||||||
{
|
{
|
||||||
throw new NotSupportedException();
|
throw new NotSupportedException();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
using HandyControlDemo.Properties.Langs;
|
using HandyControlDemo.Properties.Langs;
|
||||||
|
|
||||||
namespace HandyControlDemo.Tools.Extension
|
namespace HandyControlDemo.Tools.Extension;
|
||||||
|
|
||||||
|
public class LangExtension : HandyControl.Tools.Extension.LangExtension
|
||||||
{
|
{
|
||||||
public class LangExtension : HandyControl.Tools.Extension.LangExtension
|
|
||||||
{
|
|
||||||
public LangExtension()
|
public LangExtension()
|
||||||
{
|
{
|
||||||
Source = LangProvider.Instance;
|
Source = LangProvider.Instance;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace HandyControlDemo.Tools
|
namespace HandyControlDemo.Tools;
|
||||||
|
|
||||||
|
internal class AssemblyHelper
|
||||||
{
|
{
|
||||||
internal class AssemblyHelper
|
|
||||||
{
|
|
||||||
private static readonly string NameSpaceStr = typeof(AssemblyHelper).Assembly.GetName().Name;
|
private static readonly string NameSpaceStr = typeof(AssemblyHelper).Assembly.GetName().Name;
|
||||||
|
|
||||||
private static readonly Dictionary<string, object> CacheDic = new();
|
private static readonly Dictionary<string, object> CacheDic = new();
|
||||||
@@ -33,5 +33,4 @@ namespace HandyControlDemo.Tools
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
namespace HandyControlDemo.Tools
|
namespace HandyControlDemo.Tools;
|
||||||
|
|
||||||
|
internal class VersionHelper
|
||||||
{
|
{
|
||||||
internal class VersionHelper
|
|
||||||
{
|
|
||||||
internal static string GetVersion()
|
internal static string GetVersion()
|
||||||
{
|
{
|
||||||
var versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location);
|
var versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location);
|
||||||
@@ -44,5 +44,4 @@ namespace HandyControlDemo.Tools
|
|||||||
|
|
||||||
internal static string GetCopyright() =>
|
internal static string GetCopyright() =>
|
||||||
FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).LegalCopyright;
|
FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).LegalCopyright;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace HandyControlDemo.Tools
|
namespace HandyControlDemo.Tools;
|
||||||
|
|
||||||
|
internal class Win32Helper
|
||||||
{
|
{
|
||||||
internal class Win32Helper
|
|
||||||
{
|
|
||||||
[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)]
|
[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)]
|
||||||
public static extern bool SetForegroundWindow(IntPtr hWnd);
|
public static extern bool SetForegroundWindow(IntPtr hWnd);
|
||||||
|
|
||||||
[DllImport("winmm.dll", EntryPoint = "mciSendString", CharSet = CharSet.Auto)]
|
[DllImport("winmm.dll", EntryPoint = "mciSendString", CharSet = CharSet.Auto)]
|
||||||
public static extern int MciSendString(string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback);
|
public static extern int MciSendString(string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -6,10 +6,10 @@ using HandyControl.Data;
|
|||||||
using ICSharpCode.AvalonEdit.Highlighting;
|
using ICSharpCode.AvalonEdit.Highlighting;
|
||||||
using ICSharpCode.AvalonEdit.Highlighting.Xshd;
|
using ICSharpCode.AvalonEdit.Highlighting.Xshd;
|
||||||
|
|
||||||
namespace HandyControlDemo.Tools
|
namespace HandyControlDemo.Tools;
|
||||||
|
|
||||||
|
internal class HighlightingProvider
|
||||||
{
|
{
|
||||||
internal class HighlightingProvider
|
|
||||||
{
|
|
||||||
public static HighlightingProvider Default = new Lazy<HighlightingProvider>(() => new HighlightingProvider()).Value;
|
public static HighlightingProvider Default = new Lazy<HighlightingProvider>(() => new HighlightingProvider()).Value;
|
||||||
|
|
||||||
protected static readonly Lazy<IHighlightingDefinition> DefaultDefinition = new(() => HighlightingManager.Instance.GetDefinition("C#"));
|
protected static readonly Lazy<IHighlightingDefinition> DefaultDefinition = new(() => HighlightingManager.Instance.GetDefinition("C#"));
|
||||||
@@ -64,10 +64,10 @@ namespace HandyControlDemo.Tools
|
|||||||
["C#"] = new(() => DefaultDefinition.Value)
|
["C#"] = new(() => DefaultDefinition.Value)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal class HighlightingProviderDark : HighlightingProvider
|
internal class HighlightingProviderDark : HighlightingProvider
|
||||||
{
|
{
|
||||||
protected override void InitDefinitions()
|
protected override void InitDefinitions()
|
||||||
{
|
{
|
||||||
Definition = new Dictionary<string, Lazy<IHighlightingDefinition>>
|
Definition = new Dictionary<string, Lazy<IHighlightingDefinition>>
|
||||||
@@ -76,5 +76,4 @@ namespace HandyControlDemo.Tools
|
|||||||
["C#"] = new(() => LoadDefinition("CSharp-Dark")),
|
["C#"] = new(() => LoadDefinition("CSharp-Dark")),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class Avatar
|
||||||
{
|
{
|
||||||
public partial class Avatar
|
|
||||||
{
|
|
||||||
public Avatar()
|
public Avatar()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -36,5 +36,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
get => (string) GetValue(LinkProperty);
|
get => (string) GetValue(LinkProperty);
|
||||||
set => SetValue(LinkProperty, value);
|
set => SetValue(LinkProperty, value);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using HandyControl.Tools;
|
using HandyControl.Tools;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ChatBox
|
||||||
{
|
{
|
||||||
public partial class ChatBox
|
|
||||||
{
|
|
||||||
private ScrollViewer _scrollViewer;
|
private ScrollViewer _scrollViewer;
|
||||||
|
|
||||||
public ChatBox()
|
public ChatBox()
|
||||||
@@ -18,5 +18,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
_scrollViewer ??= VisualHelper.GetChild<ScrollViewer>(ListBoxChat);
|
_scrollViewer ??= VisualHelper.GetChild<ScrollViewer>(ListBoxChat);
|
||||||
_scrollViewer?.ScrollToBottom();
|
_scrollViewer?.ScrollToBottom();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using HandyControlDemo.Data;
|
using HandyControlDemo.Data;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class GeometryItem
|
||||||
{
|
{
|
||||||
public partial class GeometryItem
|
|
||||||
{
|
|
||||||
public GeometryItem() => InitializeComponent();
|
public GeometryItem() => InitializeComponent();
|
||||||
|
|
||||||
public static readonly DependencyProperty InfoProperty = DependencyProperty.Register(
|
public static readonly DependencyProperty InfoProperty = DependencyProperty.Register(
|
||||||
@@ -15,5 +15,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
get => (GeometryItemModel) GetValue(InfoProperty);
|
get => (GeometryItemModel) GetValue(InfoProperty);
|
||||||
set => SetValue(InfoProperty, value);
|
set => SetValue(InfoProperty, value);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
internal interface IFull
|
||||||
{
|
{
|
||||||
internal interface IFull
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class InteractiveDialog
|
||||||
{
|
{
|
||||||
public partial class InteractiveDialog
|
|
||||||
{
|
|
||||||
public InteractiveDialog()
|
public InteractiveDialog()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class TextDialog
|
||||||
{
|
{
|
||||||
public partial class TextDialog
|
|
||||||
{
|
|
||||||
public TextDialog()
|
public TextDialog()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using HandyControl.Tools;
|
using HandyControl.Tools;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class TextDialogWithTimer
|
||||||
{
|
{
|
||||||
public partial class TextDialogWithTimer
|
|
||||||
{
|
|
||||||
public TextDialogWithTimer()
|
public TextDialogWithTimer()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -20,5 +20,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
{
|
{
|
||||||
ButtonClose.Command.Execute(null);
|
ButtonClose.Command.Execute(null);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class AnimationPathDemoCtl
|
||||||
{
|
{
|
||||||
public partial class AnimationPathDemoCtl
|
|
||||||
{
|
|
||||||
public AnimationPathDemoCtl()
|
public AnimationPathDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class AutoCompleteTextBoxDemoCtl
|
||||||
{
|
{
|
||||||
public partial class AutoCompleteTextBoxDemoCtl
|
|
||||||
{
|
|
||||||
public AutoCompleteTextBoxDemoCtl()
|
public AutoCompleteTextBoxDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class BadgeDemoCtl
|
||||||
{
|
{
|
||||||
public partial class BadgeDemoCtl
|
|
||||||
{
|
|
||||||
public BadgeDemoCtl()
|
public BadgeDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ButtonGroupDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ButtonGroupDemoCtl
|
|
||||||
{
|
|
||||||
public ButtonGroupDemoCtl()
|
public ButtonGroupDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -36,5 +36,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
get => (string) GetValue(LinkProperty);
|
get => (string) GetValue(LinkProperty);
|
||||||
set => SetValue(LinkProperty, value);
|
set => SetValue(LinkProperty, value);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class CalendarWithClockDemoCtl
|
||||||
{
|
{
|
||||||
public partial class CalendarWithClockDemoCtl
|
|
||||||
{
|
|
||||||
public CalendarWithClockDemoCtl()
|
public CalendarWithClockDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class CardDemoCtl
|
||||||
{
|
{
|
||||||
public partial class CardDemoCtl
|
|
||||||
{
|
|
||||||
public CardDemoCtl()
|
public CardDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class CarouselDemoCtl
|
||||||
{
|
{
|
||||||
public partial class CarouselDemoCtl
|
|
||||||
{
|
|
||||||
public CarouselDemoCtl()
|
public CarouselDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ChatBubbleDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ChatBubbleDemoCtl
|
|
||||||
{
|
|
||||||
public ChatBubbleDemoCtl()
|
public ChatBubbleDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class CheckComboBoxDemoCtl
|
||||||
{
|
{
|
||||||
public partial class CheckComboBoxDemoCtl
|
|
||||||
{
|
|
||||||
public CheckComboBoxDemoCtl()
|
public CheckComboBoxDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class CirclePanelDemoCtl
|
||||||
{
|
{
|
||||||
public partial class CirclePanelDemoCtl
|
|
||||||
{
|
|
||||||
public CirclePanelDemoCtl()
|
public CirclePanelDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ClockDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ClockDemoCtl
|
|
||||||
{
|
|
||||||
public ClockDemoCtl()
|
public ClockDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ColorPickerDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ColorPickerDemoCtl
|
|
||||||
{
|
|
||||||
public ColorPickerDemoCtl()
|
public ColorPickerDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ComboBoxDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ComboBoxDemoCtl
|
|
||||||
{
|
|
||||||
public ComboBoxDemoCtl()
|
public ComboBoxDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class CompareSliderDemoCtl
|
||||||
{
|
{
|
||||||
public partial class CompareSliderDemoCtl
|
|
||||||
{
|
|
||||||
public CompareSliderDemoCtl()
|
public CompareSliderDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class CoverFlowDemoCtl
|
||||||
{
|
{
|
||||||
public partial class CoverFlowDemoCtl
|
|
||||||
{
|
|
||||||
public CoverFlowDemoCtl()
|
public CoverFlowDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -24,5 +24,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
|
|
||||||
CoverFlowMain.PageIndex = 2;
|
CoverFlowMain.PageIndex = 2;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class CoverViewDemoCtl
|
||||||
{
|
{
|
||||||
public partial class CoverViewDemoCtl
|
|
||||||
{
|
|
||||||
public CoverViewDemoCtl()
|
public CoverViewDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class DatePickerDemoCtl
|
||||||
{
|
{
|
||||||
public partial class DatePickerDemoCtl
|
|
||||||
{
|
|
||||||
public DatePickerDemoCtl()
|
public DatePickerDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class DateTimePickerDemoCtl
|
||||||
{
|
{
|
||||||
public partial class DateTimePickerDemoCtl
|
|
||||||
{
|
|
||||||
public DateTimePickerDemoCtl()
|
public DateTimePickerDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class DialogDemoCtl
|
||||||
{
|
{
|
||||||
public partial class DialogDemoCtl
|
|
||||||
{
|
|
||||||
public DialogDemoCtl()
|
public DialogDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class DividerDemoCtl
|
||||||
{
|
{
|
||||||
public partial class DividerDemoCtl
|
|
||||||
{
|
|
||||||
public DividerDemoCtl()
|
public DividerDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class DrawerDemoCtl
|
||||||
{
|
{
|
||||||
public partial class DrawerDemoCtl
|
|
||||||
{
|
|
||||||
public DrawerDemoCtl()
|
public DrawerDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ElementGroupDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ElementGroupDemoCtl
|
|
||||||
{
|
|
||||||
public ElementGroupDemoCtl()
|
public ElementGroupDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class FlexPanelDemoCtl : IFull
|
||||||
{
|
{
|
||||||
public partial class FlexPanelDemoCtl : IFull
|
|
||||||
{
|
|
||||||
public FlexPanelDemoCtl()
|
public FlexPanelDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class FlipClockDemoCtl
|
||||||
{
|
{
|
||||||
public partial class FlipClockDemoCtl
|
|
||||||
{
|
|
||||||
public FlipClockDemoCtl()
|
public FlipClockDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class FloatingBlockDemoCtl
|
||||||
{
|
{
|
||||||
public partial class FloatingBlockDemoCtl
|
|
||||||
{
|
|
||||||
public FloatingBlockDemoCtl()
|
public FloatingBlockDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class GifImageDemoCtl : IDisposable
|
||||||
{
|
{
|
||||||
public partial class GifImageDemoCtl : IDisposable
|
|
||||||
{
|
|
||||||
public GifImageDemoCtl()
|
public GifImageDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -13,5 +13,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
{
|
{
|
||||||
GifImageMain.Dispose();
|
GifImageMain.Dispose();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class GotoTopDemoCtl
|
||||||
{
|
{
|
||||||
public partial class GotoTopDemoCtl
|
|
||||||
{
|
|
||||||
public GotoTopDemoCtl()
|
public GotoTopDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class GravatarDemoCtl
|
||||||
{
|
{
|
||||||
public partial class GravatarDemoCtl
|
|
||||||
{
|
|
||||||
public GravatarDemoCtl()
|
public GravatarDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class GridDemoCtl : IFull
|
||||||
{
|
{
|
||||||
public partial class GridDemoCtl : IFull
|
|
||||||
{
|
|
||||||
public GridDemoCtl()
|
public GridDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class GrowlDemoCtl
|
||||||
{
|
{
|
||||||
public partial class GrowlDemoCtl
|
|
||||||
{
|
|
||||||
public GrowlDemoCtl()
|
public GrowlDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class HoneycombPanelDemoCtl
|
||||||
{
|
{
|
||||||
public partial class HoneycombPanelDemoCtl
|
|
||||||
{
|
|
||||||
public HoneycombPanelDemoCtl()
|
public HoneycombPanelDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ImageBlockDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ImageBlockDemoCtl
|
|
||||||
{
|
|
||||||
public ImageBlockDemoCtl()
|
public ImageBlockDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ImageBrowserDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ImageBrowserDemoCtl
|
|
||||||
{
|
|
||||||
public ImageBrowserDemoCtl()
|
public ImageBrowserDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ImageSelectorDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ImageSelectorDemoCtl
|
|
||||||
{
|
|
||||||
public ImageSelectorDemoCtl()
|
public ImageSelectorDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class LoadingDemoCtl
|
||||||
{
|
{
|
||||||
public partial class LoadingDemoCtl
|
|
||||||
{
|
|
||||||
public LoadingDemoCtl()
|
public LoadingDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class MagnifierDemoCtl
|
||||||
{
|
{
|
||||||
public partial class MagnifierDemoCtl
|
|
||||||
{
|
|
||||||
public MagnifierDemoCtl()
|
public MagnifierDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class NotificationDemoCtl
|
||||||
{
|
{
|
||||||
public partial class NotificationDemoCtl
|
|
||||||
{
|
|
||||||
public NotificationDemoCtl()
|
public NotificationDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
using HandyControlDemo.Tools;
|
using HandyControlDemo.Tools;
|
||||||
using HandyControlDemo.ViewModel;
|
using HandyControlDemo.ViewModel;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class NotifyIconDemoCtl
|
||||||
{
|
{
|
||||||
public partial class NotifyIconDemoCtl
|
|
||||||
{
|
|
||||||
public NotifyIconDemoCtl()
|
public NotifyIconDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -17,5 +17,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
private void NotifyIconDemoCtl_Unloaded(object sender, RoutedEventArgs e) => ViewModelLocator.Instance.NotifyIconDemo.Cleanup();
|
private void NotifyIconDemoCtl_Unloaded(object sender, RoutedEventArgs e) => ViewModelLocator.Instance.NotifyIconDemo.Cleanup();
|
||||||
|
|
||||||
private void ButtonPush_OnClick(object sender, RoutedEventArgs e) => NotifyIconContextContent.CloseContextControl();
|
private void ButtonPush_OnClick(object sender, RoutedEventArgs e) => NotifyIconContextContent.CloseContextControl();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class NumericUpDownDemoCtl
|
||||||
{
|
{
|
||||||
public partial class NumericUpDownDemoCtl
|
|
||||||
{
|
|
||||||
public NumericUpDownDemoCtl()
|
public NumericUpDownDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class OutlineTextDemoCtl
|
||||||
{
|
{
|
||||||
public partial class OutlineTextDemoCtl
|
|
||||||
{
|
|
||||||
public OutlineTextDemoCtl()
|
public OutlineTextDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class PaginationDemoCtl
|
||||||
{
|
{
|
||||||
public partial class PaginationDemoCtl
|
|
||||||
{
|
|
||||||
public PaginationDemoCtl()
|
public PaginationDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class PasswordBoxDemoCtl
|
||||||
{
|
{
|
||||||
public partial class PasswordBoxDemoCtl
|
|
||||||
{
|
|
||||||
public PasswordBoxDemoCtl()
|
public PasswordBoxDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using HandyControl.Controls;
|
using HandyControl.Controls;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class PinBoxDemoCtl
|
||||||
{
|
{
|
||||||
public partial class PinBoxDemoCtl
|
|
||||||
{
|
|
||||||
public PinBoxDemoCtl()
|
public PinBoxDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -17,5 +17,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
Growl.Info(pinBox.Password);
|
Growl.Info(pinBox.Password);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class PoptipDemoCtl
|
||||||
{
|
{
|
||||||
public partial class PoptipDemoCtl
|
|
||||||
{
|
|
||||||
public PoptipDemoCtl()
|
public PoptipDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class PreviewSliderDemoCtl
|
||||||
{
|
{
|
||||||
public partial class PreviewSliderDemoCtl
|
|
||||||
{
|
|
||||||
public PreviewSliderDemoCtl()
|
public PreviewSliderDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ProgressBarDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ProgressBarDemoCtl
|
|
||||||
{
|
|
||||||
public ProgressBarDemoCtl()
|
public ProgressBarDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -2,10 +2,10 @@
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Threading;
|
using System.Windows.Threading;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ProgressButtonDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ProgressButtonDemoCtl
|
|
||||||
{
|
|
||||||
public static readonly DependencyProperty ProgressProperty = DependencyProperty.Register(
|
public static readonly DependencyProperty ProgressProperty = DependencyProperty.Register(
|
||||||
"Progress", typeof(int), typeof(ProgressButtonDemoCtl), new PropertyMetadata(default(int)));
|
"Progress", typeof(int), typeof(ProgressButtonDemoCtl), new PropertyMetadata(default(int)));
|
||||||
|
|
||||||
@@ -61,5 +61,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
_timer.Start();
|
_timer.Start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using HandyControlDemo.Data;
|
using HandyControlDemo.Data;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class PropertyGridDemoCtl
|
||||||
{
|
{
|
||||||
public partial class PropertyGridDemoCtl
|
|
||||||
{
|
|
||||||
public PropertyGridDemoCtl()
|
public PropertyGridDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -27,5 +27,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
get => (PropertyGridDemoModel) GetValue(DemoModelProperty);
|
get => (PropertyGridDemoModel) GetValue(DemoModelProperty);
|
||||||
set => SetValue(DemoModelProperty, value);
|
set => SetValue(DemoModelProperty, value);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class RangeSliderDemoCtl
|
||||||
{
|
{
|
||||||
public partial class RangeSliderDemoCtl
|
|
||||||
{
|
|
||||||
public RangeSliderDemoCtl()
|
public RangeSliderDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class RateDemoCtl
|
||||||
{
|
{
|
||||||
public partial class RateDemoCtl
|
|
||||||
{
|
|
||||||
public RateDemoCtl()
|
public RateDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
+3
-4
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class RelativePanelDemoCtl
|
||||||
{
|
{
|
||||||
public partial class RelativePanelDemoCtl
|
|
||||||
{
|
|
||||||
public RelativePanelDemoCtl()
|
public RelativePanelDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class RunningBlockDemoCtl
|
||||||
{
|
{
|
||||||
public partial class RunningBlockDemoCtl
|
|
||||||
{
|
|
||||||
public RunningBlockDemoCtl()
|
public RunningBlockDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -5,10 +5,10 @@ using System.Windows.Media;
|
|||||||
using HandyControl.Controls;
|
using HandyControl.Controls;
|
||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ScreenshotDemoCtl : IDisposable
|
||||||
{
|
{
|
||||||
public partial class ScreenshotDemoCtl : IDisposable
|
|
||||||
{
|
|
||||||
public ScreenshotDemoCtl()
|
public ScreenshotDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -29,5 +29,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose() => Screenshot.Snapped -= Screenshot_Snapped;
|
public void Dispose() => Screenshot.Snapped -= Screenshot_Snapped;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ScrollViewerDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ScrollViewerDemoCtl
|
|
||||||
{
|
|
||||||
public ScrollViewerDemoCtl()
|
public ScrollViewerDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class SearchBarDemoCtl
|
||||||
{
|
{
|
||||||
public partial class SearchBarDemoCtl
|
|
||||||
{
|
|
||||||
public SearchBarDemoCtl()
|
public SearchBarDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class ShieldDemoCtl
|
||||||
{
|
{
|
||||||
public partial class ShieldDemoCtl
|
|
||||||
{
|
|
||||||
public ShieldDemoCtl()
|
public ShieldDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class SideMenuDemoCtl
|
||||||
{
|
{
|
||||||
public partial class SideMenuDemoCtl
|
|
||||||
{
|
|
||||||
public SideMenuDemoCtl()
|
public SideMenuDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class SplitButtonDemoCtl
|
||||||
{
|
{
|
||||||
public partial class SplitButtonDemoCtl
|
|
||||||
{
|
|
||||||
public SplitButtonDemoCtl()
|
public SplitButtonDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -13,5 +13,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
{
|
{
|
||||||
MessageBox.Show("123");
|
MessageBox.Show("123");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class SpriteDemoCtl
|
||||||
{
|
{
|
||||||
public partial class SpriteDemoCtl
|
|
||||||
{
|
|
||||||
public SpriteDemoCtl()
|
public SpriteDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class StepBarDemoCtl
|
||||||
{
|
{
|
||||||
public partial class StepBarDemoCtl
|
|
||||||
{
|
|
||||||
public StepBarDemoCtl()
|
public StepBarDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class TabControlDemoCtl
|
||||||
{
|
{
|
||||||
public partial class TabControlDemoCtl
|
|
||||||
{
|
|
||||||
public TabControlDemoCtl()
|
public TabControlDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class TagDemoCtl
|
||||||
{
|
{
|
||||||
public partial class TagDemoCtl
|
|
||||||
{
|
|
||||||
public TagDemoCtl()
|
public TagDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class TextBoxDemoCtl
|
||||||
{
|
{
|
||||||
public partial class TextBoxDemoCtl
|
|
||||||
{
|
|
||||||
public TextBoxDemoCtl()
|
public TextBoxDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
|
|
||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class TimeBarDemoCtl
|
||||||
{
|
{
|
||||||
public partial class TimeBarDemoCtl
|
|
||||||
{
|
|
||||||
public TimeBarDemoCtl()
|
public TimeBarDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -16,5 +16,4 @@ namespace HandyControlDemo.UserControl
|
|||||||
TimeBarDemo.Hotspots.Add(new DateTimeRange(DateTime.Today.AddHours(-hour), DateTime.Today.AddHours(-hour + 1)));
|
TimeBarDemo.Hotspots.Add(new DateTimeRange(DateTime.Today.AddHours(-hour), DateTime.Today.AddHours(-hour + 1)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace HandyControlDemo.UserControl
|
namespace HandyControlDemo.UserControl;
|
||||||
|
|
||||||
|
public partial class TimePickerDemoCtl
|
||||||
{
|
{
|
||||||
public partial class TimePickerDemoCtl
|
|
||||||
{
|
|
||||||
public TimePickerDemoCtl()
|
public TimePickerDemoCtl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Loaded 100 of 748 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user