Esempio n. 1
0
 private static void ExitClearClipboard()
 {
     if (Globals.ExitClearClipboard == true)
     {
         EditClipboard.ClearClipboard();
     }
 }
Esempio n. 2
0
 private void CopyPassword(string password)
 {
     EditClipboard.SetClipboard(password);
     EditClipboard.AutoClearClipboard();
     SetPasswordTextbox(password);
     this.Close();
 }
Esempio n. 3
0
 private void TsmiCopyPassword_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(txtPassword.Text))
     {
         EditClipboard.SetClipboard(txtPassword.Text);
         EditClipboard.AutoClearClipboard();
     }
 }
Esempio n. 4
0
        public static void CopyTextbox(object sender)
        {
            Control sourceControl = GetSourceControl(sender);

            if (sourceControl != null && !string.IsNullOrEmpty(sourceControl.Text))
            {
                EditClipboard.SetClipboard(sourceControl.Text);
                EditClipboard.AutoClearClipboard();
            }
        }
Esempio n. 5
0
 private void TsmiClearClipboard_Click(object sender, EventArgs e)
 {
     EditClipboard.ClearClipboard();
 }
Esempio n. 6
0
 private void TmrClearClipboard_Tick(object sender, EventArgs e)
 {
     EditClipboard.ClearClipboard();
     tmrClearClipboard.Stop();
 }