Exemple #1
0
        static void Main()
        {
            DependentFiles.AutoUpdate();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
Exemple #2
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, "配置文件/" + iteam + "/");  // 更新选中渠道文件
            DependentFiles.openChannelDir(channelDirs[iteam]);             // 打开文件所在目录
        }