1. 乘法表
   int sum = 0;
        for (int i = 1; i <= 9; i++)
        {
            for (int j = 1; j <= i; j++)
            {
                sum = i * j;
                if (j==2)
                {
                    if (sum == 6)
                    {
                        Label1.Text += j.ToString() + "x" + i.ToString() + "=" + sum.ToString() + " ";
                    }
                    else if (sum == 8)
                    {
                        Label1.Text += j.ToString() + "x" + i.ToString() + "=" + sum.ToString() + " ";
                    }
                }
                else
                {
                    Label1.Text += j.ToString() + "x" + i.ToString() + "=" + sum.ToString() + "  ";
                }
            }
            Label1.Text += "</br>";
        }
 
        Label1.Text = "";
        int sum;
        string  s1;
        string  s2;
        string[] chengfa={"十","一","二","三","四","五","六","七","八","九"};
        for (int i = 1; i <= 9; i++)
        {
            for (int j = 1; j <= i; j++)
            {
                sum = i * j;
                if (sum < 10)
                {
                    if (j == 2)
                    {
                        Label1.Text += chengfa[i] + chengfa[j] + "得" + chengfa[sum] + "   ";
                    }
                    else
                    {
                        Label1.Text += chengfa[i] + chengfa[j] + "得" + chengfa[sum] + "  ";
                    }
                }
                else
                {
                    if (sum % 10 == 0)
                    {
                        s1 = sum.ToString().Substring(0, 1);
                        s2 = sum.ToString().Substring(1, 1);
                        Label1.Text += chengfa[i] + chengfa[j] + chengfa[Convert.ToInt32(s1)] + chengfa[Convert.ToInt32(s2)] + "   ";
                    }
                    else
                    {
                        s1 = sum.ToString().Substring(0, 1);
                        s2 = sum.ToString().Substring(1, 1);
                        Label1.Text += chengfa[i] + chengfa[j] + chengfa[Convert.ToInt32(s1)] + "十" + chengfa[Convert.ToInt32(s2)] + "  ";
                    }
                }
            }
            Label1.Text += "</br>";
        }