private void pictureBox5_Click(object sender, EventArgs e) { this.Hide(); FormMenuUser menu = new FormMenuUser(); menu.Show(); }
private void buttonMenu_Click(object sender, EventArgs e) { FormMenuUser menu = new FormMenuUser(); menu.Show(); this.Hide(); }
private void pictureBox1_Click(object sender, EventArgs e) { if (textBoxNama.Text != "") { string halo = User.Halo(textBoxNama.Text); MessageBox.Show(halo); FormMenuUser menu = new FormMenuUser(); menu.Show(); this.Hide(); } else { MessageBox.Show("Masukkan nama Anda, supaya kita lebih akrab :)"); } }