예제 #1
0
        private void pictureBox5_Click(object sender, EventArgs e)
        {
            this.Hide();
            FormMenuUser menu = new FormMenuUser();

            menu.Show();
        }
예제 #2
0
        private void buttonMenu_Click(object sender, EventArgs e)
        {
            FormMenuUser menu = new FormMenuUser();

            menu.Show();
            this.Hide();
        }
예제 #3
0
 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 :)");
     }
 }