private void button1_Click(object sender, EventArgs e) { StringBuilder path = new StringBuilder(260); SHGetSpecialFolderPath(IntPtr.Zero, path, CSIDL_COMMON_STARTMENU, false); string s = path.ToString(); Process.Start(s + "\\Programs"); ShowShell ss = new ShowShell(); this.Hide(); ss.ShowDialog(); this.Show(); }
private void button2_Click(object sender, EventArgs e) { ShowShell ss = new ShowShell(); this.Hide(); ss.ShowDialog(); this.Show(); this.TopMost = true; }
private void cpLaunch_Click(object sender, EventArgs e) { this.TopMost = false; ShowShell ss = new ShowShell(); this.Hide(); Process.Start("control.exe"); ss.ShowDialog(); this.Show(); }