Beispiel #1
0
        private void DisplayPrivacyShields()
        {
            foreach (Screen curScreen in Screen.AllScreens)
            {
                Program.Logger.WriteLine(Debugging.BasicTextLogger.MessageType.info, "Display a privacy shield for the device '{0}'.", curScreen.DeviceName);

                frmPrivacyShield pFrmPrivacyShield = new frmPrivacyShield();
                pFrmPrivacyShield.Location = curScreen.Bounds.Location;
                pFrmPrivacyShield.Size     = curScreen.Bounds.Size;
                pFrmPrivacyShield.Show();
            }
        }
Beispiel #2
0
        private void DisplayPrivacyShields()
        {
            foreach (Screen curScreen in Screen.AllScreens)
            {
                Program.Logger.WriteLine(Debugging.BasicTextLogger.MessageType.info, "Display a privacy shield for the device '{0}'.", curScreen.DeviceName);

                frmPrivacyShield pFrmPrivacyShield = new frmPrivacyShield();
                pFrmPrivacyShield.Location = curScreen.Bounds.Location;
                pFrmPrivacyShield.Size = curScreen.Bounds.Size;
                pFrmPrivacyShield.Show();
            }
        }