コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();
            serverAddress = new IPEndPoint(IPAddress.Parse("127.0.0.1"), PORT);
            myBidClientThreadMethod = new BidClientThreadMethod();
            myBidClientThreadMethod.ReceivedBidEvent += new BidReceived(BidReceivedHandler);
           

            txtBidMaking.IsEnabled = false;
            btnLogIn.IsEnabled = true;
            btnLogOut.IsEnabled = false;
            btnSubmitBid.IsEnabled = false;
            txtBids.IsEnabled = false;
            btnLogIn.Focus();
        }
コード例 #2
0
        public MainWindow()
        {
            InitializeComponent();
            serverAddress           = new IPEndPoint(IPAddress.Parse("127.0.0.1"), PORT);
            myBidClientThreadMethod = new BidClientThreadMethod();
            myBidClientThreadMethod.ReceivedBidEvent += new BidReceived(BidReceivedHandler);


            txtBidMaking.IsEnabled = false;
            btnLogIn.IsEnabled     = true;
            btnLogOut.IsEnabled    = false;
            btnSubmitBid.IsEnabled = false;
            txtBids.IsEnabled      = false;
            btnLogIn.Focus();
        }