Example #1
0
        private void tileItem1_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            bool check = checkUser("Current_Money", "User_StockBank");

            if (check == true)
            {
                Frm_currentMoney frm = new Frm_currentMoney();
                frm.ShowDialog();
            }
        }
Example #2
0
        private void barButtonItem36_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            bool check = checkUser("Current_Money", "User_StockBank");

            if (check == true)
            {
                Frm_currentMoney frm = new Frm_currentMoney();
                frm.ShowDialog();
            }
        }