private void MenuSetStartAdd_Click(object sender, RoutedEventArgs e)
 {
     SetStartAdd mySetStartAdd = new SetStartAdd();
     bool? b = mySetStartAdd.ShowDialog();
     if (b == true)
     {
         PCStartValue = (ushort)Int32.Parse(mySetStartAdd.newPC.Text, NumberStyles.HexNumber);
         tbPC.Text = PCStartValue.ToString("X4");
     }
 }
Ejemplo n.º 2
0
        private void MenuSetStartAdd_Click(object sender, RoutedEventArgs e)
        {
            SetStartAdd mySetStartAdd = new SetStartAdd();
            bool?       b             = mySetStartAdd.ShowDialog();

            if (b == true)
            {
                PCStartValue = (ushort)Int32.Parse(mySetStartAdd.newPC.Text, NumberStyles.HexNumber);
                tbPC.Text    = PCStartValue.ToString("X4");
            }
        }