Ejemplo n.º 1
0
        private void stepnext2_Click(object sender, EventArgs e)
        {
            step2.Visible     = false;
            stepimg2.Visible  = false;
            stepimg22.Visible = false;
            steptext2.Visible = false;
            stepnext2.Visible = false;
            //完成教程
            string     Path     = AppDomain.CurrentDomain.BaseDirectory;
            string     filename = Path + "Confion" + @"\" + "newuser.use";
            FileStream fs       = File.Create(filename); //创建文件

            fs.Close();
            StreamWriter sw = new StreamWriter(filename);  //创建写入流

            sw.Write("感谢使用Menglolita Host更新工具" + "{" + "已完成教程" + "}");
            sw.Flush();
            sw.Close();
            //显示更新窗体
            Form uphosts = new uphosts();

            uphosts.Show();
        }
Ejemplo n.º 2
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            Form uphosts = new uphosts();

            uphosts.Show();
        }