Exemple #1
0
        private void button7_Click(object sender, EventArgs e)  //点击0
        {
            string s = _form3.textBox4.Text;

            if (s != "0")
            {
                _form3.UpdateTextBox(_form3.textBox4, s + "0");
                s += "0";
                _form3.UpdateTextBox(_form3.textBox4, addKong(s.Replace(" ", "")));
            }
        }
Exemple #2
0
        private void processNumNot0(string m)
        {
            string s = _form3.textBox1.Text;

            if (s == "0")
            {
                _form3.UpdateTextBox(_form3.textBox1, m);
            }
            else
            {
                _form3.UpdateTextBox(_form3.textBox1, s + m);
                s += m;
                _form3.UpdateTextBox(_form3.textBox1, addDou(s.Replace(",", "")));
            }
        }
Exemple #3
0
        private void processNumNot0(string m)
        {
            string s = _form3.textBox3.Text;

            if (s == "0")
            {
                _form3.UpdateTextBox(_form3.textBox3, m);
            }
            else
            {
                _form3.UpdateTextBox(_form3.textBox3, s + m);
                s += m;
                _form3.UpdateTextBox(_form3.textBox3, addKong(s.Replace(" ", "")));
            }
        }