private void button1_Click(object sender, EventArgs e) { //Application.Run(new Mainform()); this.Hide(); Mainform fm = new Mainform(); fm.Show(); //fm.URL_app = Application.ExecutablePath; fm.URL_app = System.Environment.CurrentDirectory; fm.game_version = game_version; }