Esempio n. 1
0
 private void bt_회원등록_Click(object sender, EventArgs e)
 {
     // 회원등록 창 뛰우기
     var form = new Form회원등록();
     if(form.ShowDialog() == DialogResult.OK)
     {
         // 회원을 등록한다.
         var member = new Member
         {
             Name = form.MemberName,
             KakaoName = form.KaKaoName,
             Enable = Enable.Enable,
         };
         RegistMember(member);
     }
     
 }
Esempio n. 2
0
        private void bt_회원등록_Click(object sender, EventArgs e)
        {
            // 회원등록 창 뛰우기
            var form = new Form회원등록();

            if (form.ShowDialog() == DialogResult.OK)
            {
                // 회원을 등록한다.
                var member = new Member
                {
                    Name      = form.MemberName,
                    KakaoName = form.KaKaoName,
                    Enable    = Enable.Enable,
                };
                RegistMember(member);
            }
        }