Exemple #1
0
        public frmClipboardSharp()
        {
            InitializeComponent();
            dt = new ClipboardDetect(icoSysTray);

            if (dt.getDisplay())
            {
                mnuClipSharp.Items[4].Text = "Disable Clip Notifications";
            }
            else
            {
                mnuClipSharp.Items[4].Text = "Enable Clip Notifications";
            }
        }
Exemple #2
0
 private void disableClipNotificationsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dt.getDisplay())
     {
         Properties.Settings.Default["displayClipSaved"] = false;
         dt.resetClipStatus();
         mnuClipSharp.Items[4].Text = "Enable Clip Notifications";
     }
     else
     {
         Properties.Settings.Default["displayClipSaved"] = true;
         dt.resetClipStatus();
         mnuClipSharp.Items[4].Text = "Disable Clip Notifications";
     }
 }