学习过程中看到的用VB.net绘制漂亮的splash界面,收藏如下:(效果可见相册中的收藏)
Option Explicit On
Option Strict On
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Convert
Public Class frmSplash
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents tmrSplash As System.Windows.Forms.Timer
<System.Diagnostics.DebuggerStepThrough

这篇博客介绍了如何使用VB.NET创建美观的启动(splash)界面。通过实例代码展示了如何利用Graphics类绘制各种图形,包括渐变色背景、线条、矩形、文字、填充图案以及图像等元素,从而实现专业级别的启动画面。
最低0.47元/天 解锁文章
7693

被折叠的 条评论
为什么被折叠?



