private void nuovaConnessioneToolStripMenuItem_Click(object sender, EventArgs e) { if (_controller.ByPassMSAutantication || LoggedUser.CheckMembership("H24")) { AddConnection add = new AddConnection(); add.ShowDialog(); _controller.ReloadAll(); LoadList(); } }
private void editToolStripMenuItem_Click(object sender, EventArgs e) { if (!connected) { if (_controller.ByPassMSAutantication || LoggedUser.CheckMembership("H24")) { AddConnection cn = new AddConnection((int)treeClienti.SelectedNode.Tag); cn.ShowDialog(); _controller.ReloadAll(); LoadList(); } } else { MessageBox.Show("You Are Connected , Modification Not Alowed!"); } }