示例#1
0
 private void Go_Click(object sender, EventArgs e)
 {
     if (member.Checked)
     {
         Member_credentials m = new Member_credentials(this);
         m.Show();
         this.Hide();
     }
     else if (admin.Checked)
     {
         Admin_credentials a = new Admin_credentials(this);
         a.Show();
         this.Hide();
     }
 }
 public Member_login(Home h, Member_credentials m)
 {
     home   = h;
     member = m;
     InitializeComponent();
 }