mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-12-01 18:20:10 +00:00
43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
|
using System;
|
|||
|
|
|||
|
namespace MSFSPopoutPanelManager.Shared
|
|||
|
{
|
|||
|
public class StatusMessageEventArg : EventArgs
|
|||
|
{
|
|||
|
public StatusMessageEventArg(string message, StatusMessageType statusMessageType, bool showDialog)
|
|||
|
{
|
|||
|
Message = message;
|
|||
|
StatusMessageType = statusMessageType;
|
|||
|
ShowDialog = showDialog;
|
|||
|
Duration = -1;
|
|||
|
DisplayInAppWindow = false;
|
|||
|
}
|
|||
|
|
|||
|
public StatusMessageEventArg(string message, StatusMessageType statusMessageType, bool showDialog, int duration, bool displayInAppWindow)
|
|||
|
{
|
|||
|
Message = message;
|
|||
|
StatusMessageType = statusMessageType;
|
|||
|
ShowDialog = showDialog;
|
|||
|
Duration = duration;
|
|||
|
DisplayInAppWindow = displayInAppWindow;
|
|||
|
}
|
|||
|
|
|||
|
public string Message { get; set; }
|
|||
|
|
|||
|
public StatusMessageType StatusMessageType { get; set; }
|
|||
|
|
|||
|
public bool ShowDialog { get; set; }
|
|||
|
|
|||
|
public int Duration { get; set; }
|
|||
|
|
|||
|
public bool DisplayInAppWindow { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public enum StatusMessageType
|
|||
|
{
|
|||
|
Info,
|
|||
|
Error,
|
|||
|
Debug
|
|||
|
}
|
|||
|
}
|