Esempio n. 1
0
        public CustomMessageBox()
        {
            if (player1score > 6)
            {
                Tex.Show("Player 1 Won!");
                Close();
            }
            else if (player2score > 6)
            {
                MessageBox.Show("Player 2 Won!");
                Close();
            }

            InitializeComponent();
        }