using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Diagnostics; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { ProcessStartInfo processStartInfo1 = new ProcessStartInfo(); // 起動するアプリケーションを設定する processStartInfo1.FileName = "Notepad"; processStartInfo1.WindowStyle = ProcessWindowStyle.Hidden; Process.Start(processStartInfo1); } } }