Пример #1
0
        private void ShowAbout()
        {
            About about = new About();

            about.Show();
            about.BringToFront();
            about.Focus();
        }
Пример #2
0
        public void Jumplist_ShowAbout(String[] arguments)
        {
            About about = Shellscape.Program.FindForm(typeof(About)) as About ?? new About();

            MethodInvoker method = delegate() {             // yes, all this ugly is necessary.
                about.Show();
                about.TopMost = true;
                about.BringToFront();
                about.Focus();
                about.TopMost = false;
            };

            if (about.InvokeRequired)
            {
                about.Invoke(method);
            }
            else
            {
                method();
            }
        }
Пример #3
0
 private void ShowAbout()
 {
     About about = new About();
     about.Show();
     about.BringToFront();
     about.Focus();
 }