Esempio n. 1
0
        private void FormCoinPR_Load(object sender, EventArgs e)
        {
            LoadSettings();

            webServiceClass			= CreateWebServiceObject();
            FormSelectMarket formSelectMarket	= new FormSelectMarket();
            formSelectMarket.webServiceClass	= webServiceClass;

            ChangeMarketPlace();

            timerRefresh.Interval	= refreshRate;
            timerRefresh.Enabled	= formMustrefresh;
        }
Esempio n. 2
0
        private void buttonSelectMarket_Click(object sender, EventArgs e)
        {
            FormSelectMarket formSelectMarket = new FormSelectMarket();

            formSelectMarket.marketID			= marketID;
            formSelectMarket.primaryCoinCode	= primaryCoinCode;
            formSelectMarket.primaryCoinName	= primaryCoinName;
            formSelectMarket.secondaryCoinCode	= secondaryCoinCode;
            formSelectMarket.secondaryCoinName	= secondaryCoinName;
            formSelectMarket.webServiceClass	= webServiceClass;

            formSelectMarket.ShowDialog();

            marketID			= formSelectMarket.marketID;
            primaryCoinCode		= formSelectMarket.primaryCoinCode;
            primaryCoinName		= formSelectMarket.primaryCoinName;
            secondaryCoinCode	= formSelectMarket.secondaryCoinCode;
            secondaryCoinName	= formSelectMarket.secondaryCoinName;

            formSelectMarket.Dispose();

            ChangeMarketPlace();
        }