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"; } }
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"; } }