public MainWindow() { InitializeComponent(); MainWallet wallet = new MainWallet(); //wallet.Bitcoin = 3;//One Bitcoin=6000tg //wallet.Tg = 14000; wallet.Bitcoin = 6000 * course; wallet.MainSum = 30000; Halyk.Maximum = 14000; bitcoin.Maximum = wallet.Bitcoin; }
public void Show() { MainWallet wallet = new MainWallet(); sum = wallet.MainSum; Tg = Halyk.Maximum; Bit = wallet.Bitcoin; //bitcoin = wallet.Bitcoin; //Tg = wallet.Tg; if (Tg + Bit > sum) { } sum = Tg + Bit; }
public ImportPrivKey(MainWallet mw) { lMw = mw; InitializeComponent(); this.Show(); }