北京安通林JIS系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
810 B

using Stone.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace Stone.WinModule
{
public partial class frmWelcome : Stone.WinModule.frmBase
{
private string bgfile = Application.StartupPath + "\\bg_main.jpg";
public frmWelcome()
{
InitializeComponent();
}
private void frmWelcome_Load(object sender, EventArgs e)
{
try
{
if (File.Exists(bgfile))
{
Image img = (Image)Bitmap.FromFile(bgfile);
this.BackgroundImage = img;
}
}
catch { }
}
}
}