Exemplo n.º 1
0
        private void frmACCReturBrowse_Load(object sender, EventArgs e)
        {
            rdbTglMPR.FromDate = GlobalVar.DateOfServer;
            rdbTglMPR.ToDate   = GlobalVar.DateOfServer;


            bool isAccRetur = LookupInfoValue.CekAccRetur(SecurityManager.UserID);

            cmdYes.Visible = isAccRetur;

            cmdSearch_Click(sender, e);
        }
Exemplo n.º 2
0
        private void dataGridDO_KeyDown(object sender, KeyEventArgs e)
        {
            bool isAccRetur = LookupInfoValue.CekAccRetur(SecurityManager.UserID);

            if (isAccRetur == true)
            {
                switch (e.KeyCode)
                {
                case Keys.Space:
                    cmdYes_Click(sender, e);
                    break;
                }
            }
        }