Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var lines = File.ReadAllLines("Rust/LumaEmu.ini");

            lines[1] = "PlayerName = " + comboBox1.Text;
            File.WriteAllLines("Rust/LumaEmu.ini", lines);


            Namechange set = this;

            set.Close();
        }
Exemplo n.º 2
0
        private void button8_Click(object sender, EventArgs e)
        {
            Namechange nwForm = new Namechange();

            nwForm.ShowDialog(this);
        }