Ejemplo n.º 1
0
 private void metroTile1_Click(object sender, EventArgs e)
 {
     if (userRolesObj.getCheckstate("AddEditParty") == true)
     {
         Forms.AddCus ac = new Forms.AddCus(this);
         ac.ShowDialog();
     }
     else
     {
         MessageBox.Show("you don't have permission to enter here, Contact admin For further Details");
         return;
     }
 }
Ejemplo n.º 2
0
 private void metroTile1_Click(object sender, EventArgs e)
 {
     Forms.AddCus ac = new Forms.AddCus(this);
     ac.ShowDialog();
 }