Exemplo n.º 1
0
 private void nuovaConnessioneToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_controller.ByPassMSAutantication || LoggedUser.CheckMembership("H24"))
     {
         AddConnection add = new AddConnection();
         add.ShowDialog();
         _controller.ReloadAll();
         LoadList();
     }
 }
Exemplo n.º 2
0
 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!");
     }
 }