Example #1
0
        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();
        }
Example #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            ShowShell ss = new ShowShell();
            this.Hide();
            ss.ShowDialog();
            this.Show();

            this.TopMost = true;
        }
Example #3
0
 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();
 }