Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-splash-controlsyncfusion winforms splash control ORM

Agent Skill

syncfusion-winforms-splash-control 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

661

周安装

27

GitHub Stars

公开资料未说明

下载量

212
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-winforms-splash-control(syncfusion winforms splash control ORM)
来源仓库:https://github.com/syncfusion/winforms-ui-components-skills
仓库路径:skills/syncfusion-winforms-splash-control
安装命令:
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-splash-control
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-splash-control

简介

Syncfusion WinForms Splash 启动控件,用于应用程序初始化期间的欢迎界面展示。

  • 常见于大型软件启动、插件加载、版权声明等短暂全屏提示场景。
  • 支持图片、进度条、版本信息与倒计时自动关闭逻辑。
  • 需验证控件与主窗体的生命周期协调,避免过早销毁或延迟显示问题。
  • 在多显示器环境中应测试位置定位准确性,确保始终出现在主屏幕中央。

SKILL.md

Implementing Syncfusion WinForms SplashControl

The SplashControl component enables easy creation of professional splash screens for Windows Forms applications. Simply drag and drop the control onto your form, set an image, and the splash screen displays automatically at runtime with customizable timing, animation, and positioning.

When to Use This Skill

Use this skill when you need to:

  • Display a splash screen during application startup
  • Show branding, logos, or loading information while the app initializes
  • Create timed or manually-controlled splash displays
  • Implement animated splash screens with visual effects
  • Design custom splash panels with controls and content
  • Control host form visibility during splash display
  • Handle splash screen lifecycle events
  • Position splash screens at specific desktop locations

Component Overview

SplashControl provides two display modes:

  1. Image-based splash screen: Display a static or animated image
  2. Custom SplashPanel: Design a fully customizable panel with any controls

Key capabilities:

  • Automatic or manual display control
  • Configurable display duration with timer intervals
  • Built-in animation effects (left-to-right reveal)
  • Flexible desktop positioning (center, corners, system tray, custom)
  • Host form visibility management
  • Modal or non-modal display modes
  • Transparency support
  • Complete event lifecycle

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Start here for initial setup:

  • Assembly references and NuGet packages
  • Adding SplashControl through designer or code
  • Basic property configuration
  • AutoMode vs manual invocation
  • Running your first splash screen

Display and Timing Configuration

📄 Read: references/automode-timing.md

Configure when and how the splash screen appears:

  • AutoMode for automatic display on form load
  • AutoModeDisableOwner for modal splash screens
  • ShowSplash() method for manual display control
  • HideSplash() to close programmatically
  • ShowDialogSplash() for modal dialog display
  • TimerInterval to control display duration
  • IsShowing property to check display state

Image and Animation Settings

📄 Read: references/image-animation.md

Customize the visual appearance:

  • Setting the SplashImage property
  • Enabling animation with ShowAnimation
  • Configuring transparent colors
  • ShowAsTopMost to control window layering
  • Animation behavior and effects

Alignment and Positioning

📄 Read: references/alignment-positioning.md

Control splash screen location on the desktop:

  • DesktopAlignment options (Center, SystemTray, corners)
  • Custom positioning strategies
  • Visual examples for each alignment mode

Host Form Management

📄 Read: references/host-form-settings.md

Manage the parent form during splash display:

  • HostForm property configuration
  • HideHostForm to conceal the main form
  • HostFormWindowState for controlling form state (Normal, Minimized, Maximized)
  • Coordination between splash and host form

Custom SplashPanel Integration

📄 Read: references/splashpanel-integration.md

Create fully customized splash panels:

  • Using SplashPanel instead of static images
  • CustomSplashPanel property
  • UseCustomSplashPanel to enable custom panels
  • Designing panels with controls (labels, progress bars, etc.)
  • SplashControlPanel property
  • ShowInTaskbar and FormIcon configuration
  • Complete integration workflow with code examples

Event Handling

📄 Read: references/events.md

Handle splash screen lifecycle events:

  • BeforeSplash event (with cancellation support)
  • SplashDisplayed event
  • SplashClosing event
  • SplashClosed event
  • Event notification methods
  • Logging and debugging patterns

Quick Start

Basic Image-Based Splash Screen

using Syncfusion.Windows.Forms.Tools;

public partial class Form1 : Form
{
    private SplashControl splashControl1;

    public Form1()
    {
        InitializeComponent();

        // Initialize SplashControl
        this.splashControl1 = new SplashControl();

        // Set the splash image
        this.splashControl1.SplashImage = Image.FromFile("splash.png");

        // Configure basic properties
        this.splashControl1.HostForm = this;
        this.splashControl1.TimerInterval = 3000; // Display for 3 seconds
        this.splashControl1.AutoMode = true; // Auto-display on form load
        this.splashControl1.DesktopAlignment = SplashAlignment.Center;

        // Optional: Enable animation
        this.splashControl1.ShowAnimation = true;
    }
}

Manual Display Control

// Display splash screen manually
private void ShowSplashButton_Click(object sender, EventArgs e)
{
    // Show splash and disable owner form
    splashControl1.ShowSplash(true);
}

// Hide splash screen programmatically
private void HideSplashButton_Click(object sender, EventArgs e)
{
    splashControl1.HideSplash();
}

// Show as modal dialog
private void ShowModalSplash_Click(object sender, EventArgs e)
{
    splashControl1.ShowDialogSplash(this);
}

Common Patterns

Automatic Splash with Hidden Host Form

Display splash screen while hiding the main form during initialization:

