<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Splash Screens and non-rectangular windows</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx</link><description>I needed a splash screen for my music player app. I tried a couple of ideas that didn't work very well, but then I hit on the idea of using&amp;#160;the image of a CD as the background of the splash screen - and doing a non-rectangular window. I'll start</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>RE: Splash Screens and non-rectangular windows</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx#52646</link><pubDate>Thu, 25 Sep 2003 16:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:52646</guid><dc:creator>Jacob</dc:creator><description>I use a slightly different approach for my splash screens, but I think the end result is the same:

    Public Class ApplicationEntryPoint
        Private Shared m_splash As SplashScreen
        Private Shared m_context As ApplicationContext

        Private Sub New()
        End Sub

        &amp;lt;STAThread()&amp;gt; _
        Public Shared Sub Main(ByVal CmdArgs() As String)
            m_context = New ApplicationContext()
            If CmdArgs.Length &amp;gt; 0 AndAlso CmdArgs(0) = &amp;quot;/NoSplash&amp;quot; Then
                m_context.MainForm = New MainForm()
            Else
                AddHandler Application.Idle, AddressOf AppIdle
                m_splash = New SplashScreen()
                m_splash.TopMost = True
                m_splash.Show()
            End If
            Application.Run(m_context)
        End Sub

        Private Shared Sub AppIdle(ByVal sender As Object, ByVal e As EventArgs)
            If m_context.MainForm Is Nothing Then
                RemoveHandler Application.Idle, AddressOf AppIdle
                m_context.MainForm = New MainForm()
                m_context.MainForm.Show()
                m_splash.Close()
                m_splash = Nothing
            End If
        End Sub

    End Class</description></item><item><title>RE: Splash Screens and non-rectangular windows</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx#52647</link><pubDate>Sat, 27 Sep 2003 01:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:52647</guid><dc:creator>Darren Neimke</dc:creator><description>Thanks Eric!</description></item><item><title>I chose a recommended way..</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx#161223</link><pubDate>Mon, 21 Jun 2004 10:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:161223</guid><dc:creator>Irfan Patel (MCSD) </dc:creator><description>Nice code for the non-rectangular way but I created a new class for splash screen and frmMain in C#.&lt;br&gt;There is a timer set in frmSplash whose tick event has databaseconnection code and this.Close(); to close the frmSplash&lt;br&gt;:) The additional class is as follows&lt;br&gt; &lt;br&gt;&lt;br&gt;using System;&lt;br&gt;using System.Windows.Forms;&lt;br&gt;namespace MyNamespace.Classes&lt;br&gt;{&lt;br&gt;	/// &amp;lt;summary&amp;gt;&lt;br&gt;	/// Summary description for clsMain.&lt;br&gt;	/// &amp;lt;/summary&amp;gt;&lt;br&gt;	public class clsMain&lt;br&gt;	{&lt;br&gt;		public clsMain()&lt;br&gt;		{&lt;br&gt;		}&lt;br&gt;		[STAThread]&lt;br&gt;		static void Main() &lt;br&gt;		{&lt;br&gt;			frmSplash objfrmSplash = new frmSplash();&lt;br&gt;			objfrmSplash.ShowDialog();&lt;br&gt;&lt;br&gt;			clsGlobal.g_objfrmMain = new frmMain();&lt;br&gt;			//clsGlobal.g_objfrmMain.Show();&lt;br&gt;&lt;br&gt;			Application.Run(clsGlobal.g_objfrmMain);&lt;br&gt;			&lt;br&gt;		}&lt;br&gt;	}&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;Have a nice time :)&lt;br&gt;patelirfan786@yahoo.com</description></item><item><title>MBA</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx#324516</link><pubDate>Sat, 18 Dec 2004 18:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:324516</guid><dc:creator>MBA</dc:creator><description>Helpful For MBA Fans.</description></item><item><title>Re:</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx#333658</link><pubDate>Tue, 28 Dec 2004 12:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:333658</guid><dc:creator>RebelGeekz </dc:creator><description>[&lt;a target="_new" href="http://itpeixun.51.net/"&gt;http://itpeixun.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://aissl.51.net/"&gt;http://aissl.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz003.freewebpage.org/"&gt;http://kukuxz003.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz001.51.net/"&gt;http://kukuxz001.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz003.51.net/"&gt;http://kukuxz003.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz005.51.net/"&gt;http://kukuxz005.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz002.51.net/"&gt;http://kukuxz002.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz004.freewebpage.org/"&gt;http://kukuxz004.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz007.51.net/"&gt;http://kukuxz007.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz001.freewebpage.org/"&gt;http://kukuxz001.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz006.51.net/"&gt;http://kukuxz006.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz002.freewebpage.org/"&gt;http://kukuxz002.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz004.51.net/"&gt;http://kukuxz004.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz008.51.net/"&gt;http://kukuxz008.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz009.51.net/"&gt;http://kukuxz009.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz005.freewebpage.org/"&gt;http://kukuxz005.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz006.freewebpage.org/"&gt;http://kukuxz006.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz007.freewebpage.org/"&gt;http://kukuxz007.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz009.freewebpage.org/"&gt;http://kukuxz009.freewebpage.org/&lt;/a&gt;]</description></item><item><title>Splash Screens in Windows Forms</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx#856171</link><pubDate>Sun, 22 Oct 2006 20:42:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:856171</guid><dc:creator>.Avery Blog</dc:creator><description>&lt;p&gt;Splash Screens in Windows Forms&lt;/p&gt;
</description></item><item><title>Splash screens using VB2005 Application Framework</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx#859479</link><pubDate>Mon, 23 Oct 2006 07:47:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:859479</guid><dc:creator>Nick Randolph's .NET Travels</dc:creator><description>&lt;p&gt;James Avery makes a point that Eric Gunnerson has a way of doing splash screens. Unfortunately...&lt;/p&gt;
</description></item><item><title>Splash Screens and non-rectangular windows  &amp;laquo; Vakul Kumar More</title><link>http://blogs.msdn.com/ericgu/archive/2003/09/24/52645.aspx#893870</link><pubDate>Sun, 29 Oct 2006 12:58:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:893870</guid><dc:creator>Splash Screens and non-rectangular windows  « Vakul Kumar More</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://vakul.wordpress.com/2006/10/29/splash-screens-and-non-rectangular-windows/"&gt;http://vakul.wordpress.com/2006/10/29/splash-screens-and-non-rectangular-windows/&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>