mirror of
https://github.com/BepInEx/BepInEx.SplashScreen.git
synced 2026-11-22 04:39:25 -10:00
88 lines
3.4 KiB
C#
88 lines
3.4 KiB
C#
|
|
using System.IO;
|
|
using System.Reflection;
|
|
|
|
namespace BepInEx.GUI.SplashGUI
|
|
{
|
|
partial class DynamicSplash
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.label1.Location = new System.Drawing.Point(13, 216);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(201, 49);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Your game is loading.\nThis window will close automatically.";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.ImageLocation = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),"splash.png");
|
|
this.pictureBox1.Location = new System.Drawing.Point(13, 13);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(200, 200);
|
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.pictureBox1.TabIndex = 2;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// DynamicSplash
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.SystemColors.Window;
|
|
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
|
this.ClientSize = new System.Drawing.Size(226, 249);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.label1);
|
|
this.Cursor = System.Windows.Forms.Cursors.AppStarting;
|
|
this.DoubleBuffered = true;
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "DynamicSplash";
|
|
this.ShowIcon = false;
|
|
this.Text = "BepInEx";
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
}
|
|
}
|
|
|