using System;
using System.Windows.Forms;
using ToolsManagement;

namespace WindowsFormsApplication2;

public class Splash_Screen
{
	private const string APPLICATION_NAME = "GNSS Plot Tool";

	private const string SPLASH_FILENAME = "GNSS_Plot.png";

	private const bool IS_GUI = true;

	private const string CUSTOM_TEXT = "";

	private const bool IS_SILENT_SPLASH = false;

	private const int EXTRA_MS = -4500;

	public void ShowSplash()
	{
		if (ToolsManagement.SplashLibrary.LaunchSplash("GNSS Plot Tool", "GNSS_Plot.png", bGUI: true, "", bSilentSplash: false, -4500) != 0)
		{
			MessageBox.Show("Setup Error. Please Contact Qualcomm Tools Support");
			Environment.Exit(1);
		}
	}

	public void ShowNotice()
	{
		if (!ToolsManagement.SplashLibrary.ShowNotice("GNSS_Plot.png"))
		{
			MessageBox.Show("Notice Error. Please Contact Qualcomm Tools Support");
		}
	}
}
