Example #1
0
 public wallet(string _wallet, string _pass, System.Diagnostics.Process wd)
 {
     InitializeComponent();
     runningDaemon = wd;
     wallet.colorListViewHeader(ref txList, Color.FromArgb(29, 29, 29), Color.FromArgb(187, 186, 185));
     _selectedTab   = homeButton;
     walletPath     = _wallet;
     walletPassword = _pass;
     Properties.Settings.Default.walletPath = _wallet;
     Properties.Settings.Default.hasWallet  = true;
     Properties.Settings.Default.Save();
     //feeAmountText.Text = Properties.Settings.Default.defaultFee.ToString();
     //feeAmountText.Enabled = false;
     windowLogger = new WindowLogger();
     walletTabControl.SelectedIndex = 0;
     feeComboBox.SelectedIndex      = 0;
 }
Example #2
0
        public Wallet(string _wallet, string _pass, System.Diagnostics.Process wd)
        {
            InitializeComponent();
            runningDaemon = wd;
            Wallet.ColorListViewHeader(ref txList, Color.FromArgb(29, 29, 29), Color.FromArgb(187, 186, 185));
            WalletPath     = _wallet;
            WalletPassword = _pass;
            Properties.Settings.Default.walletPath = _wallet;
            Properties.Settings.Default.hasWallet  = true;
            Properties.Settings.Default.Save();
            //feeAmountText.Text = Properties.Settings.Default.defaultFee.ToString();
            //feeAmountText.Enabled = false;
            windowLogger = new WindowLogger();
            walletTabControl.SelectedIndex = 0;
            feeComboBox.SelectedIndex      = 0;

            label13.Text = String.Format("{0} BALANCE:", System.IO.Path.GetFileNameWithoutExtension(Properties.Settings.Default.walletPath));
        }