private void OpenDict(string mpath)
        {
            FileStream cfs = new FileStream(mpath, FileMode.Open, FileAccess.Read);
            BinaryReader cr = new BinaryReader(cfs, Encoding.GetEncoding("gb2312"));

            int PPP = 0;

            int Num_all = 0;

            //6768������
            for (int i = 0; i < 6768; i++)
            {

                string WordCN = GetWordCN(i);

                //�õ��˱����������
                byte[] m1 = cr.ReadBytes(4);
                PPP = PPP + 4;

                int G_1 = GetIntIt(m1);
                ArrayList newOneIt = new ArrayList(G_1);

                if (G_1 == 0)
                {
                    goto NEWXXXX;
                }

                for (int ii = 0; ii < G_1; ii++)
                {
                    //Ƶ��
                    byte[] m2 = cr.ReadBytes(4);
                    int G_2 = GetIntIt(m2);

                    PPP = PPP + 4;

                    //�ʳ�
                    byte[] m3 = cr.ReadBytes(4);
                    int G_3 = GetIntIt(m3);

                    PPP = PPP + 4;

                    //����
                    byte[] m4 = cr.ReadBytes(4);
                    int G_4 = GetIntIt(m4);

                    PPP = PPP + 4;

                    byte[] mWord = cr.ReadBytes(G_3);

                    string G_STR = GetStrIt(mWord);

                    PPP = PPP + G_3;

                    oneXNU newOneXNU = new oneXNU();
                    newOneXNU.a_CC = G_3;
                    newOneXNU.a_CX = G_4;
                    newOneXNU.a_PL = G_2;
                    newOneXNU.a_Word = G_STR;

                    // ii
                    newOneIt.Add(newOneXNU);
                    Num_all = Num_all + 1;
                }

            NEWXXXX: ;

                nDict.Add(newOneIt);

            }

            cr.Close();
            ItList();

            toolStripStatusLabel1.Text = "�������ش��� > " + Num_all.ToString();
        }
        private void button2_Click(object sender, EventArgs e)
        {
            if (textBox_word.Text.Length < 2)
            {
                MessageBox.Show("�������!");
                return;
            }

            //Ƶ��
            int PL = Int32.Parse(textBox_PL.Text);

            //����
            int CX = Int32.Parse(textBox_CX.Text);

            //��
            string nne = textBox_word.Text;

            string aF = nne.Substring(0, 1);
            string aB = nne.Substring(1, nne.Length - 1);

            //�ʳ�
            Encoding gb = Encoding.GetEncoding("gb2312");

            byte[] xx = gb.GetBytes(aB);

            oneXNU one = new oneXNU();

            one.a_CC = xx.Length;
            one.a_PL = PL;
            one.a_CX = CX;
            one.a_Word = aB;

            //���� aF �õ����

            int oneX = GetWordNum(aF);

            string nWord = GetWordCN(oneX);

            ArrayList tmp = (ArrayList)nDict[oneX];

            if (tmp.Contains(one) == false)
            {

                tmp.Add(one);

                nDict[oneX] = tmp;
            }

            comboBox1.Text = "";
            comboBox1.SelectedIndex = 0;
            comboBox1.SelectedIndex = 1;
            comboBox1.Text = aF;
        }
        private void button3_Click(object sender, EventArgs e)
        {
            if (textBox1.Text.Length < 6)
            {

                return;
            }

            string[] newIu = textBox1.Text.Split('\t');

            string FR = newIu[0];
            string PL = newIu[1];
            string CC = newIu[2];
            string CX = newIu[3];
            string Word = newIu[4];

            oneXNU io = new oneXNU();

            io.a_CC = Int32.Parse(CC);
            io.a_CX = Int32.Parse(CX);
            io.a_PL = Int32.Parse(PL);
            io.a_Word = Word;

            int xNum = GetWordNum(FR);

            ArrayList nn_T = (ArrayList)nDict[xNum];

            if (nn_T.Contains(io) == true)
            {

                nn_T.Remove(io);

                nDict[xNum] = nn_T;

                comboBox1.Text = "";
                comboBox1.SelectedIndex = 0;
                comboBox1.SelectedIndex = 1;
                comboBox1.Text = FR;

            }
            else
            {
                MessageBox.Show("������!");

            }
        }