//TODO: This form can easily be set as the splash screen for the application by going to the "Application" tab
        //  of the Project Designer ("Properties" under the "Project" menu).

        public UI_SplashScreen()
        {
            // This call is required by the designer.
            InitializeComponent();

            //Added to support default instance behavour in C#
            if (defaultInstance == null)
            {
                defaultInstance = this;
            }

            // Add any initialization after the InitializeComponent() call.

            //With Panel1
            //    .BackColor = Color.FromArgb(150, 0, 128, 128)
            //End With
        }
 static void defaultInstance_FormClosed(object sender, FormClosedEventArgs e)
 {
     defaultInstance = null;
 }