예제 #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            if (TextCounttoken.Text == "0.00" || TextCounttoken.Text == "" || TextCounttoken.Text.Contains("-") || TextCounttoken.Text.Contains("!"))
            {
                MessageBox.Show("Error!");
                return;
            }
            string result = TextCounttoken.Text.ToString().Replace('.', ',');

            UserCreator.Trade("kil", CryptoText.Text, CryptoText2.Text, float.Parse(result));
        }
예제 #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     UserCreator.Trade("kil", CryptoText.Text, CryptoText2.Text, float.Parse(TextCounttoken.Text));
 }