コード例 #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            int cardIDOfPropertyToPlay = -1;

            cardIDOfPropertyToPlay = (int)((MonopolyDealServiceReference.Card)listBox1.SelectedValue).cardID;
            bool isOrientedUp = true;

            requestHandler.playPropertyToNewSet(cardIDOfPropertyToPlay, isOrientedUp);
            //Update State
            buttonPollMD_Click(null, null);
        }