Esempio n. 1
0
        private void metroTile1_Click(object sender, EventArgs e)
        {
            CashBook obj2 = new CashBook();

            this.Close();
            AddReciept obj = new AddReciept(obj2);

            obj.Show();
        }
Esempio n. 2
0
 private void metroButton1_Click(object sender, EventArgs e)
 {
     if (userRolesObj.getCheckstate("AddEditReciept") == true)
     {
         AddReciept addRecObj = new AddReciept(this);
         addRecObj.Show();
     }
     else
     {
         MessageBox.Show("you don't have permission to enter here, Contact admin For further Details");
         return;
     }
 }