Exemplo n.º 1
0
        private void guna2Button1_Click(object sender, EventArgs e)
        {
            Main_Form main = new Main_Form();

            main.LabelText = guna2TextBox1.Text;

            main.Show();

            if (guna2CheckBox1.Checked == true)
            {
                Properties.Settings.Default.UserName = guna2TextBox1.Text;
                Properties.Settings.Default.Remember = true;
                Properties.Settings.Default.Save();
            }

            this.Hide();
        }