1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-24 14:50:10 +00:00
msfs-popout-panel-manager/Shared/StatusMessageEventArgs.cs

36 lines
839 B
C#
Raw Normal View History

2023-07-12 22:41:31 +00:00
using System;
using System.Collections.Generic;
namespace MSFSPopoutPanelManager.Shared
{
public class StatusMessageEventArg : EventArgs
{
public StatusMessageEventArg(List<StatusMessage> messages)
{
Messages = messages;
Duration = -1;
}
public StatusMessageEventArg(List<StatusMessage> messages, int duration)
{
Messages = messages;
Duration = duration;
}
public List<StatusMessage> Messages { get; set; }
public StatusMessageType StatusMessageType { get; set; }
public int Duration { get; set; }
}
public class StatusMessage
{
public StatusMessageType StatusMessageType { get; set; }
public string Message { get; set; }
public bool NewLine { get; set; }
}
}