Esempio n. 1
0
        /// <summary>
        /// 获取对应渠道的测试用例和demo,并打开
        /// </summary>
        private void listBoxChannel_DoubleClick(object sender, EventArgs e)
        {
            if (listBoxChannel.SelectedItem == null || configUrl.Equals(""))
            {
                return;
            }

            string iteam = listBoxChannel.SelectedItem.ToString();

            //MessageBox.Show("当前选中项为:" + iteam);
            DependentFiles.updateFiles(configUrl, "demo_自测用例/" + iteam + "/");  // 更新选中渠道文件
            DependentFiles.openChannelDir(channelDirs[iteam]);                  // 打开文件所在目录
        }
Esempio n. 2
0
 /// <summary>
 /// 应用程序,入口逻辑
 /// </summary>
 public static void call(string[] args = null)
 {
     DependentFiles.AutoUpdate();
     Application.Run(new MainForm());
 }