public MainForm() { InitializeComponent(); memDAO = new MembersDAO(); fmember = new FollowMemberDAO(); tagsDao = new TagsDAO(); followMemberDict = fmember.followMember; dict = tagsDao.dict; followMemberHashSet = fmember.followMemberHashSet; hashSet = tagsDao.hashSet; isLoggedIn = false; if (isLoggedIn == true) { tagLabel.Text = "Subscribed Tags"; userLabel.Text = "Users Followed"; btnCreatePost.Text = "Create Post"; btnUsername.Text = "" + member.Username; btnLogout.Text = "Logout"; } else { tagLabel.Text = "Popular Tags"; userLabel.Text = "Popular Members"; btnCreatePost.Text = "Login"; btnLogout.Text = "Create Account"; btnUsername.Hide(); } }
private void textBox1_TextChanged(object sender, EventArgs e) { MembersDAO member = new MembersDAO(); //member.SelectMember(); }
public LogIn() { InitializeComponent(); memberDAO = new MembersDAO(); }
public Register() { InitializeComponent(); dao = new MembersDAO(); image = null; }