コード例 #1
0
        private void btnStartXayaService_Click(object sender, EventArgs e)
        {
            if (Properties.Settings.Default.Username.Length > 0 && Properties.Settings.Default.Password.Length > 0)
            {
                xayaService = new BitcoinLib.Services.Coins.XAYA.XAYAService("http://localhost:8396/wallet/game.dat",
                                                                             Properties.Settings.Default.Username,
                                                                             Properties.Settings.Default.Password,
                                                                             "",
                                                                             10);

                PopulateNames();

                btnStartXayaService.Enabled = false;
            }
        }