重命名控件库
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace VariaStudio.Controls;
|
||||
namespace Melskin.Controls;
|
||||
#region Internal Implementation
|
||||
|
||||
internal interface IToastHost
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace VariaStudio.Controls;
|
||||
namespace Melskin.Controls;
|
||||
|
||||
/// <summary>
|
||||
/// 定义了用于显示轻量级通知的方法。此接口支持多种类型的提示消息,包括成功、错误、警告和信息等,并允许设置消息的显示时长。
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Windows.Media.Animation;
|
||||
|
||||
|
||||
namespace VariaStudio.Controls;
|
||||
namespace Melskin.Controls;
|
||||
#region Internal Implementation
|
||||
internal class ScreenHost : IToastHost
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
|
||||
namespace VariaStudio.Controls;
|
||||
namespace Melskin.Controls;
|
||||
|
||||
/// <summary>
|
||||
/// 提供静态方法来显示各种类型的轻量级通知,支持屏幕级别和窗口级别的消息提示。
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
MinHeight="50"
|
||||
Width="320"
|
||||
mc:Ignorable="d"
|
||||
x:Class="VariaStudio.Controls.ToastControl"
|
||||
x:Class="Melskin.Controls.ToastControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:controls="clr-namespace:VariaStudio.Controls"
|
||||
xmlns:controls="clr-namespace:Melskin.Controls"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace VariaStudio.Controls;
|
||||
namespace Melskin.Controls;
|
||||
|
||||
|
||||
// 定义通知类型
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Windows.Threading;
|
||||
|
||||
|
||||
namespace VariaStudio.Controls;
|
||||
namespace Melskin.Controls;
|
||||
#region Internal Implementation
|
||||
|
||||
internal class ToastManager(IToastHost host) : IToastService
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace VariaStudio.Controls
|
||||
namespace Melskin.Controls
|
||||
{
|
||||
/// <summary>
|
||||
/// 该枚举定义了ToastControl控件中可以使用的不同类型的通知。每种类型对应不同的视觉样式和图标,用于在用户界面上显示不同性质的消息,如成功、信息、警告或错误。
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Windows.Documents;
|
||||
|
||||
|
||||
namespace VariaStudio.Controls;
|
||||
namespace Melskin.Controls;
|
||||
#region Internal Implementation
|
||||
|
||||
internal class WindowHost : IToastHost
|
||||
|
||||
Reference in New Issue
Block a user