Exemple #1
0
        private void cmdCameraSetup_Click(object sender, EventArgs e)
        {
            if (SqlDb.IsAllow(cmdCameraSetup.Tag.ToString(), AppVariable.CURRENT_USER_LEVEL_ID.ToString(), "IsView") == true)
            {
                AppVariable.CURRENT_SUB_MENU = cmdCameraSetup.Tag.ToString();

                frmCameraSetup CamersSetupForm = new frmCameraSetup();

                CamersSetupForm.ShowDialog();
                //CamersSetupForm.TopMost = true;

                sysLogs.logsDetail(int.Parse(AppVariable.CURRENT_SUB_MENU), "Viewing");
            }
            else
            {
                MessageBox.Show("Sorry, Administrator is not allow this action?", "MediPro :: Clinic System", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }
Exemple #2
0
        private void cmdCameraSetup_Click(object sender, EventArgs e)
        {
            if (SqlDb.IsAllow(cmdCameraSetup.Tag.ToString(), AppVariable.CURRENT_USER_LEVEL_ID.ToString(), "IsView") == true)
            {
                AppVariable.CURRENT_SUB_MENU = cmdCameraSetup.Tag.ToString();

                frmCameraSetup CamersSetupForm = new frmCameraSetup();

                CamersSetupForm.ShowDialog();
                //CamersSetupForm.TopMost = true;

                sysLogs.logsDetail(int.Parse(AppVariable.CURRENT_SUB_MENU), "Viewing");
            }
            else
            {
                MessageBox.Show("Sorry, Administrator is not allow this action?", "MediPro :: Clinic System", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }