42 lines
947 B
C#
42 lines
947 B
C#
/* Generated by MyraPad at 21/09/2021 16:37:58 */
|
|
using Myra;
|
|
using Myra.Graphics2D;
|
|
using Myra.Graphics2D.TextureAtlases;
|
|
using Myra.Graphics2D.UI;
|
|
using Myra.Graphics2D.Brushes;
|
|
using Myra.Graphics2D.UI.Properties;
|
|
|
|
#if MONOGAME || FNA
|
|
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
#elif STRIDE
|
|
using Stride.Core.Mathematics;
|
|
#else
|
|
using System.Drawing;
|
|
using System.Numerics;
|
|
#endif
|
|
|
|
namespace Sledgemapper.UI
|
|
{
|
|
partial class ErrorWindow: VerticalStackPanel
|
|
{
|
|
private void BuildUI()
|
|
{
|
|
TxtError = new Label();
|
|
TxtError.Text = "Error Message";
|
|
TxtError.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;
|
|
TxtError.VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center;
|
|
TxtError.Id = "TxtError";
|
|
|
|
|
|
Width = 400;
|
|
Height = 40;
|
|
Padding = new Thickness(10);
|
|
Background = new SolidBrush("#FE3930FF");
|
|
Widgets.Add(TxtError);
|
|
}
|
|
|
|
|
|
public Label TxtError;
|
|
}
|
|
}
|