private void InitializeSplash()
{
    splashControl1.HostForm = this;
    splashControl1.SplashImage = Properties.Resources.CompanyLogo;
    splashControl1.AutoMode = true;
    splashControl1.HideHostForm = true;
    splashControl1.TimerInterval = 4000;
    splashControl1.DesktopAlignment = SplashAlignment.Center;

    // Handle splash closed event to perform initialization
    splashControl1.SplashClosed += (s, e) =>
    {
        // Perform app initialization after splash closes
        LoadApplicationData();
    };
}

Custom SplashPanel with Progress

Create a custom splash panel with controls:

private void SetupCustomSplashPanel()
{
    // Create and design SplashPanel
    SplashPanel splashPanel = new SplashPanel();
    splashPanel.BackgroundColor = new BrushInfo(GradientStyle.Vertical,
        Color.White, Color.LightBlue);
    splashPanel.Size = new Size(400, 200);

    // Add label
    Label statusLabel = new Label
    {
        Text = "Loading Application...",
        AutoSize = true,
        Location = new Point(50, 80),
        Font = new Font("Segoe UI", 14, FontStyle.Bold)
    };
    splashPanel.Controls.Add(statusLabel);

    // Configure SplashControl to use custom panel
    splashControl1.CustomSplashPanel = splashPanel;
    splashControl1.UseCustomSplashPanel = true;
    splashControl1.HostForm = this;
    splashControl1.TimerInterval = 5000;
}

Event-Driven Splash Display

Handle events for logging and control:

private void ConfigureSplashEvents()
{
    splashControl1.BeforeSplash += (s, e) =>
    {
        // Log before display
        Debug.WriteLine("Splash screen about to display");

        // Cancel if needed
        // e.Cancel = true;
    };

    splashControl1.SplashDisplayed += (s, e) =>
    {
        Debug.WriteLine("Splash screen is now visible");
        StartBackgroundInitialization();
    };

    splashControl1.SplashClosing += (s, e) =>
    {
        Debug.WriteLine("Splash screen is closing");
    };

    splashControl1.SplashClosed += (s, e) =>
    {
        Debug.WriteLine("Splash screen closed");
        ShowMainForm();
    };
}

Transparent Splash Screen

Create a splash screen with transparent regions:

private void ConfigureTransparentSplash()
{
    splashControl1.SplashImage = Properties.Resources.LogoWithTransparency;
    splashControl1.TransparentColor = Color.White; // Make white pixels transparent
    splashControl1.ShowAnimation = true;
    splashControl1.ShowAsTopMost = true;
    splashControl1.DesktopAlignment = SplashAlignment.Center;
    splashControl1.TimerInterval = 3000;
}

Key Properties

PropertyTypeDescription
AutoModeboolAutomatically display splash on form load
SplashImageImageImage to display as splash screen
TimerIntervalintDisplay duration in milliseconds (default: 5000)
DesktopAlignmentSplashAlignmentPosition on desktop (Center, SystemTray, corners, Custom)
HostFormFormParent form of the SplashControl
HideHostFormboolHide parent form during splash display
HostFormWindowStateFormWindowStateControls the state of the host form (Normal, Minimized, Maximized)
ShowAnimationboolEnable left-to-right animation effect
CustomSplashPanelSplashPanelCustom panel to display instead of image
UseCustomSplashPanelboolUse CustomSplashPanel instead of SplashImage
AutoModeDisableOwnerboolDisplay splash modally in AutoMode
ShowAsTopMostboolDisplay splash as topmost window
TransparentColorColorColor to make transparent in splash image
IsShowingboolIndicates if splash is currently displayed (read-only)

Key Methods

MethodDescription
ShowSplash(bool disableOwner)Display splash screen manually
HideSplash()Close the splash screen programmatically
ShowDialogSplash(Form owner)Display splash as modal dialog
ShowDialogSplash(Point location, Form owner)Display splash at specific location as modal

Key Events

EventDescription
BeforeSplashRaised before splash display (cancelable)
SplashDisplayedRaised after splash is shown
SplashClosingRaised before splash closes (cancelable)
SplashClosedRaised after splash is closed

Common Use Cases

Application Startup Branding

Display company logo and version information during application load, hiding the main form until initialization completes.

Long Initialization Process

Show a custom splash panel with progress indicator while loading data, initializing components, or connecting to services.

Version Update Notification

Display splash screen with "What's New" information when the application starts after an update.

Professional User Experience

Create animated, transparent splash screens that match your application's branding and design language.

Timed Information Display

Show important announcements, tips, or messages for a specific duration before allowing user interaction.

Tips and Best Practices

  1. Keep splash duration reasonable: 2-5 seconds is ideal; longer durations frustrate users
  2. Match application theme: Ensure splash screen design aligns with your application's visual identity
  3. Use AutoMode for simplicity: Unless you need complex control, AutoMode handles most scenarios
  4. Handle SplashClosed event: Perform initialization tasks when splash closes to ensure smooth transition
  5. Consider SplashPanel for dynamic content: Use custom panels when you need progress bars or changing text
  6. Test different alignments: Center usually works best, but SystemTray can be less intrusive
  7. Use HideHostForm judiciously: Hiding the host form can create a cleaner startup experience
  8. Enable animation selectively: Animation adds polish but may not suit all application types

Assembly Dependencies

Required assemblies:

  • Syncfusion.Shared.Base.dll
  • Syncfusion.Tools.Windows.dll

NuGet Package:

Install-Package Syncfusion.Tools.Windows

Refer to Syncfusion control dependencies documentation for complete dependency information.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.64%
按下载量换算76

Claude

28.02%
按下载量换算59

Cursor

17.26%
按下载量换算37

Gemini CLI

9.09%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills