Ejemplo n.º 1
0
        private void label17_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            ChoiceNumberForm choiceForm = new ChoiceNumberForm();

            choiceForm.StartPosition = FormStartPosition.CenterParent;
            choiceForm.ShowDialog();
            userNumber   = choiceForm.number;
            label17.Text = txtUserNumber + userNumber;
        }
Ejemplo n.º 2
0
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (comboBank.SelectedIndex == 3)
     {
         ChoiceNumberForm choiceForm = new ChoiceNumberForm();
         choiceForm.StartPosition = FormStartPosition.CenterParent;
         choiceForm.ShowDialog();
         userNumber   = choiceForm.number;
         label17.Text = txtUserNumber + userNumber;
     }
     else
     {
         label17.Text = "";
     }
 }