Ejemplo n.º 1
0
        private void label2_Click(object sender, EventArgs e)
        {
            if (TeanslateApi.Equals("必应Bing"))
            {
                return;
            }
            ChooseBox chooseBox = new ChooseBox(this, true, TDictionary.langDic[TeanslateApi], 97, 12, true);

            chooseBox.Location = new Point(Left + label2.Left, Top + label2.Top + label2.Height + 2);
            chooseBox.Show();
        }
Ejemplo n.º 2
0
        private void label4_Click(object sender, EventArgs e)
        {
            if (TeanslateApi.Equals("必应Bing"))
            {
                return;
            }
            Dictionary <string, string> d = TDictionary.langDic[TeanslateApi];

            if (d.ContainsKey("自动检测"))
            {
                d.Remove("自动检测");
            }
            ChooseBox chooseBox = new ChooseBox(this, false, d, 97, 12, true);

            chooseBox.Location = new Point(Left + label4.Left, Top + label4.Top + label4.Height + 2);
            chooseBox.Show();
        }