Beispiel #1
0
        public AmountEntryForm(AmountDialogType dialogType)
        {
            InitializeComponent();

            if (dialogType == AmountDialogType.Deposit)
            {
                promptLabel.Text = String.Format(promptString, "deposit");
                this.Text = "Deposit";
            }
            else if (dialogType == AmountDialogType.Withdraw)
            {
                promptLabel.Text = String.Format(promptString, "withdraw");
                this.Text = "Withdraw";
            }
        }
Beispiel #2
0
        public AmountEntryForm(AmountDialogType dialogType)
        {
            InitializeComponent();

            if (dialogType == AmountDialogType.Deposit)
            {
                promptLabel.Text = String.Format(promptString, "deposit");
                this.Text        = "Deposit";
            }
            else if (dialogType == AmountDialogType.Withdraw)
            {
                promptLabel.Text = String.Format(promptString, "withdraw");
                this.Text        = "Withdraw";
            }
        }