Exemple #1
0
        public static List <string> signList = new List <string>();//创建了一个空签到列表
        public Form1()
        {
            InitializeComponent();

            client2         = new Tts(API_KEY2, SECRET_KEY2);
            client2.Timeout = 60000; // 修改超时时间
            client          = new Face(API_KEY, SECRET_KEY);
            client.Timeout  = 60000; // 修改超时时间

            signControl    = new SignControl(client, client2);
            faceLibControl = new FaceLibControl(client, client2);
            signControl.Show();
            groupBox1.Controls.Clear();
            groupBox1.Controls.Add(signControl);

            form = this;
        }
Exemple #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     signControl.Show();
     groupBox1.Controls.Clear();
     groupBox1.Controls.Add(signControl);
 }