2024-09-28 21:33:36 +02:00
|
|
|
|
using System.Windows.Forms;
|
2024-08-26 10:04:35 +02:00
|
|
|
|
|
|
|
|
|
|
namespace Flowframes.Forms
|
|
|
|
|
|
{
|
|
|
|
|
|
public partial class SplashForm : Form
|
|
|
|
|
|
{
|
2024-10-16 10:26:05 +02:00
|
|
|
|
public static SplashForm Inst;
|
|
|
|
|
|
|
|
|
|
|
|
public SplashForm(string status = "")
|
2024-08-26 10:04:35 +02:00
|
|
|
|
{
|
2024-10-16 10:26:05 +02:00
|
|
|
|
Inst = this;
|
2024-08-26 10:04:35 +02:00
|
|
|
|
InitializeComponent();
|
2024-10-16 10:26:05 +02:00
|
|
|
|
SetStatus(status);
|
2024-08-26 10:04:35 +02:00
|
|
|
|
}
|
2024-09-28 21:33:36 +02:00
|
|
|
|
|
|
|
|
|
|
private void SplashForm_Load(object sender, System.EventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (!Program.CmdMode)
|
|
|
|
|
|
{
|
|
|
|
|
|
Opacity = 1f;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-10-16 10:26:05 +02:00
|
|
|
|
|
|
|
|
|
|
public void SetStatus(string status)
|
|
|
|
|
|
{
|
|
|
|
|
|
statusLabel.Text = status;
|
|
|
|
|
|
}
|
2024-08-26 10:04:35 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|