using System.Windows.Forms; using FastReport.Utils; namespace FastReport.Forms { /// /// Represents the Splash Screen showing during loading designer /// public partial class SplashForm : BaseForm, IMessageFilter { /// /// Initializes a new instance of the class. /// public SplashForm() { InitializeComponent(); BackgroundImage = GetImage("Images.Splash.png"); #if COMMUNITY if (Utils.Config.SplashScreen != null) BackgroundImage = Utils.Config.SplashScreen; #endif } /// /// Filters mouse events. /// For internal use only. /// public bool PreFilterMessage(ref Message m) { if (m.Msg == 0x201 || m.Msg == 0x202 || m.Msg == 0x203 || m.Msg == 0x204 || m.Msg == 0x205 || m.Msg == 0x206) return true; return false; } } }