Beispiel #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     //registUser reg = new registUser();
     //reg.Show();
     Member member = new Member();
     member.Show();
 }
        private void button1_Click(object sender, EventArgs e)
        {
            if (nama.Text != null && tglDaftar.Text!=null && alamat.Text != null && kode_member.Text!=null && noKTP.Text!=null)
            {
                member = new List<string>();
                namaMember = nama.Text;
                tglDaftarMember = tglDaftar.Value;
                alamatMember = alamat.Text;
                kodeMember = kode_member.Text;
                noKTPMember = noKTP.Text;
                saveMember(kodeMember, namaMember, tglDaftarMember,noKTPMember,alamatMember);

            }
            Member memberform = new Member();
            memberform.Show();
            Close();
        }