/// <summary> /// Displays login dialog box and loads member list in treeview. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void loginToolStripMenuItem_Click(object sender, EventArgs e) { using (var form = new FormLogin()) { if (form.ShowDialog() == DialogResult.OK) { labelAnnouncement.Visible = false; _membersPresenter.Display(); Status = LoginStatus.LoggedIn; } } }