Ejemplo n.º 1
0
        private void popup_FormClosing(object sender, FormClosingEventArgs e)
        {
            for (int i = 0; i < _parentForm.getModifier(); i++)
            {
                popup popup = new popup(_parentForm);
                popup.Show();
                Thread.Sleep(50);
            }
            _parentForm.redCount();

            /*
             * popup popup1 = new popup(_parentForm);
             * popup popup2 = new popup(_parentForm);
             * popup1.Show();
             * Thread.Sleep(50);
             * popup2.Show();
             */
        }
Ejemplo n.º 2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            popup popup = new popup(this);

            popup.Show();
        }