예제 #1
0
 public FaceLibControl(Face clientAll, Tts client2All)
 {
     InitializeComponent();
     client  = clientAll;
     client2 = client2All;
     form    = this;
 }
예제 #2
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;
        }