Files
wg_cpso/CPSO/Forms/ViewError.cs

31 lines
931 B
C#
Raw Permalink Normal View History

2026-03-25 18:20:24 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
namespace CPSO.Forms
{
[Serializable]
public class ViewError
{
// Variables
private string _message;
// Properties
[Category("Error")]
[DisplayName("Message")]
[Description("Error message.")]
public string Message { get { return _message; } }
// Constructor
public ViewError(string errorMessage)
{
_message = errorMessage;
}
}
}