示例#1
0
文件: Form1.cs 项目: 9001/Loopstream
        private void Form1_Load(object sender, EventArgs e)
        {
            /*System.Collections.IDictionary dict = System.Environment.GetEnvironmentVariables();
            foreach (System.Collections.DictionaryEntry env in dict)
            {
                MessageBox.Show(env.Key + ": " + env.Value);
            }*/

            myBounds = this.Bounds;
            this.Bounds = new Rectangle(0, -100, 0, 0);
            splash = new Splesh();
            splash.Show();

            Timer t = new Timer();
            t.Tick += t_Tick;
            t.Interval = 100;
            t.Start();
        }
示例#2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            /*System.Collections.IDictionary dict = System.Environment.GetEnvironmentVariables();
             * foreach (System.Collections.DictionaryEntry env in dict)
             * {
             *  MessageBox.Show(env.Key + ": " + env.Value);
             * }*/

            myBounds    = this.Bounds;
            this.Bounds = new Rectangle(0, -100, 0, 0);
            splash      = new Splesh();
            splash.Show();

            Timer t = new Timer();

            t.Tick    += t_Tick;
            t.Interval = 100;
            t.Start();
        }